[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55772] Untranslated text in GUI
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #55772] Untranslated text in GUI |
Date: |
Mon, 25 Feb 2019 01:07:11 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #6, bug #55772 (project octave):
The first case in the variable editor is probably because the tr() macro which
marks strings for translation requires static strings rather than a variable
piece of code. I made this change.
diff -r bb3a441addb0 -r 1ff470c9e9c2 libgui/src/variable-editor.cc
--- a/libgui/src/variable-editor.cc Sun Feb 24 21:22:49 2019 +0100
+++ b/libgui/src/variable-editor.cc Sun Feb 24 22:02:04 2019 -0800
@@ -668,7 +668,7 @@ namespace octave
}
QString column_string
- = tr (column_selection_count > 1 ? " columns" : " column");
+ = column_selection_count > 1 ? tr (" columns") : tr (" column");
QMenu *menu = new QMenu (this);
@@ -715,7 +715,7 @@ namespace octave
rowselection_count = 1;
}
- QString row_string = tr (rowselection_count > 1 ? " rows" : " row");
+ QString row_string = rowselection_count > 1 ? tr (" rows") : tr ("
row");
QMenu *menu = new QMenu (this);
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55772>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Philip Nienhuis, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Torsten, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Philip Nienhuis, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Philip Nienhuis, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Torsten, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Philip Nienhuis, 2019/02/24
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI,
Rik <=
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Torsten, 2019/02/25
- [Octave-bug-tracker] [bug #55772] Untranslated text in GUI, Mike Miller, 2019/02/25