Commit cb6a3f8d authored by Luc Didry's avatar Luc Didry

Fix EN translation file + change to make locales

We don't need to update fr.po with xgettext.pl since we use a
translation web site.
parent 62ac851e
EXTRACTFILES=utilities/locales_files.txt
EN=lib/Lstu/I18N/en.po
FR=lib/Lstu/I18N/fr.po
XGETTEXT=carton exec local/bin/xgettext.pl
CARTON=carton exec
REAL_LSTU=script/application
......@@ -8,7 +7,6 @@ LSTU=script/lstu
locales:
$(XGETTEXT) -f $(EXTRACTFILES) -o $(EN)
$(XGETTEXT) -f $(EXTRACTFILES) -o $(FR)
test:
$(CARTON) $(REAL_LSTU) test
......
......@@ -22,19 +22,19 @@ msgstr ""
#. ($url)
#: lib/Lstu.pm:175
msgid "%1 is not a valid URL."
msgstr "%1 is not a valid URL."
msgstr ""
#: templates/layouts/default.html.ep:28
msgid "About"
msgstr "About"
msgstr ""
#: templates/stats.html.ep:12 templates/stats.html.ep:13
msgid "Admin password"
msgstr "Admin password"
msgstr ""
#: lib/Lstu.pm:290
msgid "Bad password"
msgstr "Bad password"
msgstr ""
#: templates/index.html.ep:20
msgid "Copy to clipboard"
......@@ -42,120 +42,120 @@ msgstr ""
#: templates/stats.html.ep:29
msgid "Counter"
msgstr "Counter"
msgstr ""
#: templates/stats.html.ep:30
msgid "Created"
msgstr "Created"
msgstr ""
#: templates/api.html.ep:15 templates/index.html.ep:10 templates/index.html.ep:9
msgid "Custom shortened text"
msgstr "Custom shortened text"
msgstr ""
#: templates/api.html.ep:21 templates/api.html.ep:39
msgid "Failure reason"
msgstr "Failure reason"
msgstr ""
#: templates/index.html.ep:12 templates/stats.html.ep:16
msgid "Go!"
msgstr "Go!"
msgstr ""
#: templates/index.html.ep:52
msgid "Hit Enter, then Ctrl+C to copy the short link"
msgstr "Hit Enter, then Ctrl+C to copy the short link"
msgstr ""
#: templates/api.html.ep:16
msgid "If equal to \"json\", response will be in JSON format, HTML format otherwise"
msgstr "If equal to \"json\", response will be in JSON format, HTML format otherwise"
msgstr ""
#: templates/api.html.ep:21 templates/api.html.ep:39
msgid "JSON: failure"
msgstr "JSON: failure"
msgstr ""
#: templates/api.html.ep:20 templates/api.html.ep:38
msgid "JSON: success"
msgstr "JSON: success"
msgstr ""
#: templates/layouts/default.html.ep:27
msgid "License:"
msgstr "License:"
msgstr ""
#: templates/stats.html.ep:9
msgid "Logout from admin stats"
msgstr "Logout from admin stats"
msgstr ""
#: templates/stats.html.ep:53
msgid "Next"
msgstr "Next"
msgstr ""
#. ($c->config('contact')
#: lib/Lstu.pm:168
msgid "No shortened URL available. Please retry or contact the administrator at %1. Your URL to shorten: %2"
msgstr "No shortened URL available. Please retry or contact the administrator at %1. Your URL to shorten: %2"
msgstr ""
#: templates/api.html.ep:12
msgid "Parameters:"
msgstr "Parameters:"
msgstr ""
#: templates/stats.html.ep:51
msgid "Previous"
msgstr "Previous"
msgstr ""
#: templates/api.html.ep:22
msgid "Response for HTML format"
msgstr "Response for HTML format"
msgstr ""
#: templates/api.html.ep:18 templates/api.html.ep:27 templates/api.html.ep:36
msgid "Response:"
msgstr "Response:"
msgstr ""
#: templates/stats.html.ep:28
msgid "Shortened URL"
msgstr "Shortened URL"
msgstr ""
#: templates/layouts/default.html.ep:30 templates/stats.html.ep:4
msgid "Statistics"
msgstr "Statistics"
msgstr ""
#. ($c->url_for('/')
#: lib/Lstu.pm:316
msgid "The shortened URL %1 doesn't exist."
msgstr "The shortened URL %1 doesn't exist."
msgstr ""
#. ($custom_url)
#: lib/Lstu.pm:138
msgid "The shortened text (%1) is already used. Please choose another one."
msgstr "The shortened text (%1) is already used. Please choose another one."
msgstr ""
#. ($url)
#: lib/Lstu.pm:136
msgid "The shortened text can contain only numbers, letters and the - and _ character, can't be \"a\", \"api\" or \"stats\" or end with \".json\". Your URL to shorten: %1"
msgstr "The shortened text can contain only numbers, letters and the - and _ character, can't be \"a\", \"api\" or \"stats\" or end with \".json\". Your URL to shorten: %1"
msgstr ""
#: templates/stats.html.ep:27
msgid "URL"
msgstr "URL"
msgstr ""
#: templates/api.html.ep:14 templates/index.html.ep:5 templates/index.html.ep:6
msgid "URL to shorten"
msgstr "URL to shorten"
msgstr ""
#: templates/api.html.ep:22
msgid "You will be redirected to the Lstu interface with a message giving the shortened URL"
msgstr "You will be redirected to the Lstu interface with a message giving the shortened URL"
msgstr ""
#: templates/api.html.ep:30
msgid "You will be redirected to the targeted URL or to the Lstu interface with a message giving the failure reason"
msgstr "You will be redirected to the targeted URL or to the Lstu interface with a message giving the failure reason"
msgstr ""
#: templates/api.html.ep:14
msgid "mandatory"
msgstr "mandatory"
msgstr ""
#: templates/api.html.ep:15 templates/api.html.ep:16
msgid "optional"
msgstr "optional"
msgstr ""
#: templates/api.html.ep:25 templates/api.html.ep:34
msgid "shortened_url"
msgstr "shortened_url"
msgstr ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment