Skip to content

Commit

Permalink
Updated instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Dec 5, 2019
1 parent c3a557c commit 4de19b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OMEdit/OMEditLIB/Resources/nls/README.md
@@ -1,12 +1,12 @@
## Creating and maintaining a new Translation File .ts

- Open OMEditGUI.pro and add a new language entry in `TRANSLATIONS` variable.
- Open OMEditLIB.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 :: The following command updates all the new translation strings. Do not try to create the ts-file manually.)

### Unix
```bash
lupdate -noobsolete ../../OMEditGUI.pro
lupdate -noobsolete ../../OMEditLIB.pro
```

### Windows
Expand Down
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Resources/nls/tsupdate.bat
@@ -1 +1 @@
lupdate -noobsolete ../../OMEditGUI.pro
lupdate -noobsolete ../../OMEditLIB.pro

0 comments on commit 4de19b4

Please sign in to comment.