mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-23 06:25:27 -07:00
Change translations to keys
This commit is contained in:
parent
cdd9bf9f54
commit
9d4be2f2e6
7 changed files with 115 additions and 16 deletions
|
@ -104,29 +104,29 @@
|
|||
<li><a href="home"><i class="fa fa-lg fa-home"></i></a></li>
|
||||
% endif
|
||||
% if title == "Libraries" or title == "Library" or title == "Info":
|
||||
<li class="active"><a href="libraries">${_('Libraries')}</a></li>
|
||||
<li class="active"><a href="libraries">${_('base.nav.libraries')}</a></li>
|
||||
% else:
|
||||
<li><a href="libraries">${_('Libraries')}</a></li>
|
||||
<li><a href="libraries">${_('base.nav.libraries')}</a></li>
|
||||
% endif
|
||||
% if title == "Users" or title == "User":
|
||||
<li class="active"><a href="users">${_('Users')}</a></li>
|
||||
<li class="active"><a href="users">${_('base.nav.users')}</a></li>
|
||||
% else:
|
||||
<li><a href="users">${_('Users')}</a></li>
|
||||
<li><a href="users">${_('base.nav.users')}</a></li>
|
||||
% endif
|
||||
% if title == "History":
|
||||
<li class="active"><a href="history">${_('History')}</a></li>
|
||||
<li class="active"><a href="history">${_('base.nav.history')}</a></li>
|
||||
% else:
|
||||
<li><a href="history">${_('History')}</a></li>
|
||||
<li><a href="history">${_('base.nav.history')}</a></li>
|
||||
% endif
|
||||
% if title == "Graphs":
|
||||
<li class="active"><a href="graphs">${_('Graphs')}</a></li>
|
||||
<li class="active"><a href="graphs">${_('base.nav.graphs')}</a></li>
|
||||
% else:
|
||||
<li><a href="graphs">${_('Graphs')}</a></li>
|
||||
<li><a href="graphs">${_('base.nav.graphs')}</a></li>
|
||||
% endif
|
||||
% if title == "Synced Items":
|
||||
<li class="active"><a href="sync">${_('Synced Items')}</a></li>
|
||||
<li class="active"><a href="sync">${_('base.nav.synced_items')}</a></li>
|
||||
% else:
|
||||
<li><a href="sync">${_('Synced Items')}</a></li>
|
||||
<li><a href="sync">${_('base.nav.synced_items')}</a></li>
|
||||
% endif
|
||||
% if title == "Settings":
|
||||
<li class="dropdown active">
|
||||
|
|
|
@ -1 +1 @@
|
|||
pybabel extract -F babel.cfg -o tautulli.pot --omit-header ../..
|
||||
pybabel extract -F babel.cfg -o tautulli.pot ../..
|
BIN
data/locales/en/LC_MESSAGES/tautulli.mo
Normal file
BIN
data/locales/en/LC_MESSAGES/tautulli.mo
Normal file
Binary file not shown.
40
data/locales/en/LC_MESSAGES/tautulli.po
Normal file
40
data/locales/en/LC_MESSAGES/tautulli.po
Normal file
|
@ -0,0 +1,40 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-06-05 01:01+0200\n"
|
||||
"PO-Revision-Date: 2021-06-04 23:06+0000\n"
|
||||
"Last-Translator: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>\n"
|
||||
"Language-Team: English <https://hosted.weblate.org/projects/tautulli/tautulli/"
|
||||
"en/>\n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:107
|
||||
#: ../../data/interfaces/default/base.html:109
|
||||
msgid "base.nav.libraries"
|
||||
msgstr "Libraries"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:112
|
||||
#: ../../data/interfaces/default/base.html:114
|
||||
msgid "base.nav.users"
|
||||
msgstr "Users"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:117
|
||||
#: ../../data/interfaces/default/base.html:119
|
||||
msgid "base.nav.history"
|
||||
msgstr "History"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:122
|
||||
#: ../../data/interfaces/default/base.html:124
|
||||
msgid "base.nav.graphs"
|
||||
msgstr "Graphs"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:127
|
||||
#: ../../data/interfaces/default/base.html:129
|
||||
msgid "base.nav.synced_items"
|
||||
msgstr "Synced Items"
|
BIN
data/locales/fr/LC_MESSAGES/tautulli.mo
Normal file
BIN
data/locales/fr/LC_MESSAGES/tautulli.mo
Normal file
Binary file not shown.
40
data/locales/fr/LC_MESSAGES/tautulli.po
Normal file
40
data/locales/fr/LC_MESSAGES/tautulli.po
Normal file
|
@ -0,0 +1,40 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-06-05 01:01+0200\n"
|
||||
"PO-Revision-Date: 2021-06-04 23:06+0000\n"
|
||||
"Last-Translator: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>\n"
|
||||
"Language-Team: French <https://hosted.weblate.org/projects/tautulli/tautulli/"
|
||||
"fr/>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:107
|
||||
#: ../../data/interfaces/default/base.html:109
|
||||
msgid "Libraries"
|
||||
msgstr "Bibliothèques"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:112
|
||||
#: ../../data/interfaces/default/base.html:114
|
||||
msgid "Users"
|
||||
msgstr "Utilisateurs"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:117
|
||||
#: ../../data/interfaces/default/base.html:119
|
||||
msgid "History"
|
||||
msgstr "Historique"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:122
|
||||
#: ../../data/interfaces/default/base.html:124
|
||||
msgid "Graphs"
|
||||
msgstr "Graphiques"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:127
|
||||
#: ../../data/interfaces/default/base.html:129
|
||||
msgid "Synced Items"
|
||||
msgstr "Éléments synchronisés"
|
|
@ -1,25 +1,44 @@
|
|||
# Translations template for PROJECT.
|
||||
# Copyright (C) 2021 ORGANIZATION
|
||||
# This file is distributed under the same license as the PROJECT project.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2021-06-04 20:14-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.9.0\n"
|
||||
|
||||
#: ../../data/interfaces/default/base.html:107
|
||||
#: ../../data/interfaces/default/base.html:109
|
||||
msgid "Libraries"
|
||||
msgid "base.nav.libraries"
|
||||
msgstr ""
|
||||
|
||||
#: ../../data/interfaces/default/base.html:112
|
||||
#: ../../data/interfaces/default/base.html:114
|
||||
msgid "Users"
|
||||
msgid "base.nav.users"
|
||||
msgstr ""
|
||||
|
||||
#: ../../data/interfaces/default/base.html:117
|
||||
#: ../../data/interfaces/default/base.html:119
|
||||
msgid "History"
|
||||
msgid "base.nav.history"
|
||||
msgstr ""
|
||||
|
||||
#: ../../data/interfaces/default/base.html:122
|
||||
#: ../../data/interfaces/default/base.html:124
|
||||
msgid "Graphs"
|
||||
msgid "base.nav.graphs"
|
||||
msgstr ""
|
||||
|
||||
#: ../../data/interfaces/default/base.html:127
|
||||
#: ../../data/interfaces/default/base.html:129
|
||||
msgid "Synced Items"
|
||||
msgid "base.nav.synced_items"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue