Commit 0e0e6da6 authored by Luc Didry's avatar Luc Didry
Browse files

Fix langage drop-down

parent 781e96c0
......@@ -21,8 +21,8 @@ sub _available_langs {
my $c = shift;
state $langs = Mojo::Collection->new(
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*'))
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*po')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*po'))
)->map(
sub {
Mojo::File->new($_)->basename('.po');
......
......@@ -44,7 +44,7 @@ msgstr ""
msgid ": Error while trying to get the counter."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:75
#: themes/default/templates/partial/navbar.html.ep:76
msgid "About"
msgstr ""
......@@ -156,7 +156,7 @@ msgstr ""
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:78
#: themes/default/templates/partial/navbar.html.ep:79
msgid "Fork me!"
msgstr ""
......@@ -200,15 +200,15 @@ msgstr ""
msgid "Image not found."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:67
#: themes/default/templates/partial/navbar.html.ep:68
msgid "Informations"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:31
#: themes/default/templates/partial/navbar.html.ep:32
msgid "Install webapp"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:27
#: themes/default/templates/partial/navbar.html.ep:28
msgid "Instance's statistics"
msgstr ""
......@@ -228,7 +228,7 @@ msgstr ""
msgid "Keep EXIF tags"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:38
#: themes/default/templates/partial/navbar.html.ep:39
msgid "Language"
msgstr ""
......@@ -236,7 +236,7 @@ msgstr ""
msgid "Let's go!"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:72
#: themes/default/templates/partial/navbar.html.ep:73
msgid "License:"
msgstr ""
......@@ -260,7 +260,7 @@ msgstr ""
msgid "Markdown syntax"
msgstr ""
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:24
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:25
msgid "My images"
msgstr ""
......@@ -318,19 +318,19 @@ msgstr ""
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:50
#: themes/default/templates/partial/navbar.html.ep:51
msgid "Support the author"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:58
#: themes/default/templates/partial/navbar.html.ep:59
msgid "Support the author on Liberapay"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:55
#: themes/default/templates/partial/navbar.html.ep:56
msgid "Support the author on Tipeee"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:61
#: themes/default/templates/partial/navbar.html.ep:62
msgid "Support the author with bitcoins"
msgstr ""
......@@ -401,7 +401,7 @@ msgstr ""
msgid "Toggle fullscreen"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:14
#: themes/default/templates/partial/navbar.html.ep:15
msgid "Toggle navigation"
msgstr ""
......
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% my $l = {
% ar => 'العربية',
% de => 'Deutsch',
% en => 'English',
% es => 'Español',
% fr => 'Français',
% oc => 'Occitan',
% ar => 'العربية',
% de => 'Deutsch',
% en => 'English',
% es => 'Español',
% fr => 'Français',
% fr_FR => 'Français (France)',
% oc => 'Occitan',
% };
<nav class="navbar navbar-default">
<div class="container">
......
Supports Markdown
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