1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

[WIP] i18n strings

This commit is contained in:
McMatts 2022-03-01 22:03:18 -05:00
parent 8a25509019
commit ce4f62d346
23 changed files with 98 additions and 79 deletions

View file

@ -21,7 +21,7 @@
{{input id="gemini-apikey" type="password" value=config.APIKey class="form-control"}}
<small class="form-text text-muted">Gemini user API key (from user profile)</small>
</div>
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Authenticate onClick=(action "auth")}}
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'authenticate') onClick=(action "auth")}}
</div>
<div class="grid-cell-2">
{{#if authenticated}}

View file

@ -14,7 +14,7 @@
{{focus-input id="papertrail-apitoken" type="password" value=config.APIToken class="form-control"}}
<small class="form-text text-muted">API Token (from your profile)</small>
</div>
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Authenticate onClick=(action "auth")}}
{{ui/ui-button color=constants.Color.Green light=true label=(localize 'authenticate') onClick=(action "auth")}}
</form>
</div>
<div class="grid-cell-2">

View file

@ -41,7 +41,7 @@
</div>
</div>
<div class="modal-footer">
{{ui/ui-button color=constants.Color.Gray light=true label=constants.Label.Cancel dismiss=true}}
{{ui/ui-button color=constants.Color.Gray light=true label=(localize 'cancel') dismiss=true}}
{{ui/ui-button-gap}}
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Import onClick=(action "onImport")}}
</div>

View file

@ -35,7 +35,7 @@
{{/if}}
{{else}}
{{ui/ui-button color=constants.Color.Green light=true
label=constants.Label.Authenticate onClick=(action "auth")}}
label=(localize 'authenticate') onClick=(action "auth")}}
{{/if}}
{{else}}
{{#if session.isGlobalAdmin}}