Author: locilka Date: Wed Mar 10 16:42:02 2010 New Revision: 61238 URL: http://svn.opensuse.org/viewcvs/yast?rev=61238&view=rev Log: - Added special comments for translators to RTL languages (BNC #584466). Modified: trunk/yast2/library/modules/Message.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/modules/Message.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/modules/Message.ycp?rev=61238&r1=61237&r2=61238&view=diff ============================================================================== --- trunk/yast2/library/modules/Message.ycp (original) +++ trunk/yast2/library/modules/Message.ycp Wed Mar 10 16:42:02 2010 @@ -62,7 +62,11 @@ * @return string Cannot write settings to 'destination' */ global define string CannotWriteSettingsTo (string destination) { - /* TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP" */ + /* TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP" + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Cannot write settings to '%1'"), destination); } @@ -73,7 +77,11 @@ * @return string Cannot write settings to 'destination'\n\nReason: reason */ global define string CannotWriteSettingsToBecause (string destination, string reason) { - /* TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP", %2 is the reason of error */ + /* TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP", %2 is the reason of error + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Cannot write settings to '%1'. Reason: %2"), destination, reason); @@ -85,7 +93,11 @@ * @return string Error writing file 'file' */ global define string ErrorWritingFile (string file) { - /* TRANSLATORS: Popup message, %1 is a file name like "/tmp/out" */ + /* TRANSLATORS: Popup message, %1 is a file name like "/tmp/out" + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Error writing file '%1'"), file); } @@ -96,7 +108,11 @@ * @return string Error writing file 'file'\n\nReason: reason */ global define string ErrorWritingFileBecause (string file, string reason) { - /* TRANSLATORS: Popup message, %1 is a file name like "/tmp/out", %2 is the reason of error */ + /* TRANSLATORS: Popup message, %1 is a file name like "/tmp/out", %2 is the reason of error + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Error writing file '%1'. Reason: %2"), file, reason); @@ -108,7 +124,11 @@ * @return string Cannot open file 'file' */ global define string CannotOpenFile (string file) { - /* TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in" */ + /* TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in" + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Cannot open file '%1'"), file); } @@ -119,7 +139,11 @@ * @return string Cannot open file 'file'\n\nReason: reason */ global define string CannotOpenFileBecause (string file, string reason) { - /* TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in", %2 is the reason of error */ + /* TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in", %2 is the reason of error + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English filename + * (see BNC #584466 for details) + */ return sformat(_("Cannot open file '%1'. Reason: %2"), file, reason); @@ -169,7 +193,11 @@ * @return string The directory '%1' does not exist.\nCreate it? */ global define string DirectoryDoesNotExistCreate (string directory) { - /* TRANSLATORS: Popup question */ + /* TRANSLATORS: Popup question + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English directory + * (see BNC #584466 for details) + */ return sformat(_("The directory '%1' does not exist. Create it?"), directory); } @@ -220,7 +248,11 @@ * @return string Unable to create directory '%1'. */ global define string UnableToCreateDirectory (string directory) { - /* TRANSLATORS: Popup message, %1 is a directory name */ + /* TRANSLATORS: Popup message, %1 is a directory name + * For Right-To-Left languages, you want to put %1 into its own empty line so + * the text renderer doesn't get trip with the English directory + * (see BNC #584466 for details) + */ return sformat(_("Cannot create directory '%1'."), directory); } Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=61238&r1=61237&r2=61238&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Wed Mar 10 16:42:02 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Mar 10 16:32:25 CET 2010 - locilka@suse.cz + +- Added special comments for translators to RTL languages + (BNC #584466). + +------------------------------------------------------------------- Wed Mar 10 15:43:17 CET 2010 - mvidner@suse.cz - Mode::test(): check getenv instead of the UI -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org