Merge pull request #674 from ward/english-string-fixes

Fix original English translation strings
This commit is contained in:
Yohan Boniface 2019-04-07 16:27:57 +02:00 committed by GitHub
commit 99699c787d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ class Command(BaseCommand):
parser.add_argument('--attribution', required=True, parser.add_argument('--attribution', required=True,
help='Attribution of the imported pictograms') help='Attribution of the imported pictograms')
parser.add_argument('--suffix', parser.add_argument('--suffix',
help='Optionnal suffix to add to each name') help='Optional suffix to add to each name')
parser.add_argument('--force', action='store_true', parser.add_argument('--force', action='store_true',
help='Update picto if it already exists.') help='Update picto if it already exists.')

View file

@ -709,7 +709,7 @@ L.U.Map.include({
layerInput.name = 'datalayer'; layerInput.name = 'datalayer';
urlInput.type = 'text'; urlInput.type = 'text';
urlInput.placeholder = L._('Provide an URL here'); urlInput.placeholder = L._('Provide an URL here');
rawInput.placeholder = L._('Paste here your data'); rawInput.placeholder = L._('Paste your data here');
clearLabel.textContent = L._('Replace layer content'); clearLabel.textContent = L._('Replace layer content');
var clearFlag = L.DomUtil.create('input', '', clearLabel); var clearFlag = L.DomUtil.create('input', '', clearLabel);
clearFlag.type = 'checkbox'; clearFlag.type = 'checkbox';

View file

@ -796,8 +796,8 @@ L.U.DataLayer = L.Evented.extend({
var remoteDataFields = [ var remoteDataFields = [
['options.remoteData.url', {handler: 'Url', label: L._('Url'), helpEntries: 'formatURL'}], ['options.remoteData.url', {handler: 'Url', label: L._('Url'), helpEntries: 'formatURL'}],
['options.remoteData.format', {handler: 'DataFormat', label: L._('Format')}], ['options.remoteData.format', {handler: 'DataFormat', label: L._('Format')}],
['options.remoteData.from', {label: L._('From zoom'), helpText: L._('Optionnal.')}], ['options.remoteData.from', {label: L._('From zoom'), helpText: L._('Optional.')}],
['options.remoteData.to', {label: L._('To zoom'), helpText: L._('Optionnal.')}], ['options.remoteData.to', {label: L._('To zoom'), helpText: L._('Optional.')}],
['options.remoteData.dynamic', {handler: 'Switch', label: L._('Dynamic'), helpEntries: 'dynamicRemoteData'}], ['options.remoteData.dynamic', {handler: 'Switch', label: L._('Dynamic'), helpEntries: 'dynamicRemoteData'}],
['options.remoteData.licence', {label: L._('Licence'), helpText: L._('Please be sure the licence is compliant with your use.')}] ['options.remoteData.licence', {label: L._('Licence'), helpText: L._('Please be sure the licence is compliant with your use.')}]
]; ];

View file

@ -48,7 +48,7 @@ L.U.MapPermissions = L.Class.extend({
}, },
edit: function () { edit: function () {
if (!this.map.options.umap_id) return this.map.ui.alert({content: L._('Please save the map before'), level: 'info'}); if (!this.map.options.umap_id) return this.map.ui.alert({content: L._('Please save the map first'), level: 'info'});
var container = L.DomUtil.create('div', 'permissions-panel'), var container = L.DomUtil.create('div', 'permissions-panel'),
fields = [], fields = [],
title = L.DomUtil.create('h4', '', container); title = L.DomUtil.create('h4', '', container);

View file

@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<div class="col quarter mwide"> <div class="col quarter mwide">
<img class="colophon" src="{{ STATIC_URL }}umap/img/osm.svg" /> <img class="colophon" src="{{ STATIC_URL }}umap/img/osm.svg" />
<p>{% blocktrans with osm_url="http://osm.org" %}uMap let you create maps with <a href="{{ osm_url }}" />OpenStreetMap</a> layers in a minute and embed them in your site.{% endblocktrans %}</p> <p>{% blocktrans with osm_url="http://osm.org" %}uMap lets you create maps with <a href="{{ osm_url }}" />OpenStreetMap</a> layers in a minute and embed them in your site.{% endblocktrans %}</p>
</div> </div>
<div class="col umap-features-list half mwide"> <div class="col umap-features-list half mwide">
<img class="colophon" src="{{ STATIC_URL }}umap/img/edit.svg" /> <img class="colophon" src="{{ STATIC_URL }}umap/img/edit.svg" />