summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-31 10:53:16 -0200
committerRenato Botelho <renato@netgate.com>2017-01-31 10:53:16 -0200
commit464186e343ad1f66c06d13453c8df0906a0f5f90 (patch)
tree2b5e611ef02a6f771135990e957c284847303a17
parent37ccf3c0448a6bc135e23c25349788ec62943847 (diff)
downloadpfsense-464186e343ad1f66c06d13453c8df0906a0f5f90.zip
pfsense-464186e343ad1f66c06d13453c8df0906a0f5f90.tar.gz
Add zanata.xml and exclude it from base pkg
-rw-r--r--tools/templates/core_pkg/base/exclude_files1
-rw-r--r--zanata.xml13
2 files changed, 14 insertions, 0 deletions
diff --git a/tools/templates/core_pkg/base/exclude_files b/tools/templates/core_pkg/base/exclude_files
index 29199e1..055b6e5 100644
--- a/tools/templates/core_pkg/base/exclude_files
+++ b/tools/templates/core_pkg/base/exclude_files
@@ -37,3 +37,4 @@
./usr/local/share/%%PRODUCT_NAME%%/base.txz
./usr/local/share/%%PRODUCT_NAME%%/pkg
./var/db/pkg
+./zanata.xml
diff --git a/zanata.xml b/zanata.xml
new file mode 100644
index 0000000..3e26127
--- /dev/null
+++ b/zanata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<config xmlns="http://zanata.org/namespace/config/">
+ <url>https://translate.zanata.org/</url>
+ <project>pfsense</project>
+ <project-version>2.4</project-version>
+ <project-type>gettext</project-type>
+ <src-dir>src/usr/local/share/locale/pot</src-dir>
+ <trans-dir>src/usr/local/share/locale</trans-dir>
+ <includes>pfSense.pot</includes>
+ <rules>
+ <rule pattern="**/pot/*.pot">{path}/{locale_with_underscore}/LC_MESSAGES/{filename}.po</rule>
+ </rules>
+</config>
OpenPOWER on IntegriCloud