From: Tomas Chvatal Date: Sun, 24 Mar 2013 16:50:20 +0000 (+0100) Subject: Allow translation of notices in prefs. X-Git-Tag: 1.7.6~321 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9a73994c5eaf14c62b007d19f5cbc06e8eb551b2;p=tt-rss.git Allow translation of notices in prefs. --- diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 4fb8650a..a5a699a6 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -233,7 +233,7 @@ class Pref_Prefs extends Handler_Protected { "; if ($otp_enabled) { - print_notice("Changing your current password will disable OTP."); + print_notice(__("Changing your current password will disable OTP.")); } print ""; @@ -266,7 +266,7 @@ class Pref_Prefs extends Handler_Protected { if ($otp_enabled) { - print_notice("One time passwords are currently enabled. Enter your current password below to disable."); + print_notice(__("One time passwords are currently enabled. Enter your current password below to disable.")); print ""; @@ -401,7 +401,7 @@ class Pref_Prefs extends Handler_Protected { print '
'; if ($_SESSION["profile"]) { - print_notice("Some preferences are only available in default profile."); + print_notice(__("Some preferences are only available in default profile.")); } if ($_SESSION["profile"]) { @@ -626,7 +626,7 @@ class Pref_Prefs extends Handler_Protected { print "

".__("Plugins")."

"; - print_notice("You will need to reload Tiny Tiny RSS for plugin changes to take effect."); + print_notice(__("You will need to reload Tiny Tiny RSS for plugin changes to take effect.")); print "";