[Bug 268608] New: sax2 gui doesn't default to RTL layout for RTL languages
https://bugzilla.novell.com/show_bug.cgi?id=268608 Summary: sax2 gui doesn't default to RTL layout for RTL languages Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: SaX2 AssignedTo: ms@novell.com ReportedBy: dmueller@novell.com QAContact: qa@suse.de CC: mfabian@novell.com hi, sax2 gui doesn't default to RTL layout when its used in such a locale. the trick would be to add a special translation string so that the translator can change the default to RTL. Also, is a Qt4 port planned for Sax2 ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=268608 ------- Comment #1 from mfabian@novell.com 2007-04-26 09:08 MST ------- Dirk explained the trick with the special translation in comment #43 of bug #267455: Dirk> instead of hardcoding the list of languages that have RTL layout like done in Dirk> YaST2: Dirk> Dirk> // Force reverse layout for Arabic and Hebrew Dirk> if ( ( language.startsWith( "ar" ) || // Arabic Dirk> language.startsWith( "he" ) ) // Hebrew Dirk> && ! reverseLayout() ) Dirk> Dirk> it would be better to let the translator do that, similar to Dirk> Dirk> if (i18n("Dear Translator, translate this string as 'RTL' if your" Dirk> "language is right-to-left") == "RTL") Dirk> qApp->setReverseLayout( true ); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=268608 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sax2 gui doesn't default to |sax2: gui doesn't default to RTL layout for RTL |RTL layout for RTL languages|languages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=268608 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from ms@novell.com 2007-05-03 06:49 MST ------- fixed. I have included the following key: #. Dear Translator, translate this string as 'RTL' if your language is right-to-left msgid "I18N" msgstr "" if I18N equals RTL I will set the reverse layout. I hope that the translators will not set RTL for non right-to-left languages ;) Qt4 port is not planned for sax2 right now. I'm busy with other tasks and don't see a reason why it should be important. If there are reasons please tell me. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com