Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locales for map-extent layer control #69

Merged
merged 3 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"lmCopyLayer" : {
"message": "Copy Layer"
},
"lmZoomToExtent" : {
"message": "Zoom To Sub-layer"
},
"lmCopyExtent" : {
"message": "Copy Sub-layer"
},

"lcOpacity": {
"message": "Opacity"
Expand Down
10 changes: 8 additions & 2 deletions src/_locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,17 @@
},

"lmZoomToLayer" : {
"message": "Zoom sur la couche"
"message": "Zoomer sur la couche"
},
"lmCopyLayer" : {
"message": "Copier (la couche)"
},
"lmZoomToExtent" : {
"message": "Zoomer sur la sous-couche"
},
"lmCopyExtent" : {
"message": "Copier (la sous-couche)"
},

"lcOpacity": {
"message": "Opacité"
Expand Down Expand Up @@ -152,7 +158,7 @@
"message": "Couche"
},
"dfExtent": {
"message": "Sub-layer"
"message": "Sous-couche"
},
"dfPastedLayer": {
"message": "Couche collée"
Expand Down
8 changes: 7 additions & 1 deletion src/_locales/sv/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"lmCopyLayer" : {
"message": "Kopiera Lager"
},
"lmZoomToExtent" : {
"message": "Zooma Till Underlager"
},
"lmCopyExtent" : {
"message": "Kopiera Underlager"
},

"lcOpacity": {
"message": "Opacitet"
Expand Down Expand Up @@ -119,7 +125,7 @@
"message": "Lager"
},
"dfExtent": {
"message": "Sub-layer"
"message": "Underlager"
},
"dfPastedLayer": {
"message": "Klistrat lager"
Expand Down
8 changes: 7 additions & 1 deletion src/_locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"lmCopyLayer" : {
"message": "Копіювати шар"
},
"lmZoomToExtent" : {
"message": "Збільшити до підтипу шару"
},
"lmCopyExtent" : {
"message": "Копіювати підтип шару"
},

"lcOpacity": {
"message": "Прозорість"
Expand Down Expand Up @@ -152,7 +158,7 @@
"message": "Шар"
},
"dfExtent": {
"message": "Sub-layer"
"message": "Підтип шару"
},
"dfPastedLayer": {
"message": "Вставлений шар"
Expand Down
2 changes: 1 addition & 1 deletion src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ document.addEventListener("readystatechange", () => {
let msgs = ["cmBack", "cmForward", "cmReload", "cmToggleControls",
"cmCopyCoords", "cmToggleDebug", "cmCopyMapML", "cmCopyExtent",
"cmCopyLocation", "cmPasteLayer", "cmViewSource", "lmZoomToLayer",
"lmCopyLayer", "lcOpacity", "btnZoomIn", "btnZoomOut", "btnAttribution", "btnFullScreen",
"lmCopyLayer", "lmZoomToExtent", "lmCopyExtent", "lcOpacity", "btnZoomIn", "btnZoomOut", "btnAttribution", "btnFullScreen",
"btnExitFullScreen", "btnLocTrackOn", "btnMyLocTrackOn",
"btnLocTrackOff", "btnLocTrackLastKnown", "btnMyLastKnownLocTrackOn",
"amZoom", "amColumn", "amRow", "amMaxZoom", "amMinZoom", "amZoomedOut",
Expand Down
Loading