Statistics
| Revision:

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

History | View | Annotate | Download (457 Bytes)

1
package org.txm.rcp.translate.i18n
2

    
3
import org.txm.rcp.translate.i18n.ExternalizationFilesUpdater
4

    
5
def userdir = System.getProperty("user.home")
6
def workspace = new File(userdir, "workspace47")
7
def langs = ["fr", "ru"]
8

    
9
                scanner = new ExternalizationFilesUpdater();
10
                scanner.scanDirectory(new File(workspace, "org.txm.rcp"));
11
                for (def lang : langs) {
12
                        scanner.createMissingFiles(lang);
13
                }
14
                scanner.processFoundDirectories();
15
                scanner.updateFiles();