Skip to content

Commit

Permalink
Squash nls files on top of the rest of the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 3, 2015
1 parent a0a8772 commit 7384dac
Show file tree
Hide file tree
Showing 12 changed files with 48,809 additions and 0 deletions.
5,453 changes: 5,453 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_de.ts

Large diffs are not rendered by default.

5,143 changes: 5,143 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_es.ts

Large diffs are not rendered by default.

5,568 changes: 5,568 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_fr.ts

Large diffs are not rendered by default.

5,494 changes: 5,494 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_it.ts

Large diffs are not rendered by default.

5,613 changes: 5,613 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_ja.ts

Large diffs are not rendered by default.

5,205 changes: 5,205 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_ro.ts

Large diffs are not rendered by default.

5,306 changes: 5,306 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_ru.ts

Large diffs are not rendered by default.

5,641 changes: 5,641 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_sv.ts

Large diffs are not rendered by default.

5,359 changes: 5,359 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/OMEdit_zh_CN.ts

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions OMEdit/OMEditGUI/Resources/nls/README.txt
@@ -0,0 +1,25 @@
/*
* RCS: $Id: README.txt 16345 2013-06-13 13:58:39Z adeas31 $
*/

Creating and maintaining a new Translation File .ts
---------------------------------------------------

- Open OMEditGUI.pro and add a new language entry in TRANSLATIONS variable.
- The format for the language entry is <OMEdit_<language_code>.ts>. For correct <language_code> see http://www.loc.gov/standards/iso639-2/php/code_list.php.
- To generate and update translation files (Note :: This command updates all the new translation strings. Do not try to create the ts-file manually.)
Linux :: Run "lupdate -noobsolete ../../OMEditGUI.pro"
Windows :: Open "Qt Command Prompt" or add "lupdate" in "PATH". Run tsupdate.bat, it will generate all the translation files.
- Open your generated file with Qt Linguist for writing translations
- Mark finished translations (green checkbox)
- Do not try to edit the ts-files manually. You will forget things.

Creating a .qm file
-----------------------------------
- Generating .qm files from .ts files.
Linux :: Performed by the Makefile. You don't need to worry.
Windows :: Open "Qt Command Prompt" or add "lrelease" in "PATH". Run tsrelease.bat, it will generate all the .qm files.

--
Adeel.
adeel.asghar@liu.se
1 change: 1 addition & 0 deletions OMEdit/OMEditGUI/Resources/nls/tsrelease.bat
@@ -0,0 +1 @@
lrelease *.ts
1 change: 1 addition & 0 deletions OMEdit/OMEditGUI/Resources/nls/tsupdate.bat
@@ -0,0 +1 @@
lupdate -noobsolete ../../OMEditGUI.pro

0 comments on commit 7384dac

Please sign in to comment.