mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-07-28 14:18:39 +00:00
Compare commits
32 Commits
l10n
..
ef9a5247f0
| Author | SHA1 | Date | |
|---|---|---|---|
| ef9a5247f0 | |||
| 2418f9bf4d | |||
| 5263b88fb7 | |||
| b5eb617fbc | |||
| f15ee2c6cf | |||
| 30369cc952 | |||
| 8a089708dc | |||
| e3da56e455 | |||
| bab4910ee0 | |||
| 8301d610cb | |||
| 6887b7de7e | |||
| ab4667546a | |||
| 08233c9e25 | |||
| be7bdc14b6 | |||
| 11d488e999 | |||
| 5f023281b0 | |||
| a224ac3dcd | |||
| 598b2a30fe | |||
| eb5a71a6f1 | |||
| e1198d0dc9 | |||
| 08828d609d | |||
| 281d5f87c1 | |||
| 282cfe4dbd | |||
| 59536ee63a | |||
| 2dda05f22c | |||
| 1354ca1d2a | |||
| 94e69c9774 | |||
| 5a85bc41ea | |||
| bd9e7ea726 | |||
| aa861be53d | |||
| 52387a40e6 | |||
| dd4c5e17ff |
@@ -21,7 +21,6 @@
|
||||
import { selection } from '$lib/logic/selection';
|
||||
import { untrack } from 'svelte';
|
||||
import { isSelected, toggle } from '$lib/components/map/layer-control/utils';
|
||||
import { boundsManager } from '$lib/logic/bounds';
|
||||
|
||||
let {
|
||||
useHash = true,
|
||||
@@ -91,7 +90,6 @@
|
||||
fileStateCollection.setEmbeddedFiles(files);
|
||||
$fileOrder = ids;
|
||||
selection.selectAll();
|
||||
boundsManager.fitBoundsOnLoad(ids);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,6 @@ export class StyleManager {
|
||||
opacities.subscribe(() => this.updateOverlays());
|
||||
terrainSource.subscribe(() => this.updateTerrain());
|
||||
customLayers.subscribe(() => this.updateBasemap());
|
||||
i18n.subscribe(() => this.updateBasemap());
|
||||
distanceUnits.subscribe(() => {
|
||||
const map = get(this._map);
|
||||
if (map && (map.getLayer('contours_m') || map.getLayer('contours_ft'))) {
|
||||
|
||||
@@ -50,5 +50,5 @@ Um die Ausrichtung und Neigung der Karte zu steuern, können Sie die Karte auch
|
||||
|
||||
### <Maximize2 size="16" class="inline-block" style="margin-bottom: 2px" /> Full screen
|
||||
|
||||
Vollbildmodus ein- oder ausschalten.
|
||||
Du kannst auch <kbd>F11</kbd> drücken, um zu wechseln, oder <kbd>Escape</kbd> zum Beenden.
|
||||
Enter or exit full screen mode.
|
||||
You can also press <kbd>F11</kbd> to toggle, or <kbd>Escape</kbd> to exit.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
type Dictionary = {
|
||||
[key: string]: string | Dictionary;
|
||||
};
|
||||
@@ -12,7 +10,6 @@ function getDateFormatter(locale: string) {
|
||||
}
|
||||
|
||||
class Locale {
|
||||
private _store = writable(this);
|
||||
private _lang = $state('');
|
||||
private _isLoadingInitial = $state(true);
|
||||
private _isLoading = $state(true);
|
||||
@@ -41,7 +38,6 @@ class Locale {
|
||||
}
|
||||
import(`../locales/${this._lang}.json`).then((module) => {
|
||||
this.dictionary = module.default;
|
||||
this._store.set(this);
|
||||
if (this._isLoadingInitial) {
|
||||
this._isLoadingInitial = false;
|
||||
}
|
||||
@@ -71,10 +67,6 @@ class Locale {
|
||||
public get df() {
|
||||
return this._df;
|
||||
}
|
||||
|
||||
public subscribe(run: (value: Locale) => void, invalidate?: (value?: Locale) => void) {
|
||||
return this._store.subscribe(run, invalidate);
|
||||
}
|
||||
}
|
||||
|
||||
export const i18n = new Locale();
|
||||
|
||||
@@ -10,6 +10,5 @@ export const languages: Record<string, string> = {
|
||||
nl: 'Nederlands',
|
||||
'pt-BR': 'Português (Brasil)',
|
||||
tr: 'Türkçe',
|
||||
uk: 'Українська',
|
||||
zh: '简体中文',
|
||||
};
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
"switch_basemap": "Zur vorherigen Basemap wechseln",
|
||||
"toggle_overlays": "Overlay umschalten",
|
||||
"toggle_3d": "3D umschalten",
|
||||
"fullscreen": "Vollbildmodus",
|
||||
"fullscreen": "Full screen",
|
||||
"settings": "Einstellungen",
|
||||
"distance_units": "Entfernungseinheiten",
|
||||
"metric": "Metrisch",
|
||||
@@ -235,7 +235,7 @@
|
||||
},
|
||||
"elevation": {
|
||||
"button": "Höhendaten anfragen",
|
||||
"help": "Das Anfordern von Höhendaten löscht die vorhandenen Höhendaten, falls vorhanden, und ersetzt diese durch Daten von Mapterhorn.",
|
||||
"help": "Requesting elevation data will erase the existing elevation data, if any, and replace it with data from Mapterhorn.",
|
||||
"help_no_selection": "Wählen Sie ein Datei-Element, um Höhendaten anzufordern."
|
||||
},
|
||||
"waypoint": {
|
||||
@@ -305,7 +305,7 @@
|
||||
"united_kingdom": "Großbritannien",
|
||||
"united_states": "USA",
|
||||
"libertyTopo": "Liberty Topo",
|
||||
"libertySatellite": "Liberty Satellit",
|
||||
"libertySatellite": "Liberty Satellite",
|
||||
"osm": "OpenMapTiles OSM",
|
||||
"osmTopo": "OpenMapTiles OSM Topo",
|
||||
"esriSatellite": "Esri Satellite",
|
||||
|
||||
+18
-18
@@ -36,7 +36,7 @@
|
||||
"switch_basemap": "Aldatu aurreko mapa erabiltzera",
|
||||
"toggle_overlays": "Txandakatu geruzak",
|
||||
"toggle_3d": "Txandakatu 3D",
|
||||
"fullscreen": "Pantaila osoa",
|
||||
"fullscreen": "Full screen",
|
||||
"settings": "Ezarpenak",
|
||||
"distance_units": "Distantzia unitateak",
|
||||
"metric": "Metrikoa",
|
||||
@@ -64,7 +64,7 @@
|
||||
"ctrl": "Ctrl",
|
||||
"click": "Klik",
|
||||
"drag": "Arrastatu",
|
||||
"right_click_drag": "Eskuin klik eta errestan eraman",
|
||||
"right_click_drag": "Right-click drag",
|
||||
"metadata": {
|
||||
"button": "Informazioa...",
|
||||
"name": "Izena",
|
||||
@@ -192,8 +192,8 @@
|
||||
"from": "Hasiera puntua errepide hurbilenetik oso hurrun dago",
|
||||
"via": "Puntua errepide hurbilenetik oso hurrun dago",
|
||||
"to": "Bukaera puntua errepide hurbilenetik oso hurrun dago",
|
||||
"distance": "Bukaera-puntua hasiera-puntutik urrutiegi dago",
|
||||
"connection": "Ez da konexiorik topatu puntuen artean",
|
||||
"distance": "The end point is too far from the start point",
|
||||
"connection": "No connection found between the points",
|
||||
"timeout": "Ibilbidea kalkulatzea luzeegi joan da, saiatu hurbilago dauden puntuak gehitzen"
|
||||
}
|
||||
},
|
||||
@@ -235,7 +235,7 @@
|
||||
},
|
||||
"elevation": {
|
||||
"button": "Eskatu altueraren datuak",
|
||||
"help": "Kota-datuak eskatzeak lehendik dauden kota-datuak ezabatuko ditu, halakorik balego, eta Mapterhorn-eko datuekin ordezkatuko dira.",
|
||||
"help": "Requesting elevation data will erase the existing elevation data, if any, and replace it with data from Mapterhorn.",
|
||||
"help_no_selection": "Aukeratu fitxategi bat altuera datuak eskatzeko."
|
||||
},
|
||||
"waypoint": {
|
||||
@@ -277,7 +277,7 @@
|
||||
"new": "Geruza pertsonalizatu berria",
|
||||
"edit": "Editatu geruza pertsonalizatua",
|
||||
"urls": "URLa(k)",
|
||||
"url_placeholder": "WMTS, WMS edo MapLibre estiloko JSON",
|
||||
"url_placeholder": "WMTS, WMS or MapLibre style JSON",
|
||||
"max_zoom": "Zoom max",
|
||||
"layer_type": "Geruza mota",
|
||||
"basemap": "Oinarrizko-mapa",
|
||||
@@ -305,7 +305,7 @@
|
||||
"united_kingdom": "Erresuma Batua",
|
||||
"united_states": "Ameriketako Estatu Batuak",
|
||||
"libertyTopo": "Liberty Topo",
|
||||
"libertySatellite": "Liberty Satelitea",
|
||||
"libertySatellite": "Liberty Satellite",
|
||||
"osm": "OpenMapTiles OSM",
|
||||
"osmTopo": "OpenMapTiles OSM Topo",
|
||||
"esriSatellite": "Esri Satellite",
|
||||
@@ -494,7 +494,7 @@
|
||||
"email": "Eposta",
|
||||
"contribute": "Lagundu",
|
||||
"supported_by": "hauek lagunduta",
|
||||
"features": "Funtzioak",
|
||||
"features": "Features",
|
||||
"route_planning": "Bideak planifikatzea",
|
||||
"route_planning_description": "OpenStreetMapen datuetan oinarritutako interfaze erabilterraza kirol bakoitzerako ibilbideak sortzeko.",
|
||||
"file_processing": "Fitxategien prozesaketa aurreratua",
|
||||
@@ -503,15 +503,15 @@
|
||||
"maps_description": "Oinarrizko mapa, geruza eta interes-puntuen bilduma zabala. Zure aire-libreko ekintzak planifikatzen lagunduko dizu!",
|
||||
"data_visualization": "Datuak bistaratzea",
|
||||
"data_visualization_description": "Grabatutako ekintzak edo etorkizuneko zure bideak aztertzeko altuera-profil interaktiboa.",
|
||||
"philosophy": "Filosofia",
|
||||
"foss": "Doakoa, propagandarik gabe eta kode irekikoa",
|
||||
"foss_description": "Webgunea doakoa da, iragarkirik gabe, eta iturburu-kodea publikoki eskuragarri dago GitHub-en.",
|
||||
"privacy": "Pribatutasuna zaintzen du",
|
||||
"privacy_description": "Zure GPX fitxategiak ez dira inoiz zure nabigatzailetik irteten. Ez dago jarraipenik, ez datu-bilketarik.",
|
||||
"community": "Komunitateak posible egin du",
|
||||
"community_description": "gpx.studio-k komunitate harrigarri bat du, urte luzez dohaintzen bidez bere kostuak estali dituena, proiektuaren ezaugarri-iradokizunen, akatsen txostenen eta hizkuntza askotarako itzulpenen bidez moldatu dena.",
|
||||
"support_button": "Lagundu gpx.studio Open Collectiveren bidez",
|
||||
"translate_button": "Lagundu webgunea itzultzen Crowdin-en"
|
||||
"philosophy": "Philosophy",
|
||||
"foss": "Free, ad-free and open source",
|
||||
"foss_description": "The website is free to use, without ads, and the source code is publicly available on GitHub.",
|
||||
"privacy": "Privacy-friendly",
|
||||
"privacy_description": "Your GPX files never leave your browser. No tracking, no data collection.",
|
||||
"community": "Made possible by the community",
|
||||
"community_description": "gpx.studio has an amazing community that has covered its costs through donations for years, while shaping the project through feature suggestions, bug reports, and translations into many languages.",
|
||||
"support_button": "Support gpx.studio on Open Collective",
|
||||
"translate_button": "Help translate the website on Crowdin"
|
||||
},
|
||||
"docs": {
|
||||
"translate": "Lagundu itzulpenarekin Crowdinen",
|
||||
@@ -536,7 +536,7 @@
|
||||
},
|
||||
"embedding": {
|
||||
"title": "Sortu zure mapa",
|
||||
"maptiler_key": "MapTiler gakoa (aukeran, bakarrik behar da MapTiler mapetan)",
|
||||
"maptiler_key": "MapTiler key (optional, only required for MapTiler maps)",
|
||||
"file_urls": "Fitxategien URLak (komarekin banatuta)",
|
||||
"drive_ids": "Google Drive fitxategien IDak (komarekin banatuta)",
|
||||
"basemap": "Oinarrizko-mapa",
|
||||
|
||||
Reference in New Issue
Block a user