Adding a variable to some PHP code with gettext

Use sprintf():

// Translators: %s: author's current year.
esc_html( sprintf( __('Rates %s in €/ week:','mysite-plugin'), $current_year ) );

This is a common pattern that can be found in WordPress core. The Translators: comment is also essential to provide translators with context to translate the passage and understand what the placeholder %s will contain.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)