Skip to content

Commit

Permalink
better translations
Browse files Browse the repository at this point in the history
Signed-off-by: Birk Skyum <[email protected]>
  • Loading branch information
birkskyum committed Jul 25, 2024
1 parent af05772 commit c9f3283
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 37 deletions.
10 changes: 1 addition & 9 deletions src/components/src/modals/add-map-style-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,10 @@ function AddMapStyleModalFactory() {
<FormattedMessage id={'modal.addStyle.pasteTitle'} />
</div>
<div className="modal-section-subtitle">
{intl.formatMessage({id: 'modal.addStyle.pasteSubtitle0'})}
<InlineLink
target="_blank"
href="https://www.mapbox.com/help/studio-manual-publish/#style-url"
>
{' '}
{intl.formatMessage({id: 'modal.addStyle.pasteSubtitle2'})}
</InlineLink>{' '}
{intl.formatMessage({id: 'modal.addStyle.pasteSubtitle3'})}
<InlineLink
target="_blank"
href="https://docs.mapbox.com/mapbox-gl-js/style-spec"
href="https://maplibre.org/maplibre-style-spec/"
>
{' '}
{intl.formatMessage({id: 'modal.addStyle.pasteSubtitle4'})}
Expand Down
4 changes: 2 additions & 2 deletions src/localization/src/translations/ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ export default {
},
addStyle: {
pasteTitle: "1. Enganxa la URL de l'estil",
pasteSubtitle1: 'Què és un',
pasteSubtitle2: "URL de l'estil",
pasteSubtitle3: 'Enllaç a un style.json que segueix el',
pasteSubtitle4: "MapLibre Especificació d'estil",
namingTitle: '2. Posa nom al teu estil'
},
shareMap: {
Expand Down
7 changes: 2 additions & 5 deletions src/localization/src/translations/cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,8 @@ export default {
},
addStyle: {
pasteTitle: '1. 粘贴样式 url',
pasteSubtitle0: '样式 url 可以是 Mapbox 的',
pasteSubtitle1: '什么是',
pasteSubtitle2: '样式 URL,',
pasteSubtitle3: '还可以使用遵从Mapbox GL样式的style.json的url:',
pasteSubtitle4: 'Mapbox GL 样式规范',
pasteSubtitle3: '您可以使用符合 的style.json ',
pasteSubtitle4: 'MapLibre款式规格',
namingTitle: '2. 命名你的样式'
},
shareMap: {
Expand Down
7 changes: 2 additions & 5 deletions src/localization/src/translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,8 @@ export default {
},
addStyle: {
pasteTitle: '1. Paste style url',
pasteSubtitle0: 'Style url can be a mapbox',
pasteSubtitle1: 'What is a',
pasteSubtitle2: 'style URL',
pasteSubtitle3: 'or a style.json using the',
pasteSubtitle4: 'Mapbox GL Style Spec',
pasteSubtitle3: 'Link to a style.json using the',
pasteSubtitle4: 'MapLibre Style Spec',
namingTitle: '2. Name your style'
},
shareMap: {
Expand Down
4 changes: 2 additions & 2 deletions src/localization/src/translations/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ export default {
},
addStyle: {
pasteTitle: '1. Engancha el enlace del estilo',
pasteSubtitle1: 'Qué es un',
pasteSubtitle2: 'enlace del estilo',
pasteSubtitle3: 'Enlace a un style.json que sigue',
pasteSubtitle4: 'Especificación de estilo MapLibre',
namingTitle: '2. Poner nombre a tu estilo'
},
shareMap: {
Expand Down
4 changes: 2 additions & 2 deletions src/localization/src/translations/fi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ export default {
},
addStyle: {
pasteTitle: '1. Liitä tyyli-URL',
pasteSubtitle1: 'Mikä on',
pasteSubtitle2: 'tyyli-URL?',
pasteSubtitle3: 'Linkki style.json-tiedostoon, joka käyttää',
pasteSubtitle4: 'MapLibre-tyylimäärittely',
namingTitle: '2. Nimeä tyylisi'
},
shareMap: {
Expand Down
7 changes: 2 additions & 5 deletions src/localization/src/translations/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,8 @@ export default {
},
addStyle: {
pasteTitle: '1. スタイルのURLをペースト',
pasteSubtitle0: 'スタイルのURLはMapboxの',
pasteSubtitle1: 'What is a',
pasteSubtitle2: 'スタイルURL',
pasteSubtitle3: 'を指定するか、Mapbox GLの仕様に沿ったstyle.jsonのURLを指定します:',
pasteSubtitle4: 'Mapbox GL スタイル仕様',
pasteSubtitle3: 'を使用する style.json ファイルへのリンク',
pasteSubtitle4: 'MapLibre スタイル定義',
namingTitle: '2. スタイルの名称を設定'
},
shareMap: {
Expand Down
4 changes: 2 additions & 2 deletions src/localization/src/translations/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ export default {
},
addStyle: {
pasteTitle: '1. Cole a url do seu estilo',
pasteSubtitle1: 'O que é uma',
pasteSubtitle2: 'URL de estilo',
pasteSubtitle3: 'Um link para um arquivo style.json que usa a',
pasteSubtitle4: 'especificação de estilo MapLibre',
namingTitle: '2. Nomeie o seu estilo'
},
shareMap: {
Expand Down
7 changes: 2 additions & 5 deletions src/localization/src/translations/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,8 @@ export default {
},
addStyle: {
pasteTitle: '1. Вставить URL стиля',
pasteSubtitle0: 'URL стиля может быть mapbox',
pasteSubtitle1: 'Или',
pasteSubtitle2: 'URL стиля',
pasteSubtitle3: 'style.json используя',
pasteSubtitle4: 'Mapbox GL Style Spec',
pasteSubtitle3: 'Ссылка на файл style.json, использующий',
pasteSubtitle4: 'MapLibre Style Spec',
namingTitle: '2. Назови свой стиль'
},
shareMap: {
Expand Down

0 comments on commit c9f3283

Please sign in to comment.