Add gettext to build tools on dev environment, localize "Powered by" in footer.

This commit is contained in:
Buster Silver 2016-10-03 14:58:56 -05:00
parent 3f6136ae29
commit 16db1c53e4
5 changed files with 20 additions and 13 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-03 07:48+0000\n"
"POT-Creation-Date: 2016-10-03 19:56+0000\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"
@ -285,7 +285,7 @@ msgid "Record updated."
msgstr ""
#: /var/azuracast/www/app/modules/admin/controllers/SettingsController.php:33
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:142
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:151
msgid "Site Settings"
msgstr ""
@ -439,15 +439,15 @@ msgstr ""
msgid "Setup has already been completed!"
msgstr ""
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:56
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:57
msgid "Super Administrator"
msgstr ""
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:138
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:147
msgid "Setup is now complete!"
msgstr ""
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:138
#: /var/azuracast/www/app/modules/frontend/controllers/SetupController.php:147
msgid "Continue setting up your station in the main AzuraCast app."
msgstr ""
@ -1234,6 +1234,11 @@ msgstr ""
msgid "Sign Out"
msgstr ""
#: /var/azuracast/www/app/templates/main.phtml:144
#, php-format
msgid "Powered by %s Version %s."
msgstr ""
#: /var/azuracast/www/app/templates/partials/sidebar.phtml:8
msgid "Profile"
msgstr ""

View File

@ -141,7 +141,7 @@ var APP_ContentPath = '<?=$url->content('') ?>';
</section>
<footer id="footer">
Powered by <a href="https://github.com/SlvrEagle23/AzuraCast" target="_blank"><?=$config->application->name ?></a> <?=\App\Version::getVersionText() ?>.<br>
<?=sprintf(_('Powered by %s Version %s.'), '<a href="https://github.com/SlvrEagle23/AzuraCast" target="_blank">'.$config->application->name.'</a>', \App\Version::getVersionText()) ?><br>
PHP <?=\PHP_VERSION ?>, SlimPHP 3
</footer>

View File

@ -25,5 +25,4 @@
- composer
- azuracast-db
- azuracast-cron
- { role: azuracast-build, when: app_env == 'development' }
- { role: vim, when: app_env == 'development' }
- { role: azuracast-build, when: app_env == 'development' }

View File

@ -29,4 +29,11 @@
shell: "npm install -g {{ item }} --loglevel warn"
with_items:
- bower
- grunt
- grunt
- name: Install Developer Tools
become: true
apt: pkg="{{ item }} state=latest
with_items:
- vim
- gettext

View File

@ -1,4 +0,0 @@
---
- name: Install vim
become: true
apt: pkg=vim state=latest