octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64982] Translation file (*.ts) for Octave 9.1


From: Rik
Subject: [Octave-bug-tracker] [bug #64982] Translation file (*.ts) for Octave 9.1 Release
Date: Thu, 7 Dec 2023 18:35:54 -0500 (EST)

Follow-up Comment #17, bug#64982 (group octave):

Steps to Reproduce:

1) run-octave --gui
2) Edit->Preferences
  a) General Tab, Change Language to "fr_FR"
3) exit Octave
4) run-octave --gui

Observe that main menu bar is still in English with first item being "File"
instead of "Fichier".  Click on Edit->Preferences.  Observe that General tab
of Preferences is in French.

5) Apply following patch which adds namespace to the main_window entry in the
fr_FR.ts file.  Patch is attached for download as well.


diff --git a/libgui/languages/fr_FR.ts b/libgui/languages/fr_FR.ts
--- a/libgui/languages/fr_FR.ts
+++ b/libgui/languages/fr_FR.ts
@@ -2067,7 +2067,7 @@ Cliquez "Suivant" pour créer un fichier de
configuration et lancer Octave.</p>
     </message>
 </context>
 <context>
-    <name>main_window</name>
+    <name>octave::main_window</name>
     <message>
         <location filename="../src/main-window.cc" line="+155"/>
         <source>Profiler</source>


6) make all
7) run-octave --gui

Observe that menu bar is now in French as well as most menu entries.



(file #55420)

    _______________________________________________________

Additional Item Attachment:

File name: working_fr_FR.diff             Size:0 KB
    <https://file.savannah.gnu.org/file/working_fr_FR.diff?file_id=55420>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-718086e0b48906c722b2ad391a11da3f5f0004db.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64982>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]