diff libgui/src/settings-dialog.cc @ 18251:0b5f669f5b03 stable

fix some translation issues (bug #41159) * main-window.cc (news_reader::process): only use constant strings in tr () * libgui/languages/*.ts: update language files accordingly * settings-dialog.cc (read_lexer_settings): added context comments in tr () for the use of b, i and u in the editor styles * files-dock-widget.cc (process_new_dir): added a context comment for newline
author Torsten <ttl@justmail.de>
date Thu, 09 Jan 2014 21:48:34 +0100
parents d62570cfbab9
children 545a77c3206e
line wrap: on
line diff
--- a/libgui/src/settings-dialog.cc	Wed Jan 08 21:50:45 2014 +0100
+++ b/libgui/src/settings-dialog.cc	Thu Jan 09 21:48:34 2014 +0100
@@ -329,9 +329,9 @@
           bg_color[i]->setToolTip
           (tr ("Background color, pink (255,0,255) means default"));
         }
-      attrib_font[0+3*i] = new QCheckBox (tr ("b"));
-      attrib_font[1+3*i] = new QCheckBox (tr ("i"));
-      attrib_font[2+3*i] = new QCheckBox (tr ("u"));
+      attrib_font[0+3*i] = new QCheckBox (tr ("b", "short form for bold"));
+      attrib_font[1+3*i] = new QCheckBox (tr ("i", "short form for italic"));
+      attrib_font[2+3*i] = new QCheckBox (tr ("u", "short form for underlined"));
       attrib_font[0+3*i]->setChecked (Qt::Checked && actual_font.bold ());
       attrib_font[0+3*i]->setObjectName (actual_name+"_bold");
       attrib_font[1+3*i]->setChecked (Qt::Checked && actual_font.italic ());