Skip to content

Commit

Permalink
Add hilariously incorrect German, Spanish, French, Japanese, Portugue…
Browse files Browse the repository at this point in the history
…se and Chinese localization files
  • Loading branch information
texodus committed Mar 12, 2024
1 parent 7d2be2a commit 7b2aead
Show file tree
Hide file tree
Showing 8 changed files with 607 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/perspective-viewer/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ fn main() -> Result<(), anyhow::Error> {
build.add_file("gruvbox-dark.less");
build.add_file("dracula.less");
build.add_file("themes.less");
build.add_file("intl/de.less");
build.add_file("intl/es.less");
build.add_file("intl/fr.less");
build.add_file("intl/ja.less");
build.add_file("intl/pt.less");
build.add_file("intl/zh.less");
build.compile()?.write("./target/themes")?;
}

Expand Down
97 changes: 97 additions & 0 deletions rust/perspective-viewer/src/themes/intl/de.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
// ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors. ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

perspective-viewer,
perspective-dropdown {
// Config
--group-by-label--content: "Gruppiere nach";
--split-by-label--content: "Geteilt nach";
--sort-label--content: "Sortieren nach";
--filter-label--content: "Wo";
--transpose-button--content: "Tauschen";
--config-button-icon--content: "Konfigurieren";
--all-columns-label--content: "Alle Spalten";
--untitled--content: "Ohne Titel";

// Plugin names
--plugin-name-datagrid--content: "Datengitter";
--plugin-name-treemap--content: "Baumkarte";
--plugin-name-sunburst--content: "Sonnendurchbruch";
--plugin-name-heatmap--content: "Heatmap";
--plugin-name-x-bar--content: "X-Bar";
--plugin-name-y-bar--content: "Und Bar";
--plugin-name-y-line--content: "und Linie";
--plugin-name-x-y-line--content: "X/Y-Linie";
--plugin-name-x-y-scatter--content: "X/Y-Streuung";
--plugin-name-y-scatter--content: "Y-Scatter";
--plugin-name-y-area--content: "und Bereich";
--plugin-name-ohlc--content: "Autsch";
--plugin-name-candlestick--content: "Leuchter";

// Column Selector names
--column-selector-column-columns--content: "Säulen";
--column-selector-column-x-axis--content: "X-Achse";
--column-selector-column-y-axis--content: "Y-Achse";
--column-selector-column-color--content: "Farbe";
--column-selector-column-size--content: "Größe";
--column-selector-column-symbol--content: "Symbol";
--column-selector-column-label--content: "Etikett";
--column-selector-column-tooltip--content: "Tooltip";
--add-expression-button--content: "Neue Spalte";

// Toolbar
--no-results--content: "Ungültige Spalte";
--datagrid-column-edit-button--content: "Bearbeiten";
--copy-button--content: "Kopieren";
--export-button--content: "Export";
--reset-button--content: "Zurücksetzen";
--edit-mode-toggle--content: "Schreibgeschützt";
--edit-mode-alt-toggle--content: "Editbale";
--scroll-lock-toggle--content: "Kostenlose Schriftrolle";
--scroll-lock-alt-toggle--content: "Bildlauf ausrichten";

// Column Settings
--color-label--content: "Farbe";
--format-label--content: "Format";
--timezone-label--content: "Zeitzone";
--date-style-label--content: "Datumsstil";
--time-style-label--content: "Zeitstil";
--foreground-label--content: "Vordergrund";
--background-label--content: "Hintergrund";
--series-label--content: "Serie";
--color-range-label--content: "Farbspektrum";
--style-label--content: "Stil";
--minimum-integer-digits-label--content: "Mindestanzahl ganzzahliger Ziffern";
--rounding-increment-label--content: "Rundungsinkrement";
--notation-label--content: "Notation";
--use-grouping-label--content: "Verwenden Sie Gruppierung";
--sign-display-label--content: "Schilderanzeige";
--max-value-label--content: "Maximaler Wert";
--rounding-priority-label--content: "Rundungspriorität";
--rounding-mode-label--content: "Rundungsmodus";
--trailing-zero-display-label--content: "Anzeige der nachgestellten Null";
--fractional-digits-label--content: "Bruchstellen";
--significant-digits-label--content: "Wichtige Ziffer";
--year-label--content: "Jahr";
--month-label--content: "Monat";
--day-label--content: "Tag";
--weekday-label--content: "Wochentag";
--hour-label--content: "Stunde";
--minute-label--content: "Minute";
--second-label--content: "Zweite";
--fractional-seconds-label--content: "Sekundenbruchteile";
--hours-label--content: "12/24 Stunden";

// Tabs
--style-tab-label--content: "Stil";
--attributes-tab-label--content: "Attribute";
}
97 changes: 97 additions & 0 deletions rust/perspective-viewer/src/themes/intl/es.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
// ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors. ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

perspective-viewer,
perspective-dropdown {
// Config
--group-by-label--content: "Agrupar por";
--split-by-label--content: "Dividir por";
--sort-label--content: "Ordenar por";
--filter-label--content: "Dónde";
--transpose-button--content: "Intercambio";
--config-button-icon--content: "Configurar";
--all-columns-label--content: "Todas las columnas";
--untitled--content: "Intitulado";

// Plugin names
--plugin-name-datagrid--content: "Cuadrícula de datos";
--plugin-name-treemap--content: "Mapa de árbol";
--plugin-name-sunburst--content: "resplandor solar";
--plugin-name-heatmap--content: "Mapa de calor";
--plugin-name-x-bar--content: "Barra X";
--plugin-name-y-bar--content: "Y Bar";
--plugin-name-y-line--content: "Y Line";
--plugin-name-x-y-line--content: "Línea X/Y";
--plugin-name-x-y-scatter--content: "Dispersión X/Y";
--plugin-name-y-scatter--content: "Dispersión Y";
--plugin-name-y-area--content: "Y Area";
--plugin-name-ohlc--content: "Ay";
--plugin-name-candlestick--content: "Candelero";

// Column Selector names
--column-selector-column-columns--content: "columnas";
--column-selector-column-x-axis--content: "Eje X";
--column-selector-column-y-axis--content: "Y Axis";
--column-selector-column-color--content: "Color";
--column-selector-column-size--content: "Tamaño";
--column-selector-column-symbol--content: "Símbolo";
--column-selector-column-label--content: "Etiqueta";
--column-selector-column-tooltip--content: "Información sobre herramientas";
--add-expression-button--content: "Nueva columna";

// Toolbar
--no-results--content: "Columna no válida";
--datagrid-column-edit-button--content: "Editar";
--copy-button--content: "Copiar";
--export-button--content: "Exportar";
--reset-button--content: "Reiniciar";
--edit-mode-toggle--content: "Solo lectura";
--edit-mode-alt-toggle--content: "Editable";
--scroll-lock-toggle--content: "Desplazamiento libre";
--scroll-lock-alt-toggle--content: "Alinear desplazamiento";

// Column Settings
--color-label--content: "Color";
--format-label--content: "Formato";
--timezone-label--content: "Zona horaria";
--date-style-label--content: "Estilo de fecha";
--time-style-label--content: "Estilo de hora";
--foreground-label--content: "Primer plano";
--background-label--content: "Fondo";
--series-label--content: "Serie";
--color-range-label--content: "Gama de colores";
--style-label--content: "Estilo";
--minimum-integer-digits-label--content: "Dígitos enteros mínimos";
--rounding-increment-label--content: "Incremento de redondeo";
--notation-label--content: "Notación";
--use-grouping-label--content: "Usar agrupación";
--sign-display-label--content: "Visualización de letreros";
--max-value-label--content: "Valor máximo";
--rounding-priority-label--content: "Prioridad de redondeo";
--rounding-mode-label--content: "Modo de redondeo";
--trailing-zero-display-label--content: "Visualización del cero final";
--fractional-digits-label--content: "Dígitos fraccionarios";
--significant-digits-label--content: "Dígitos significantes";
--year-label--content: "Año";
--month-label--content: "Mes";
--day-label--content: "Día";
--weekday-label--content: "Día laborable";
--hour-label--content: "Hora";
--minute-label--content: "Minuto";
--second-label--content: "Segundo";
--fractional-seconds-label--content: "Segundos fraccionarios";
--hours-label--content: "12/24 Horas";

// Tabs
--style-tab-label--content: "Estilo";
--attributes-tab-label--content: "Atributos";
}
97 changes: 97 additions & 0 deletions rust/perspective-viewer/src/themes/intl/fr.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
// ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
// ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
// ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
// ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
// ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
// ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
// ┃ Copyright (c) 2017, the Perspective Authors. ┃
// ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
// ┃ This file is part of the Perspective library, distributed under the terms ┃
// ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
// ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

perspective-viewer,
perspective-dropdown {
// Config
--group-by-label--content: "Par groupe";
--split-by-label--content: "Divisé par";
--sort-label--content: "Commandé par";
--filter-label--content: "";
--transpose-button--content: "Échanger";
--config-button-icon--content: "Configurer";
--all-columns-label--content: "Toutes les colonnes";
--untitled--content: "Sans titre";

// Plugin names
--plugin-name-datagrid--content: "Grille de données";
--plugin-name-treemap--content: "Treemap";
--plugin-name-sunburst--content: "Coup de soleil";
--plugin-name-heatmap--content: "Carte de chaleur";
--plugin-name-x-bar--content: "Barre X";
--plugin-name-y-bar--content: "Et le bar";
--plugin-name-y-line--content: "et ligne";
--plugin-name-x-y-line--content: "Ligne X/Y";
--plugin-name-x-y-scatter--content: "Dispersion X/Y";
--plugin-name-y-scatter--content: "Dispersion Y";
--plugin-name-y-area--content: "et la superficie";
--plugin-name-ohlc--content: "Aie";
--plugin-name-candlestick--content: "Chandelier";

// Column Selector names
--column-selector-column-columns--content: "Colonnes";
--column-selector-column-x-axis--content: "Axe X";
--column-selector-column-y-axis--content: "Axe Y";
--column-selector-column-color--content: "Couleur";
--column-selector-column-size--content: "Taille";
--column-selector-column-symbol--content: "Symbole";
--column-selector-column-label--content: "Étiquette";
--column-selector-column-tooltip--content: "Info-bulle";
--add-expression-button--content: "Nouvelle colonne";

// Toolbar
--no-results--content: "Colonne invalide";
--datagrid-column-edit-button--content: "Modifier";
--copy-button--content: "Copie";
--export-button--content: "Exporter";
--reset-button--content: "Réinitialiser";
--edit-mode-toggle--content: "Lecture seulement";
--edit-mode-alt-toggle--content: "Editbale";
--scroll-lock-toggle--content: "Défilement gratuit";
--scroll-lock-alt-toggle--content: "Aligner le défilement";

// Column Settings
--color-label--content: "Couleur";
--format-label--content: "Format";
--timezone-label--content: "Fuseau horaire";
--date-style-label--content: "Style de date";
--time-style-label--content: "Style temporel";
--foreground-label--content: "Premier plan";
--background-label--content: "Arrière-plan";
--series-label--content: "Série";
--color-range-label--content: "Gamme de couleurs";
--style-label--content: "Style";
--minimum-integer-digits-label--content: "Chiffres entiers minimaux";
--rounding-increment-label--content: "Incrément d'arrondi";
--notation-label--content: "Notation";
--use-grouping-label--content: "Utiliser le regroupement";
--sign-display-label--content: "Affichage des panneaux";
--max-value-label--content: "Valeur max";
--rounding-priority-label--content: "Priorité d'arrondi";
--rounding-mode-label--content: "Mode d'arrondi";
--trailing-zero-display-label--content: "Affichage du zéro final";
--fractional-digits-label--content: "Chiffres fractionnaires";
--significant-digits-label--content: "Chiffres significatifs";
--year-label--content: "Année";
--month-label--content: "Mois";
--day-label--content: "Jour";
--weekday-label--content: "Jour de la semaine";
--hour-label--content: "Heure";
--minute-label--content: "Minute";
--second-label--content: "Deuxième";
--fractional-seconds-label--content: "Fractions de secondes";
--hours-label--content: "12/24 heures";

// Tabs
--style-tab-label--content: "Style";
--attributes-tab-label--content: "Les attributs";
}
Loading

0 comments on commit 7b2aead

Please sign in to comment.