From: Ricardo Mones Date: Thu, 6 Oct 2016 10:23:54 +0000 (+0200) Subject: Do not concatenate translatable strings X-Git-Tag: 1.0.1~23 X-Git-Url: http://git.claws-mail.org/?p=clawsker.git;a=commitdiff_plain;h=9fd20b2e02c0a76e93cf9ec94b28f7ccf23b4630 Do not concatenate translatable strings May work in English, but not in other languages. --- diff --git a/clawsker b/clawsker index 8c5213b..a32486a 100755 --- a/clawsker +++ b/clawsker @@ -226,10 +226,6 @@ sub _ { l_plu_prl_manual => _('Manual'), l_plu_prl_action => _('Actions'), l_plu_prl_match => _('Matches'), - - e_error => _('Error: '), - e_noclawsrc => _('resource file for Claws Mail was not found.'), - e_running => _('seems Claws Mail is currently running, close it first.'), ); # data and metadata of resource files @@ -412,7 +408,7 @@ sub error_dialog { } sub claws_is_running { - my $emsg = "$xl::s{e_error}$xl::s{e_running}"; + my $emsg = _('Error: seems Claws Mail is currently running, close it first.'); log_message ($emsg); error_dialog ($emsg); return FALSE; @@ -435,7 +431,7 @@ sub check_claws_not_running { sub check_rc_file { my ($rcfile) = @_; (defined($rcfile) && -f $rcfile) or do { - my $emsg = "$xl::s{e_error}$xl::s{e_noclawsrc}\n"; + my $emsg = _('Error: resource file for Claws Mail was not found.'); log_message ($emsg); error_dialog ($emsg); return FALSE;