bugGNU Octave - Bugs: bug #41200, GUI: some text strings lack...

 
 

bug #41200: GUI: some text strings lack internationalization

Submitter:  Felipe G. Nievinski <fgnievinski>
Submitted:  Fri 10 Jan 2014 08:58:50 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  ttl
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Jan 2014 10:25:08 PM UTC, comment #5: 
Torsten Lilge <ttl>
Group Member
Mon 13 Jan 2014 01:38:13 AM UTC, comment #4: 

Changes 18251 has been merged from stable onto the GUI release.  I think it is fine to make the 4 changes in this bug report on the gui-release branch.

Rik <rik5>
Group administrator
Fri 10 Jan 2014 09:27:20 PM UTC, comment #3: 

I suggest that text changes without need of the translators go into the stable branch, changes that need action by the translators go into the gui-release branch.

As soon as the recent changes of the language files in the stable branch (cset http://hg.savannah.gnu.org/hgweb/octave/rev/0b5f669f5b03) are merged into the gui-release branch, the missing tr () are fixed. I guess the language files may be difficult to merge when changed in both branches.


Torsten Lilge <ttl>
Group Member
Fri 10 Jan 2014 09:07:07 PM UTC, comment #2: 

I recently searched the sources for them, here as a reminder:

"Find and Replace" (only one of its instances) : find-dialog title
"%d matches" : find-files-dialog
"New File.txt" : files-dock-widget
"New Directory" : files-dock-widget

Torsten Lilge <ttl>
Group Member
Fri 10 Jan 2014 08:59:36 PM UTC, comment #1: 

as for "%1 matches", maybe this line:

QString res_str = QString ("%1 matches").arg (m->rowCount ());

can be internationalized as follows:

QString res_str = QString (tr ("%n matches", 0, m->rowCount ()));

as per <http://qt-project.org/doc/qt-4.8/i18n-source-translation.html#handling-plurals>

Felipe G. Nievinski <fgnievinski>
Fri 10 Jan 2014 08:58:50 PM UTC, original submission:  

"Find and Replace" (only one of its instances)
"%d matches"
"New File.txt"
"New Directory"

if these can't be found by a quick search I can dig their occurrences in the source code


splitting up #41159

Felipe G. Nievinski <fgnievinski>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by fgnievinski (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-14 ttl StatusNone Fixed
        Open/ClosedOpen Closed
    2014-01-10 ttl Assigned toNone ttl

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code