Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #102 from Valdnet/master
Browse files Browse the repository at this point in the history
Addition of l10n
  • Loading branch information
pierre-alain-b authored Sep 25, 2019
2 parents 7637892 + 1ab9b64 commit 02b41f1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
9 changes: 9 additions & 0 deletions rainloop/l10n/pl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
OC.L10N.register(
"rainloop",
{
"RainLoop Webmail" : "RainLoop Webmail",
"Go to RainLoop Webmail admin panel" : "Przejdź do panelu administracyjnego RainLoop Webmail",
"Automatically login with Nextcloud user credentials" : "Automatycznie loguj się przy użyciu poświadczeń użytkownika Nextcloud",
"Save" : "Zapisz"
},
"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);");
7 changes: 7 additions & 0 deletions rainloop/l10n/pl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ "translations": {
"RainLoop Webmail" : "RainLoop Webmail",
"Go to RainLoop Webmail admin panel" : "Przejdź do panelu administracyjnego RainLoop Webmail",
"Automatically login with Nextcloud user credentials" : "Automatycznie loguj się przy użyciu poświadczeń użytkownika Nextcloud",
"Save" : "Zapisz"
},"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);"
}
12 changes: 7 additions & 5 deletions rainloop/templates/admin-local.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@
<br />
<?php endif; ?>
<p>
<input type="checkbox" id="rainloop-autologin" id="rainloop-autologin" name="rainloop-autologin" value="1" <?php if ($_['rainloop-autologin']): ?>checked="checked"<?php endif; ?> />
<label for="rainloop-autologin">
<?php p($l->t('Automatically login with ownCloud user credentials')); ?>
</label>
<div style="display: flex;">
<input type="checkbox" id="rainloop-autologin" name="rainloop-autologin" value="1" <?php if ($_['rainloop-autologin']): ?>checked="checked"<?php endif; ?> />
<label style="margin: auto 5px;" for="rainloop-autologin">
<?php p($l->t('Automatically login with Nextcloud user credentials')); ?>
</label>
</div>
<br />
<br />
<input type="button" id="rainloop-save-button" name="rainloop-save-button" value="<?php p($l->t('Save')); ?>" />
&nbsp;&nbsp;<span class="rainloop-result-desc"></span>
</p>
</fieldset>
</form>
</div>
</div>

0 comments on commit 02b41f1

Please sign in to comment.