Statistics
| Revision:

root / tmp / org.txm.translate.rcp / src / org / txm / rcp / translate / i18n / FindUntranslatedMessages.groovy @ 1317

History | View | Annotate | Download (457 Bytes)

1 1223 mdecorde
package org.txm.rcp.translate.i18n
2 1223 mdecorde
3 1223 mdecorde
import org.txm.rcp.translate.i18n.ExternalizationFilesUpdater
4 1223 mdecorde
5 1223 mdecorde
def userdir = System.getProperty("user.home")
6 1223 mdecorde
def workspace = new File(userdir, "workspace47")
7 1223 mdecorde
def langs = ["fr", "ru"]
8 1223 mdecorde
9 1223 mdecorde
                scanner = new ExternalizationFilesUpdater();
10 1223 mdecorde
                scanner.scanDirectory(new File(workspace, "org.txm.rcp"));
11 1223 mdecorde
                for (def lang : langs) {
12 1223 mdecorde
                        scanner.createMissingFiles(lang);
13 1223 mdecorde
                }
14 1223 mdecorde
                scanner.processFoundDirectories();
15 1223 mdecorde
                scanner.updateFiles();