1
0
mirror of https://github.com/typemill/typemill.git synced 2025-01-29 02:57:50 +01:00

Added missing strings for translation

This commit is contained in:
Paul 2023-01-24 20:06:49 +03:00 committed by GitHub
parent 7b6b0cc1b3
commit 3b366e48b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
<header class="headline">
<h1>{{ __('System') }} <span class="version-number">v. {{settings.version}}</span></h1>
<p>New here? Then watch the <a class="link tm-red underline-hover" href="https://www.youtube.com/watch?v=7yvlwXJL9dc" target="_blank">video-tutorial</a> about configurations for typemill on YouTube.</p>
<p>{{ __('New here? Then watch') }} <a class="link tm-red underline-hover" href="https://www.youtube.com/watch?v=7yvlwXJL9dc" target="_blank">{{ __('the video-tutorial') }}</a> {{ __('about configurations for typemill on YouTube.') }}</p>
</header>
<div id="typemill" class="fc-system-version update-banner">{{ settings.version ? settings.version : 'Unknown' }}</div>
@ -64,14 +64,14 @@
</div><div class="medium{{ errors.settings.langattr ? ' error' : '' }}">
<label for="langattr">{{ __('Language_attr') }}</label>
<input type="text" name="settings[langattr]" id="langattr" value="{{ old.settings.langattr ? old.settings.langattr : settings.langattr }}" pattern="[a-z]{2}" title="{{ __('Use a valid language attribute') }}, {{ __('e.g.') }} en" />
<div class="description">Please use <a target="_blank" href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1 codes</a> like "en"</div>
<div class="description">{{ __('Please use codes from') }} <a target="_blank" href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">ISO 639-1</a> {{ __('like «en»') }}</div>
{% if errors.settings.langattr %}
<span class="error">{{ errors.settings.langattr | first }}</span>
{% endif %}
</div><div class="medium">
<label for="settings[sitemap]">{{ __('Google Sitemap') }} <small>({{ __('Readonly') }})</small></label>
<input type="text" name="settings[sitemap]" id="sitemap" readonly value="{{ base_url }}/cache/sitemap.xml" />
<div class="description">You can ping the sitemap with the following links to <a target="_blank" href="https://www.google.com/ping?sitemap={{ (base_url ~ '/cache/sitemap.xml')|url_encode }}">google</a> and <a target="_blank" href="http://www.bing.com/ping?sitemap={{ (base_url ~ '/cache/sitemap.xml')|url_encode }}">bing</a>.</div>
<div class="description">{{ __('You can ping the sitemap with the following links to') }} <a target="_blank" href="https://www.google.com/ping?sitemap={{ (base_url ~ '/cache/sitemap.xml')|url_encode }}">google</a> {{ __('and') }} <a target="_blank" href="http://www.bing.com/ping?sitemap={{ (base_url ~ '/cache/sitemap.xml')|url_encode }}">bing</a>.</div>
</div><div class="medium{{ errors.settings.pingsitemap ? ' error' : '' }}">
<label for="settings[pingsitemap]">{{ __('Ping sitemap automatically') }}</label>
<label class="control-group">{{ __('Ping sitemap automatically after publishing a page.') }}
@ -188,7 +188,7 @@
<header class="headline">
<h2>{{ __('Access Control') }}</h2>
<p>{{ __('Limit the access for the whole website or for each page individually. If you activate the website restriction or the page restrictions, then sessions will be used in frontend.') }}</p>
<p>New here? Then watch the <a class="link tm-red underline-hover" href="https://www.youtube.com/watch?v=UW_m-4g1kAA" target="_blank">video-tutorial</a> about access rights for typemill on YouTube.</p>
<p>{{ __('New here? Then watch') }} <a class="link tm-red underline-hover" href="https://www.youtube.com/watch?v=7yvlwXJL9dc" target="_blank">{{ __('the video-tutorial') }}</a> {{ __('about configurations for typemill on YouTube.') }}</p>
</header>
<div class="large{{ errors.settings.access ? ' error' : '' }}">
<label for="settings[access]">{{ __('Website Restriction') }}</label>
@ -245,18 +245,18 @@
</div>
<div class="large{{ errors.settings.recoversubject ? ' error' : '' }}">
<label for="recoversubject">{{ __('Subject') }}</label>
<input type="text" name="settings[recoversubject]" id="recoversubject" placeholder="Recover your password" value="{{ old.settings.recoversubject ? old.settings.recoversubject : settings.recoversubject }}" />
<input type="text" name="settings[recoversubject]" id="recoversubject" placeholder="{{ __('Recover your password') }}" value="{{ old.settings.recoversubject ? old.settings.recoversubject : settings.recoversubject }}" />
{% if errors.settings.recoversubject %}
<span class="error">{{ errors.settings.recoversubject | first }}</span>
{% endif %}
</div>
<div class="large{{ errors.settings.recovermessage ? ' error' : '' }}">
<label for="settings[recovermessage]">{{ __('Text before the recover link in the email message') }} <small>({{ __('use markdown') }})</small></label>
<textarea id="recovermessage" rows="8" name="settings[recovermessage]" placeholder="Dear user,&#10;&#10;please use the following link to create a new password. The link is valid for 24 hours: ">{{ old.settings.recovermessage ? old.settings.recovermessage : settings.recovermessage }}</textarea>
<textarea id="recovermessage" rows="8" name="settings[recovermessage]" placeholder="{{ __('Dear user,') }}&#10;&#10;{{ __('please use the following link to create a new password. The link is valid for 24 hours') }}">{{ old.settings.recovermessage ? old.settings.recovermessage : settings.recovermessage }}</textarea>
{% if errors.settings.recovermessage %}
<span class="error">{{ errors.settings.recovermessage | first }}</span>
{% endif %}
</div>
</div>
<hr>
<header class="headline">
<h2>{{ __('Developer') }}</h2>
@ -331,4 +331,4 @@
</form>
</div>
{% endblock %}
{% endblock %}