-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
42 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
const spec = { | ||
import { TFunction } from "i18next"; | ||
|
||
const spec = (t: TFunction) => ({ | ||
maputnik: { | ||
maptiler_access_token: { | ||
label: "MapTiler Access Token", | ||
doc: "Public access token for MapTiler Cloud." | ||
label: t("MapTiler Access Token"), | ||
doc: t("Public access token for MapTiler Cloud.") | ||
}, | ||
thunderforest_access_token: { | ||
label: "Thunderforest Access Token", | ||
doc: "Public access token for Thunderforest services." | ||
label: t("Thunderforest Access Token"), | ||
doc: t("Public access token for Thunderforest services.") | ||
}, | ||
style_renderer: { | ||
label: "Style Renderer", | ||
doc: "Choose the default Maputnik renderer for this style.", | ||
label: t("Style Renderer"), | ||
doc: t("Choose the default Maputnik renderer for this style."), | ||
}, | ||
} | ||
} | ||
}) | ||
|
||
export default spec; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters