po: Change translatability of a fallback string.

* agent/call-pinentry.c (setup_genpin): Do not make the fallback
translatable.
This commit is contained in:
Werner Koch 2021-02-18 14:43:25 +01:00
parent 311f477b18
commit 0be4861762
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 4 additions and 4 deletions

View File

@ -965,7 +965,7 @@ setup_genpin (ctrl_t ctrl)
non-translated string. */ non-translated string. */
tooltip = L_("pinentry.genpin.tooltip"); tooltip = L_("pinentry.genpin.tooltip");
if (!strcmp ("pinentry.genpin.tooltip", tooltip)) if (!strcmp ("pinentry.genpin.tooltip", tooltip))
tooltip = L_("Suggest a random passphrase."); tooltip = "Suggest a random passphrase.";
} }
tmpstr = try_percent_escape (tooltip, "\t\r\n\f\v"); tmpstr = try_percent_escape (tooltip, "\t\r\n\f\v");
xfree (tmpstr2); xfree (tmpstr2);
@ -1018,9 +1018,9 @@ setup_qualitybar (ctrl_t ctrl)
will be used. */ will be used. */
tooltip = L_("pinentry.qualitybar.tooltip"); tooltip = L_("pinentry.qualitybar.tooltip");
if (!strcmp ("pinentry.qualitybar.tooltip", tooltip)) if (!strcmp ("pinentry.qualitybar.tooltip", tooltip))
tooltip = L_("The quality of the text entered above.\n" tooltip = ("The quality of the text entered above.\n"
"Please ask your administrator for " "Please ask your administrator for "
"details about the criteria."); "details about the criteria.");
} }
tmpstr = try_percent_escape (tooltip, "\t\r\n\f\v"); tmpstr = try_percent_escape (tooltip, "\t\r\n\f\v");
xfree (tmpstr2); xfree (tmpstr2);