diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-15 15:18:13 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-12-15 15:18:13 +0300 |
commit | 7da243b44786a3557d8c7307ea325e56ad072cc5 (patch) | |
tree | 69daa35497bb46cae8ce6df7ed673846f5a65c57 /templates | |
parent | 0cb0dd2eba53b45f4f8d5a0214f92fdf1dd22a06 (diff) |
Improve translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.php | 10 | ||||
-rw-r--r-- | templates/settings-admin.php | 6 | ||||
-rw-r--r-- | templates/settings-personal.php | 10 |
3 files changed, 8 insertions, 18 deletions
diff --git a/templates/index.php b/templates/index.php index cdff42da3..58ba7f547 100644 --- a/templates/index.php +++ b/templates/index.php @@ -28,19 +28,9 @@ script( <div id="app-navigation" class="icon-loading"> <form id="oca-spreedme-add-room"> <input id="edit-roomname" type="text" placeholder="<?php p($l->t('Choose person …')) ?>"/> - <!-- <button class="icon-confirm" title="<?php p($l->t('Create new room')) ?>"></button> --> </form> <ul id="spreedme-room-list" class="with-icon"> </ul> - <!--<div id="app-settings"> - <div id="app-settings-header"> - <button class="settings-button" - data-apps-slide-toggle="#app-settings-content" - ></button> - </div> - <div id="app-settings-content"> - </div> - </div>--> </div> <div id="app-content" class="participants-1"> diff --git a/templates/settings-admin.php b/templates/settings-admin.php index 67c090f2e..4953f7fef 100644 --- a/templates/settings-admin.php +++ b/templates/settings-admin.php @@ -33,13 +33,13 @@ style('spreed', ['settings-admin']); <select id="turn_server_protocols" name="turn_server_protocols"> <option value="udp,tcp" <?php p($_['turnServerProtocols'] === 'udp,tcp' ? 'selected' : '') ?>> - udp and tcp</option> + <?php p($l->t('udp and tcp')) ?><</option> <option value="udp" <?php p($_['turnServerProtocols'] === 'udp' ? 'selected' : '') ?>> - udp only</option> + <?php p($l->t('udp only')) ?><</option> <option value="tcp" <?php p($_['turnServerProtocols'] === 'tcp' ? 'selected' : '') ?>> - tcp only</option> + <?php p($l->t('tcp only')) ?><</option> </select> </p> <p> diff --git a/templates/settings-personal.php b/templates/settings-personal.php index 486fe8c8f..4d52aa06d 100644 --- a/templates/settings-personal.php +++ b/templates/settings-personal.php @@ -18,13 +18,13 @@ script('spreed', ['settings-personal']); <p> <label for="turn_username"><?php p($l->t('Username')) ?></label> <input type="text" id="turn_username" - name="turn_username" placeholder="username" + name="turn_username" placeholder="<?php p($l->t('Username')) ?>" value="<?php p($_['turnSettings']['username']) ?>" /> </p> <p> <label for="turn_password"><?php p($l->t('Password')) ?></label> <input type="text" id="turn_password" - name="turn_password" placeholder="password" + name="turn_password" placeholder="<?php p($l->t('Password')) ?>" value="<?php p($_['turnSettings']['password']) ?>" /> </p> <p> @@ -32,13 +32,13 @@ script('spreed', ['settings-personal']); <select id="turn_protocols" name="turn_protocols"> <option value="udp,tcp" <?php p($_['turnSettings']['protocols'] === 'udp,tcp' ? 'selected' : '') ?>> - udp and tcp</option> + <?php p($l->t('udp and tcp')) ?><</option> <option value="udp" <?php p($_['turnSettings']['protocols'] === 'udp' ? 'selected' : '') ?>> - udp only</option> + <?php p($l->t('udp only')) ?><</option> <option value="tcp" <?php p($_['turnSettings']['protocols'] === 'tcp' ? 'selected' : '') ?>> - tcp only</option> + <?php p($l->t('tcp only')) ?><</option> </select> </p> </form> |