mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-03-28 17:42:54 +01:00
Zanata integration
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
zanata.xml merge=ours
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -14,3 +14,4 @@ themes/default/templates/data.html.ep
|
|||||||
themes/default/templates/raw.html.ep
|
themes/default/templates/raw.html.ep
|
||||||
themes/default/templates/stats.json.ep
|
themes/default/templates/stats.json.ep
|
||||||
tmp/*
|
tmp/*
|
||||||
|
.zanata-cache/*
|
||||||
|
|||||||
21
Makefile
21
Makefile
@@ -1,11 +1,5 @@
|
|||||||
EXTRACTDIR=-D lib -D themes/default/templates
|
EXTRACTDIR=-D lib -D themes/default/templates
|
||||||
POT=themes/default/lib/Lutim/I18N/lutim.pot
|
POT=themes/default/lib/Lutim/I18N/lutim.pot
|
||||||
EN=themes/default/lib/Lutim/I18N/en.po
|
|
||||||
FR=themes/default/lib/Lutim/I18N/fr.po
|
|
||||||
DE=themes/default/lib/Lutim/I18N/de.po
|
|
||||||
ES=themes/default/lib/Lutim/I18N/es.po
|
|
||||||
OC=themes/default/lib/Lutim/I18N/oc.po
|
|
||||||
AR=themes/default/lib/Lutim/I18N/ar.po
|
|
||||||
XGETTEXT=carton exec local/bin/xgettext.pl -u
|
XGETTEXT=carton exec local/bin/xgettext.pl -u
|
||||||
CARTON=carton exec
|
CARTON=carton exec
|
||||||
LUTIM=script/lutim
|
LUTIM=script/lutim
|
||||||
@@ -13,12 +7,15 @@ REAL_LUTIM=script/application
|
|||||||
|
|
||||||
locales:
|
locales:
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null
|
$(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(EN) 2>/dev/null
|
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(FR) 2>/dev/null
|
push-locales: locales
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(DE) 2>/dev/null
|
zanata-cli -q -B push
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(ES) 2>/dev/null
|
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(OC) 2>/dev/null
|
pull-locales:
|
||||||
$(XGETTEXT) $(EXTRACTDIR) -o $(AR) 2>/dev/null
|
zanata-cli -q -B pull
|
||||||
|
|
||||||
|
stats-locales:
|
||||||
|
zanata-cli -q stats
|
||||||
|
|
||||||
podcheck:
|
podcheck:
|
||||||
podchecker lib/Lutim/DB/Image.pm
|
podchecker lib/Lutim/DB/Image.pm
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
#. (30)
|
#. (30)
|
||||||
#. ($delay)
|
#. ($delay)
|
||||||
#. (config('max_delay')
|
#. (config('max_delay')
|
||||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:3 themes/default/templates/partial/lutim.js.ep:138 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/partial/lutim.js.ep:148
|
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:139 themes/default/templates/partial/lutim.js.ep:148 themes/default/templates/partial/lutim.js.ep:149 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||||
msgid "%1 days"
|
msgid "%1 days"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -32,11 +32,11 @@ msgstr ""
|
|||||||
msgid "-or-"
|
msgid "-or-"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5
|
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||||
msgid "1 year"
|
msgid "1 year"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147
|
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:148 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||||
msgid "24 hours"
|
msgid "24 hours"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ msgstr ""
|
|||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim/Command/cron/stats.pm:144
|
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||||
msgid "Active images"
|
msgid "Active images"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ msgstr ""
|
|||||||
msgid "Contributors"
|
msgid "Contributors"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: themes/default/templates/partial/lutim.js.ep:214 themes/default/templates/partial/lutim.js.ep:268 themes/default/templates/partial/lutim.js.ep:346
|
#: themes/default/templates/partial/lutim.js.ep:215 themes/default/templates/partial/lutim.js.ep:269 themes/default/templates/partial/lutim.js.ep:347
|
||||||
msgid "Copy all view links to clipboard"
|
msgid "Copy all view links to clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -96,15 +96,15 @@ msgstr ""
|
|||||||
msgid "Delay repartition chart for enabled images"
|
msgid "Delay repartition chart for enabled images"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:159
|
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:160
|
||||||
msgid "Delete at first view?"
|
msgid "Delete at first view?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim/Command/cron/stats.pm:145
|
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||||
msgid "Deleted images"
|
msgid "Deleted images"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim/Command/cron/stats.pm:146
|
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||||
msgid "Deleted images in 30 days"
|
msgid "Deleted images in 30 days"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -192,7 +192,7 @@ msgstr ""
|
|||||||
msgid "Image URL"
|
msgid "Image URL"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim/Command/cron/stats.pm:143
|
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||||
msgid "Image delay"
|
msgid "Image delay"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -232,7 +232,7 @@ msgstr ""
|
|||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:163
|
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:164
|
||||||
msgid "Let's go!"
|
msgid "Let's go!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,7 +309,7 @@ msgstr ""
|
|||||||
msgid "Share it!"
|
msgid "Share it!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/lutim.js.ep:174
|
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/lutim.js.ep:175
|
||||||
msgid "Something bad happened"
|
msgid "Something bad happened"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -362,7 +362,7 @@ msgstr ""
|
|||||||
#. ($tx->res->max_message_size)
|
#. ($tx->res->max_message_size)
|
||||||
#. ($c->req->max_message_size)
|
#. ($c->req->max_message_size)
|
||||||
#. (config('max_file_size')
|
#. (config('max_file_size')
|
||||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:240
|
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:241
|
||||||
msgid "The file exceed the size limit (%1)"
|
msgid "The file exceed the size limit (%1)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -405,7 +405,7 @@ msgstr ""
|
|||||||
msgid "Toggle navigation"
|
msgid "Toggle navigation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim/Command/cron/stats.pm:152
|
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||||
msgid "Total"
|
msgid "Total"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -495,7 +495,7 @@ msgstr ""
|
|||||||
msgid "core developer"
|
msgid "core developer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3
|
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||||
msgid "no time limit"
|
msgid "no time limit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
9
zanata.xml
Normal file
9
zanata.xml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<config xmlns="http://zanata.org/namespace/config/">
|
||||||
|
<url>https://trad.framasoft.org/zanata/</url>
|
||||||
|
<project>lutim</project>
|
||||||
|
<project-version>development</project-version>
|
||||||
|
<project-type>gettext</project-type>
|
||||||
|
<src-dir>themes/default/lib/Lutim/I18N/</src-dir>
|
||||||
|
<trans-dir>themes/default/lib/Lutim/I18N/</trans-dir>
|
||||||
|
</config>
|
||||||
Reference in New Issue
Block a user