From bccef428af9fff2b96ba4e37a8d3a08ed1ca3a19 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 09:47:02 +0200 Subject: [PATCH 1/8] Fix translation key --- src/fontra/views/fontinfo/panel-font-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontra/views/fontinfo/panel-font-info.js b/src/fontra/views/fontinfo/panel-font-info.js index 8a120d3a0..12894d6ca 100644 --- a/src/fontra/views/fontinfo/panel-font-info.js +++ b/src/fontra/views/fontinfo/panel-font-info.js @@ -15,7 +15,7 @@ const fontInfoFields = [ ["designer", "font-info.designer", "edit-text"], ["designerURL", "font-info.designer.url", "edit-text"], ["manufacturer", "font-info.manufacturer", "edit-text"], - ["manufacturerURL", "font-infomanufacturer.url", "edit-text"], + ["manufacturerURL", "font-info.manufacturer.url", "edit-text"], ["licenseDescription", "font-info.licensedescription", "edit-text"], ["licenseInfoURL", "font-info.licenseinfo.url", "edit-text"], ["vendorID", "font-info.vendorid", "edit-text"], From 939cadc9610795f6f7ddabd30951670b4775c76e Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:03:09 +0200 Subject: [PATCH 2/8] Import some Dutch edits --- src/fontra/client/lang/en.js | 7 ++- src/fontra/client/lang/nl.js | 75 ++++++++++++++++----------------- src/fontra/client/lang/zh-CN.js | 3 +- 3 files changed, 41 insertions(+), 44 deletions(-) diff --git a/src/fontra/client/lang/en.js b/src/fontra/client/lang/en.js index 5b7860b92..e1e2dadeb 100644 --- a/src/fontra/client/lang/en.js +++ b/src/fontra/client/lang/en.js @@ -100,8 +100,8 @@ export const strings = { "editor.pointer-tool-scale": "Pointer Tool (Scaling edit tool behavior)", "editor.power-ruler-tool": "Power Ruler Tool", "editor.shape-tool": "Shape Tool", - "editor.shape-tool-ellipse": "Shape Tool Ellipse", - "editor.shape-tool-rectangle": "Shape Tool Rectangle", + "editor.shape-tool-ellipse": "Ellipse Tool", + "editor.shape-tool-rectangle": "Rectangle Tool", "font-info.copyright": "Copyright", "font-info.description": "Description", "font-info.designer": "Designer", @@ -110,13 +110,13 @@ export const strings = { "font-info.licensedescription": "License description", "font-info.licenseinfo.url": "License info URL", "font-info.manufacturer": "Manufacturer", + "font-info.manufacturer.url": "Manufacturer URL", "font-info.sampletext": "Sample text", "font-info.title": "Font Info", "font-info.trademark": "Trademark", "font-info.vendorid": "Vendor ID", "font-info.version.major": "Version Major", "font-info.version.minor": "Version Minor", - "font-infomanufacturer.url": "Manufacturer URL", "language.en": "English", "language.zh-cn": "Simplified Chinese", "menubar.edit": "Edit", @@ -126,7 +126,6 @@ export const strings = { "menubar.file.new": "New...", "menubar.file.open": "Open...", "menubar.font": "Font", - "menubar.font.edit": "Edit Font Info, Axes and Sources", "menubar.fontra.application-settings": "Application Settings", "menubar.glyph": "Glyph", "menubar.glyph.add": "Add source...", diff --git a/src/fontra/client/lang/nl.js b/src/fontra/client/lang/nl.js index 0c71b68d8..99477d25c 100644 --- a/src/fontra/client/lang/nl.js +++ b/src/fontra/client/lang/nl.js @@ -6,7 +6,7 @@ export const strings = { "action-topics.glyph-editor-appearance": "Glyph editor uiterlijk", "action-topics.menu.edit": "Wijzig", "action-topics.menu.view": "Weergave", - "action-topics.selection-transformations": "Selection Transformations", + "action-topics.selection-transformations": "Selectie transformaties ", "action-topics.sidebars": "Zijbalken", "action-topics.tools": "Gereedschappen", "action.add-anchor": "Voeg anker toe", @@ -85,58 +85,57 @@ export const strings = { "Wijzig alle compatibele sources", "dialog.add": "Voeg toe", "dialog.cancel": "Annuleren", - "dialog.create": "Maak", + "dialog.create": "Creëer", "dialog.create-new-glyph.body": 'Click "Create" if you want to create a new glyph named "%0"%1.', "dialog.create-new-glyph.body.2": ' for character "%0" (%1)', "dialog.create-new-glyph.title": 'Create a new glyph "%0"?', "dialog.glyphs.search": "Search glyphs", - "dialog.replace": "Replace", - "editor.hand-tool": "Hand Tool", - "editor.knife-tool": "Knife Tool", - "editor.pen-tool": "Pen Tool", - "editor.pen-tool-cubic": "Pen Tool (cubic)", - "editor.pen-tool-quad": "Pen Tool (quadratic)", - "editor.pointer-tool": "Pointer Tool", - "editor.pointer-tool-scale": "Pointer Tool (Scaling edit tool behavior)", - "editor.power-ruler-tool": "Power Ruler Tool", - "editor.shape-tool": "Shape Tool", - "editor.shape-tool-ellipse": "Shape Tool Ellipse", - "editor.shape-tool-rectangle": "Shape Tool Rectangle", + "dialog.replace": "Vervang", + "editor.hand-tool": "Hand gereedchap", + "editor.knife-tool": "Mes gereedschap", + "editor.pen-tool": "Pen gereedschap", + "editor.pen-tool-cubic": "Pen gereedschap (cubic)", + "editor.pen-tool-quad": "Pen gereedschap (quadratic)", + "editor.pointer-tool": "Pointer gereedschap", + "editor.pointer-tool-scale": "Pointer gereedschap (schalend edit gedrag)", + "editor.power-ruler-tool": "Power Ruler gereedschap", + "editor.shape-tool": "Vorm gereedschap", + "editor.shape-tool-ellipse": "Ellips gereedschap", + "editor.shape-tool-rectangle": "Rechthoek gereedschap", "font-info.copyright": "Copyright", - "font-info.description": "Description", - "font-info.designer": "Designer", - "font-info.designer.url": "Designer URL", - "font-info.familyname": "Family name", - "font-info.licensedescription": "License description", - "font-info.licenseinfo.url": "License info URL", - "font-info.manufacturer": "Manufacturer", - "font-info.sampletext": "Sample text", + "font-info.description": "Beschrijving", + "font-info.designer": "Ontwerper", + "font-info.designer.url": "Ontwerper URL", + "font-info.familyname": "Familienaam", + "font-info.licensedescription": "Licensie beschrijving", + "font-info.licenseinfo.url": "Licensie info URL", + "font-info.manufacturer": "Fabrikant", + "font-info.manufacturer.url": "Fabrikant URL", + "font-info.sampletext": "Voorbeeld tekst", "font-info.title": "Font Info", "font-info.trademark": "Trademark", "font-info.vendorid": "Vendor ID", - "font-info.version.major": "Version Major", - "font-info.version.minor": "Version Minor", - "font-infomanufacturer.url": "Manufacturer URL", + "font-info.version.major": "Versie major", + "font-info.version.minor": "Versie minor", "language.en": "English", "language.zh-cn": "Simplified Chinese", - "menubar.edit": "Edit", - "menubar.extensions": "Extensions", - "menubar.file": "File", - "menubar.file.export-as": "Export as", - "menubar.file.new": "New...", + "menubar.edit": "Wijzig", + "menubar.extensions": "Extensies", + "menubar.file": "Archief", + "menubar.file.export-as": "Exporteer als", + "menubar.file.new": "Nieuw...", "menubar.file.open": "Open...", "menubar.font": "Font", - "menubar.font.edit": "Edit Font Info, Axes and Sources", - "menubar.fontra.application-settings": "Application Settings", + "menubar.fontra.application-settings": "Applicatie instellingen", "menubar.glyph": "Glyph", - "menubar.glyph.add": "Add source...", - "menubar.glyph.delete": "Delete source...", - "menubar.glyph.edit-axes": "Edit glyph axes...", + "menubar.glyph.add": "Voeg source toe...", + "menubar.glyph.delete": "Verwijder source...", + "menubar.glyph.edit-axes": "Wijzig glyph assen...", "menubar.help": "Help", - "menubar.help.documentation": "Documentation", - "menubar.help.homepage": "Homepage", - "menubar.view": "View", + "menubar.help.documentation": "Documentatie", + "menubar.help.homepage": "Thuispagina", + "menubar.view": "Weergave", "menubar.view.add-glyph-after-selected-glyph": "Add glyph after selected glyph", "menubar.view.add-glyph-before-selected-glyph": "Add glyph before selected glyph", "menubar.view.find-glyphs-that-use": "Find glyphs that use '%0'", diff --git a/src/fontra/client/lang/zh-CN.js b/src/fontra/client/lang/zh-CN.js index 5abcf6449..ee35f8052 100644 --- a/src/fontra/client/lang/zh-CN.js +++ b/src/fontra/client/lang/zh-CN.js @@ -109,13 +109,13 @@ export const strings = { "font-info.licensedescription": "授权许可", "font-info.licenseinfo.url": "授权许可网址", "font-info.manufacturer": "生产商", + "font-info.manufacturer.url": "生产商网址", "font-info.sampletext": "示例文本", "font-info.title": "字体信息", "font-info.trademark": "商标", "font-info.vendorid": "供应商标识符", "font-info.version.major": "主要版本号", "font-info.version.minor": "次要版本号", - "font-infomanufacturer.url": "生产商网址", "language.en": "英语", "language.zh-cn": "简体中文", "menubar.edit": "编辑", @@ -125,7 +125,6 @@ export const strings = { "menubar.file.new": "新建……", "menubar.file.open": "打开……", "menubar.font": "字体", - "menubar.font.edit": "编辑字体信息、参数轴和源", "menubar.fontra.application-settings": "Application Settings", "menubar.glyph": "字符形", "menubar.glyph.add": "添加源……", From d3794f449cf686b69972bb7872c1f22951d55809 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:13:57 +0200 Subject: [PATCH 3/8] Fix some keys --- src/fontra/views/editor/panel-reference-font.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fontra/views/editor/panel-reference-font.js b/src/fontra/views/editor/panel-reference-font.js index 196680b93..061d9ee15 100644 --- a/src/fontra/views/editor/panel-reference-font.js +++ b/src/fontra/views/editor/panel-reference-font.js @@ -666,8 +666,8 @@ export default class ReferenceFontPanel extends Panel { id: "reference-font", }, [ - div({ class: "title" }, [translate("sidebar.referencefont")]), - div({}, [translate("sidebar.referencefont.info")]), + div({ class: "title" }, [translate("sidebar.reference-font")]), + div({}, [translate("sidebar.reference-font.info")]), this.filesUIList, div( { @@ -681,7 +681,7 @@ export default class ReferenceFontPanel extends Panel { [ label( { for: "char-override" }, - translate("sidebar.referencefont.customcharacter") + translate("sidebar.reference-font.customcharacter") ), input({ type: "text", @@ -691,7 +691,7 @@ export default class ReferenceFontPanel extends Panel { }), label( { for: "language-code" }, - translate("sidebar.referencefont.language") + translate("sidebar.reference-font.language") ), this.languageCodeInput, ] From be836ec9f8ab77b36480a358ab8363625106b5f5 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:14:35 +0200 Subject: [PATCH 4/8] Fix some keys --- src/fontra/views/editor/panel-reference-font.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontra/views/editor/panel-reference-font.js b/src/fontra/views/editor/panel-reference-font.js index 061d9ee15..42c8bc99e 100644 --- a/src/fontra/views/editor/panel-reference-font.js +++ b/src/fontra/views/editor/panel-reference-font.js @@ -681,7 +681,7 @@ export default class ReferenceFontPanel extends Panel { [ label( { for: "char-override" }, - translate("sidebar.reference-font.customcharacter") + translate("sidebar.reference-font.custom-character") ), input({ type: "text", From 83c98e6f43c2a68fef01940182d6100a5a294f3a Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:16:19 +0200 Subject: [PATCH 5/8] Fix header assert --- scripts/rebuild_languages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rebuild_languages.py b/scripts/rebuild_languages.py index 16ff727ca..1486365ba 100644 --- a/scripts/rebuild_languages.py +++ b/scripts/rebuild_languages.py @@ -40,7 +40,7 @@ def downloadSheet(url): numHeaders = 5 headers = rows[:numHeaders] -assert headers[0][0] == "Documentation", headers[0][0] +assert headers[0][0] == "Go to Documentation", headers[0][0] assert headers[1][2] == "English", headers[1][2] assert headers[2][2] == "English", headers[2][2] assert headers[3][2] == "en", headers[3][2] From 47e518b01aa081f6e1816a3541c7e077501f6f73 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:16:35 +0200 Subject: [PATCH 6/8] Fix some keys and add some Dutch strings --- src/fontra/client/lang/en.js | 7 ++-- src/fontra/client/lang/nl.js | 57 ++++++++++++++++----------------- src/fontra/client/lang/zh-CN.js | 7 ++-- 3 files changed, 34 insertions(+), 37 deletions(-) diff --git a/src/fontra/client/lang/en.js b/src/fontra/client/lang/en.js index e1e2dadeb..65f763e6c 100644 --- a/src/fontra/client/lang/en.js +++ b/src/fontra/client/lang/en.js @@ -157,11 +157,10 @@ export const strings = { "sidebar.glyph-search": "Glyph Search", "sidebar.glyphs.search": "Search glyphs", "sidebar.reference-font": "Reference Font", - "sidebar.referencefont": "Reference font", - "sidebar.referencefont.customcharacter": "Custom character", - "sidebar.referencefont.info": + "sidebar.reference-font.custom-character": "Custom character", + "sidebar.reference-font.info": "Drop one or more .ttf, .otf, .woff or .woff2 files in the field below", - "sidebar.referencefont.language": "Language", + "sidebar.reference-font.language": "Language", "sidebar.related-glyphs": "Related Glyphs & Characters", "sidebar.related-glyphs.title": "Related Glyphs & Characters for %0", "sidebar.selection-info": "Selection Info", diff --git a/src/fontra/client/lang/nl.js b/src/fontra/client/lang/nl.js index 99477d25c..be8fece8b 100644 --- a/src/fontra/client/lang/nl.js +++ b/src/fontra/client/lang/nl.js @@ -95,8 +95,8 @@ export const strings = { "editor.hand-tool": "Hand gereedchap", "editor.knife-tool": "Mes gereedschap", "editor.pen-tool": "Pen gereedschap", - "editor.pen-tool-cubic": "Pen gereedschap (cubic)", - "editor.pen-tool-quad": "Pen gereedschap (quadratic)", + "editor.pen-tool-cubic": "Pen gereedschap (cubisch)", + "editor.pen-tool-quad": "Pen gereedschap (quadratisch)", "editor.pointer-tool": "Pointer gereedschap", "editor.pointer-tool-scale": "Pointer gereedschap (schalend edit gedrag)", "editor.power-ruler-tool": "Power Ruler gereedschap", @@ -157,30 +157,29 @@ export const strings = { "sidebar.glyph-note": "Glyph Note", "sidebar.glyph-search": "Glyph Search", "sidebar.glyphs.search": "Search glyphs", - "sidebar.reference-font": "Reference Font", - "sidebar.referencefont": "Reference font", - "sidebar.referencefont.customcharacter": "Custom character", - "sidebar.referencefont.info": + "sidebar.reference-font": "Referentiefont", + "sidebar.reference-font.custom-character": "Custom character", + "sidebar.reference-font.info": "Drop one or more .ttf, .otf, .woff or .woff2 files in the field below", - "sidebar.referencefont.language": "Language", + "sidebar.reference-font.language": "Taal", "sidebar.related-glyphs": "Related Glyphs & Characters", "sidebar.related-glyphs.title": "Related Glyphs & Characters for %0", "sidebar.selection-info": "Selection Info", - "sidebar.selection-info.advance-width": "Advance width", + "sidebar.selection-info.advance-width": "Zetbreedte", "sidebar.selection-info.component": "Component #%0", - "sidebar.selection-info.component.base-glyph": "Base glyph", - "sidebar.selection-info.component.center": "Center", - "sidebar.selection-info.component.rotation": "Rotation", - "sidebar.selection-info.component.scale": "Scale", + "sidebar.selection-info.component.base-glyph": "Basisglyph", + "sidebar.selection-info.component.center": "Middelpunt", + "sidebar.selection-info.component.rotation": "Rotatie", + "sidebar.selection-info.component.scale": "Schaal", "sidebar.selection-info.component.skew": "Skew", - "sidebar.selection-info.component.transformation": "Transformation", - "sidebar.selection-info.component.translate": "Translate", - "sidebar.selection-info.dimensions": "Dimensions", - "sidebar.selection-info.glyph-name": "Glyph name", + "sidebar.selection-info.component.transformation": "Transformatie", + "sidebar.selection-info.component.translate": "Translatie", + "sidebar.selection-info.dimensions": "Dimensies", + "sidebar.selection-info.glyph-name": "Glyphnaam", "sidebar.selection-info.multi-source": "Multi-source value changes are absolute", "sidebar.selection-info.sidebearings": "Sidebearings", - "sidebar.selection-info.title": "Glyph info", - "sidebar.selection-transformation": "Selection Transformation", + "sidebar.selection-info.title": "Glyphinformatie", + "sidebar.selection-transformation": "Selectie transformatie", "sidebar.selection-transformation.align": "Align Objects", "sidebar.selection-transformation.align.bottom": "Align bottom", "sidebar.selection-transformation.align.center": "Align center", @@ -233,17 +232,17 @@ export const strings = { "sidebar.user-settings.glyph.powerruler": "Power Ruler", "sidebar.user-settings.glyph.referencefont": "Reference font", "sidebar.user-settings.glyph.sidebearings": "Sidebearings for non-editing glyphs", - "sidebar.user-settings.glyph.statuscolor": "Development status color", + "sidebar.user-settings.glyph.statuscolor": "Onwikkelingsstatuskleur", "sidebar.user-settings.glyph.upmgrid": "Units-per-em grid", - "sidebar.user-settings.language": "Display language", - "sidebar.user-settings.server": "Server info", - "sidebar.user-settings.theme": "Theme settings", - "sidebar.user-settings.theme.auto": "Automatic (use OS setting)", - "sidebar.user-settings.theme.dark": "Dark", - "sidebar.user-settings.theme.light": "Light", + "sidebar.user-settings.language": "Weergavetaal", + "sidebar.user-settings.server": "Server informatie", + "sidebar.user-settings.theme": "Thema instellingen", + "sidebar.user-settings.theme.auto": "Automatisch (gebruik OS instelling)", + "sidebar.user-settings.theme.dark": "Donker", + "sidebar.user-settings.theme.light": "Licht", "sources.title": "Sources", - "toggle-fullscreen": "Toggle Fullscreen", - "zoom-fit-selection": "Zoom To Fit Selection", - "zoom-in": "Zoom In", - "zoom-out": "Zoom Out", + "toggle-fullscreen": "Schakel volledig scherm", + "zoom-fit-selection": "Zoom naar de selectie", + "zoom-in": "Zoom in", + "zoom-out": "Zoom uit", }; diff --git a/src/fontra/client/lang/zh-CN.js b/src/fontra/client/lang/zh-CN.js index ee35f8052..124d3f6a0 100644 --- a/src/fontra/client/lang/zh-CN.js +++ b/src/fontra/client/lang/zh-CN.js @@ -156,11 +156,10 @@ export const strings = { "sidebar.glyph-search": "字符形搜索", "sidebar.glyphs.search": "搜索字符形", "sidebar.reference-font": "参考字体", - "sidebar.referencefont": "参考字体", - "sidebar.referencefont.customcharacter": "自定义字符", - "sidebar.referencefont.info": + "sidebar.reference-font.custom-character": "自定义字符", + "sidebar.reference-font.info": "将一个或多个.ttf、.otf、.woff或.woff2字体文件拖放到下面的方框内", - "sidebar.referencefont.language": "语言", + "sidebar.reference-font.language": "语言", "sidebar.related-glyphs": "Related Glyphs & Characters", "sidebar.related-glyphs.title": "Related Glyphs & Characters for %0", "sidebar.selection-info": "选区信息", From bff4aa2ed45bfbd860d89fb7ec85dac3e65dc08b Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:31:28 +0200 Subject: [PATCH 7/8] Make script executable --- scripts/rebuild_languages.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 scripts/rebuild_languages.py diff --git a/scripts/rebuild_languages.py b/scripts/rebuild_languages.py old mode 100644 new mode 100755 index 1486365ba..962b7c1eb --- a/scripts/rebuild_languages.py +++ b/scripts/rebuild_languages.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import csv import io import json From 72d8a7bbd2fe010557ed2b02a9f4502c21bb0e48 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 14 Oct 2024 10:53:08 +0200 Subject: [PATCH 8/8] Add French, Chinese additions, some Dutch --- src/fontra/client/core/localization.js | 1 + src/fontra/client/lang/fr.js | 260 +++++++++++++++++++++++++ src/fontra/client/lang/zh-CN.js | 42 ++-- 3 files changed, 282 insertions(+), 21 deletions(-) create mode 100644 src/fontra/client/lang/fr.js diff --git a/src/fontra/client/core/localization.js b/src/fontra/client/core/localization.js index 1c245dcaf..c38552e46 100644 --- a/src/fontra/client/core/localization.js +++ b/src/fontra/client/core/localization.js @@ -4,6 +4,7 @@ import { ObservableController } from "./observable-object.js"; export const languages = [ { code: "en", langEn: "English", langLang: "English", status: "done" }, { code: "zh-CN", langEn: "Simplified Chinese", langLang: "简体中文", status: "beta" }, + { code: "fr", langEn: "French", langLang: "Français", status: "beta" }, { code: "nl", langEn: "Dutch", langLang: "Nederlands", status: "wip" }, ]; diff --git a/src/fontra/client/lang/fr.js b/src/fontra/client/lang/fr.js new file mode 100644 index 000000000..115bf498f --- /dev/null +++ b/src/fontra/client/lang/fr.js @@ -0,0 +1,260 @@ +// Don't edit this file: it is generated by scripts/rebuild_languages.py +// The strings are maintained here: https://docs.google.com/spreadsheets/d/1woTU8dZCHJh7yvdk-N1kgQBUj4Sn3SdRsbKgn6ltJQs/ +export const strings = { + "action-topics.designspace-navigation": "Navigation du designspace", + "action-topics.export-as": "Exporter sous", + "action-topics.glyph-editor-appearance": "Glyph édition apparence", + "action-topics.menu.edit": "Édition", + "action-topics.menu.view": "Vue", + "action-topics.selection-transformations": "Transformation de la sélection", + "action-topics.sidebars": "Barres latérales", + "action-topics.tools": "Outils", + "action.add-anchor": "Ajouter une ancre", + "action.add-component": "Ajouter un composant", + "action.add-guideline": "Ajouter un guide", + "action.break-contour": "Ouvrir le contour", + "action.close-contour": "Fermer %0 contour", + "action.close-contour.plural": "Fermer %0 contours", + "action.copy": "Copier", + "action.cut": "Couper", + "action.decompose-component": "Décomposer %0 composant", + "action.decompose-component.plural": "Décomposer %0 composants", + "action.delete": "Supprimer", + "action.delete-glyph": "Supprimer le glyph", + "action.delete-selection": "Supprimer la sélection", + "action.export-as.designspace": "Designspace + UFO (*.designspace)", + "action.export-as.fontra": "Fontra (*.fontra)", + "action.export-as.otf": "OpenType (*.otf)", + "action.export-as.rcjk": "RCJK (*.rcjk)", + "action.export-as.ttf": "TrueType (*.ttf)", + "action.export-as.ufo": "UFO (*.ufo)", + "action.join-contours": "Joindre les contours", + "action.lock-guidelines": "Vérouiller les guides", + "action.paste": "Coller", + "action.redo": "Revenir", + "action.reverse-contour": "Inverser la direction du contour", + "action.select-all": "Tout sélectionner", + "action.select-none": "Désélectionner", + "action.set-contour-start": "Définir comme point de départ", + "action.undo": "Annuler", + "application-settings.clipboard.title": "Presse-papier", + "application-settings.display-language.status.beta": "beta", + "application-settings.display-language.status.wip": "Travail en cours", + "application-settings.display-language.title": "Afficher les langues", + "application-settings.editor-behavior.title": "Editor Behavior", + "application-settings.plugins-manager.title": "Gestionnaire de plugins", + "application-settings.server-info.title": "Information du serveur", + "application-settings.shortcuts.title": "Racourcis clavier", + "application-settings.theme-settings.title": "Paramètres des thèmes", + "axes.add": "Ajouter un nouvel axe", + "axes.axis-values": "Valeur de l'axe", + "axes.create": "Nouvel axe", + "axes.delete-axis": "Supprimer l'axe", + "axes.mapping-graph": "Mapping graph", + "axes.mapping-list": "Mapping list", + "axes.mapping.source": "Source", + "axes.mapping.user": "Utilisateur", + "axes.mapping.values.elidable": "Elidable", + "axes.mapping.values.linked": "Lié", + "axes.mapping.values.max": "Max", + "axes.mapping.values.min": "Min", + "axes.mapping.values.name": "Nom", + "axes.mapping.values.value": "Valeur", + "axes.names": "Noms", + "axes.names.name": "Nom", + "axes.names.ot-tag": "OT tag", + "axes.names.ui-name": "UI name", + "axes.new": "Nouvel axe…", + "axes.preset": "Préréglage d'axe", + "axes.preset.italic": "Italique", + "axes.preset.optical-size": "Corps optique", + "axes.preset.slant": "Penché", + "axes.preset.weight": "Graisse", + "axes.preset.width": "Largeur", + "axes.range": "Range", + "axes.range.axis-type": "Type d'axe", + "axes.range.axis-type.continuous": "Continue", + "axes.range.axis-type.discrete": "Discret", + "axes.range.default": "Défaut", + "axes.range.maxium": "Maximum", + "axes.range.minumum": "Minimum", + "axes.range.values": "Valeurs", + "axes.title": "Axes", + "canvas.clean-view-and-hand-tool": "Clean View and Hand Tool", + "designspace-navigation.edit-all-compatible-sources": + "Éditer toutes les sources compatibles", + "dialog.add": "Ajouter", + "dialog.cancel": "Annuler", + "dialog.create": "Créer", + "dialog.create-new-glyph.body": + 'Cliquez "Créer" si vous voulez créer un nouveau glyph nommé "%0"%1.', + "dialog.create-new-glyph.body.2": 'Pour le caractère "%0" (%1)', + "dialog.create-new-glyph.title": 'Créer un nouveau glyph "%0"?', + "dialog.glyphs.search": "Chercher des glyphes", + "dialog.replace": "Remplacer", + "editor.hand-tool": "Outil de déplacement", + "editor.knife-tool": "Outil couteau", + "editor.pen-tool": "Outil de dessin", + "editor.pen-tool-cubic": "Outil de dessin (cubique)", + "editor.pen-tool-quad": "Outil de dessin (Quadratique)", + "editor.pointer-tool": "Outil de sélection", + "editor.pointer-tool-scale": "Outil de sélection (transformation à l'échelle)", + "editor.power-ruler-tool": "Outil Power Ruler", + "editor.shape-tool": "Outil de forme", + "editor.shape-tool-ellipse": "Outil ellipse", + "editor.shape-tool-rectangle": "Outil rectangle", + "font-info.copyright": "Copyright", + "font-info.description": "Description", + "font-info.designer": "Designer", + "font-info.designer.url": "URL du designer", + "font-info.familyname": "Nom de famille", + "font-info.licensedescription": "Description de la licence", + "font-info.licenseinfo.url": "URL de la licence", + "font-info.manufacturer": "Fabriquant", + "font-info.manufacturer.url": "URL du fabriquant", + "font-info.sampletext": "Texte d'exemple", + "font-info.title": "Informations de la fonte", + "font-info.trademark": "Trademark", + "font-info.vendorid": "Identifiant du vendeur", + "font-info.version.major": "Version Major", + "font-info.version.minor": "Version Minor", + "language.en": "Anglais", + "language.zh-cn": "Chinois Simplifier", + "menubar.edit": "Édition", + "menubar.extensions": "Extensions", + "menubar.file": "Fichier", + "menubar.file.export-as": "Exporter sous", + "menubar.file.new": "Nouveau…", + "menubar.file.open": "Ouvrir…", + "menubar.font": "Fonte", + "menubar.fontra.application-settings": "Paramètres de l'application", + "menubar.glyph": "Glyphe", + "menubar.glyph.add": "Ajouter une source…", + "menubar.glyph.delete": "Supprimer la source…", + "menubar.glyph.edit-axes": "Éditer les axes du glyphe…", + "menubar.help": "Aide", + "menubar.help.documentation": "Documentation", + "menubar.help.homepage": "Page d'accueil", + "menubar.view": "Vue", + "menubar.view.add-glyph-after-selected-glyph": + "Ajouter un glyphe après le glyphe sélectionné", + "menubar.view.add-glyph-before-selected-glyph": + "Ajouter un glyphe avant le glyphe sélectionné", + "menubar.view.find-glyphs-that-use": "Trouver le glyphe qui utilise '%0'", + "menubar.view.remove-selected-glyph-from-canvas": + "Retirer le glyphe sélectionné du canvas", + "menubar.view.replace-selected-glyph-on-canvas": + "Remplacer le glyphe sélectionné du canvas", + "menubar.view.select-next-source": "Sélectionner la prochaine source", + "menubar.view.select-previous-source": "Sélectionner la précédente source", + "selection.none": "(Pas de sélection)", + "sidebar.designspace-navigation": "Navigation du designspace", + "sidebar.designspace-navigation.font-axes": "Axes de la fonte", + "sidebar.designspace-navigation.font-axes.edit": "Éditer les axes de la fonte", + "sidebar.designspace-navigation.font-axes.reset": + "Réinitialiser les axes de la fonte", + "sidebar.designspace-navigation.glyph-axes": "Axes du glyphe", + "sidebar.designspace-navigation.glyph-axes.edit": "Éditere les axes du glyphe", + "sidebar.designspace-navigation.glyph-axes.reset": "Réinitialiser les axes du glyphe", + "sidebar.designspace-navigation.glyph-sources": "Sources du glyphe", + "sidebar.designspace-navigation.glyph-sources.name": "Nom de la source", + "sidebar.designspace-navigation.glyph-sources.status": "Statut", + "sidebar.glyph-note": "Note du glyphe", + "sidebar.glyph-search": "Chercher un glyphe", + "sidebar.glyphs.search": "Chercher des glyphes", + "sidebar.reference-font": "Fonte de référence", + "sidebar.reference-font.custom-character": "Caractère personnalisé", + "sidebar.reference-font.info": + "Déposer ci-dessous un ou plusieurs fichiers .ttf, .otf, .woff ou .woff2", + "sidebar.reference-font.language": "Langues", + "sidebar.related-glyphs": "Glyphes et caractères en lien", + "sidebar.related-glyphs.title": "Glyphes et caractères en lien pour %0", + "sidebar.selection-info": "Information de la sélection", + "sidebar.selection-info.advance-width": "Chasse", + "sidebar.selection-info.component": "Composant #%0", + "sidebar.selection-info.component.base-glyph": "Glyphe de base", + "sidebar.selection-info.component.center": "Centre", + "sidebar.selection-info.component.rotation": "Rotation", + "sidebar.selection-info.component.scale": "Échelle", + "sidebar.selection-info.component.skew": "Pencher", + "sidebar.selection-info.component.transformation": "Transformation", + "sidebar.selection-info.component.translate": "Déplacement", + "sidebar.selection-info.dimensions": "Dimensions", + "sidebar.selection-info.glyph-name": "Nom du glyphe", + "sidebar.selection-info.multi-source": + "Valeurs absolues pour l'édition multiple de sources", + "sidebar.selection-info.sidebearings": "Approches", + "sidebar.selection-info.title": "Informations du glyphe", + "sidebar.selection-transformation": "Transformation de la sélection", + "sidebar.selection-transformation.align": "Aligner les objets", + "sidebar.selection-transformation.align.bottom": "Aligner en bas", + "sidebar.selection-transformation.align.center": "Aligner au centre", + "sidebar.selection-transformation.align.left": "Aligner à gauche", + "sidebar.selection-transformation.align.middle": "Aligner au milieu", + "sidebar.selection-transformation.align.right": "Aligner à droite", + "sidebar.selection-transformation.align.top": "Aligner en haut", + "sidebar.selection-transformation.distribute": "Distribuer les objets", + "sidebar.selection-transformation.distribute.horizontally": + "Distribuer horizontalement", + "sidebar.selection-transformation.distribute.vertically": "Distribuer verticalement", + "sidebar.selection-transformation.flip": "Retourner", + "sidebar.selection-transformation.flip.horizontally": "Retourner horizontalement", + "sidebar.selection-transformation.flip.vertically": "Retourner verticalement", + "sidebar.selection-transformation.move": "Déplacer", + "sidebar.selection-transformation.origin": "Origine", + "sidebar.selection-transformation.origin.bottom.center": "Origine en bas au centre", + "sidebar.selection-transformation.origin.bottom.left": "Origine en bas à gauche", + "sidebar.selection-transformation.origin.bottom.right": "Origine en bas à droite", + "sidebar.selection-transformation.origin.middle.center": + "Origine au milieu au centre", + "sidebar.selection-transformation.origin.middle.left": "Origine au milieu à gauche", + "sidebar.selection-transformation.origin.middle.right": "Origine au milieu à droite", + "sidebar.selection-transformation.origin.top.center": "Origine en haut au centre", + "sidebar.selection-transformation.origin.top.left": "Origine en haut à gauche", + "sidebar.selection-transformation.origin.top.right": "Origine en haut à droite", + "sidebar.selection-transformation.path-operations": "Opération sur les contours", + "sidebar.selection-transformation.path-operations.exclude": "Exclure les contours", + "sidebar.selection-transformation.path-operations.intersect": + "Intersecter les contours", + "sidebar.selection-transformation.path-operations.subtract": + "Soustraire les contours", + "sidebar.selection-transformation.path-operations.union": + "Enlever les superpositions", + "sidebar.selection-transformation.rotate": "Rotation", + "sidebar.selection-transformation.scale": "Échelle", + "sidebar.selection-transformation.skew": "Pencher", + "sidebar.selection-transformation.title": "Transformation", + "sidebar.text-entry": "Saisie de texte", + "sidebar.user-settings": "Paramètres de l'utilisateur", + "sidebar.user-settings.clipboard": "Format d'export du presse-papier", + "sidebar.user-settings.component.nodes": "Points et poignés du composant", + "sidebar.user-settings.experimental": "Expérimentations", + "sidebar.user-settings.glyph": "Glyphe", + "sidebar.user-settings.glyph.anchornames": "Noms des ancres", + "sidebar.user-settings.glyph.baseline": "Ligne de base", + "sidebar.user-settings.glyph.cjkframe": "Grille de design CJK", + "sidebar.user-settings.glyph.component": "Noms et index des composants", + "sidebar.user-settings.glyph.contour": "Index des contours", + "sidebar.user-settings.glyph.coordinates": "Coordonnées", + "sidebar.user-settings.glyph.dragcrosshair": "Drag crosshair", + "sidebar.user-settings.glyph.dragghostpath": "Drag “ghost” path", + "sidebar.user-settings.glyph.lockicon": + "Icône verrouillée du glyphe pour les glyphes non édités", + "sidebar.user-settings.glyph.point.index": "Index des points", + "sidebar.user-settings.glyph.powerruler": "Power Ruler", + "sidebar.user-settings.glyph.referencefont": "Fonte de référence", + "sidebar.user-settings.glyph.sidebearings": "Approches pour les glyphes non édités", + "sidebar.user-settings.glyph.statuscolor": "Couleurs des statuts de développement", + "sidebar.user-settings.glyph.upmgrid": "Grille UPM (Units-per-em)", + "sidebar.user-settings.language": "Afficher les languages", + "sidebar.user-settings.server": "Information du serveur", + "sidebar.user-settings.theme": "Paramètres des thèmes", + "sidebar.user-settings.theme.auto": "Automatique (utiliser les paramètre de l'OS)", + "sidebar.user-settings.theme.dark": "Sombre", + "sidebar.user-settings.theme.light": "Clair", + "sources.title": "Sources", + "toggle-fullscreen": "Plein écran", + "zoom-fit-selection": "Zoomer sur la séléction", + "zoom-in": "Zoomer", + "zoom-out": "Dézoomer", +}; diff --git a/src/fontra/client/lang/zh-CN.js b/src/fontra/client/lang/zh-CN.js index 124d3f6a0..e07f907f4 100644 --- a/src/fontra/client/lang/zh-CN.js +++ b/src/fontra/client/lang/zh-CN.js @@ -8,18 +8,18 @@ export const strings = { "action-topics.menu.view": "视图", "action-topics.selection-transformations": "Selection Transformations", "action-topics.sidebars": "Sidebars", - "action-topics.tools": "Tools", + "action-topics.tools": "工具", "action.add-anchor": "添加锚点", "action.add-component": "添加组件", - "action.add-guideline": "Add Guideline", + "action.add-guideline": "添加参考线", "action.break-contour": "断开轮廓", "action.close-contour": "Close %0 Contour", "action.close-contour.plural": "Close %0 Contours", - "action.copy": "Copy", - "action.cut": "Cut", + "action.copy": "复制", + "action.cut": "剪切", "action.decompose-component": "释放 %0 个组件", "action.decompose-component.plural": "Decompose %0 Components", - "action.delete": "Delete", + "action.delete": "删除", "action.delete-glyph": "删除字符形", "action.delete-selection": "删除选中", "action.export-as.designspace": "Designspace + UFO (*.designspace)", @@ -30,7 +30,7 @@ export const strings = { "action.export-as.ufo": "UFO (*.ufo)", "action.join-contours": "Join Contours", "action.lock-guidelines": "Lock Guidelines", - "action.paste": "Paste", + "action.paste": "粘贴", "action.redo": "重做", "action.reverse-contour": "反转轮廓方向", "action.select-all": "全选", @@ -40,11 +40,11 @@ export const strings = { "application-settings.clipboard.title": "剪贴板导出格式", "application-settings.display-language.status.beta": "beta", "application-settings.display-language.status.wip": "work in progress", - "application-settings.display-language.title": "Display Language", + "application-settings.display-language.title": "显示语言", "application-settings.editor-behavior.title": "Editor Behavior", "application-settings.plugins-manager.title": "插件管理器", "application-settings.server-info.title": "服务器信息", - "application-settings.shortcuts.title": "Shortcuts", + "application-settings.shortcuts.title": "快捷键", "application-settings.theme-settings.title": "主题设置", "axes.add": "添加新参数轴", "axes.axis-values": "参数轴数值", @@ -82,14 +82,14 @@ export const strings = { "axes.title": "参数轴", "canvas.clean-view-and-hand-tool": "Clean View and Hand Tool", "designspace-navigation.edit-all-compatible-sources": "Edit all compatible sources", - "dialog.add": "Add", + "dialog.add": "添加", "dialog.cancel": "取消", "dialog.create": "创建", "dialog.create-new-glyph.body": '如果你想%1创建一个新的字符形"%0",请点击 "创建"。', "dialog.create-new-glyph.body.2": '为字符"%0" (%1)', "dialog.create-new-glyph.title": '创建新字符形 "%0"?', "dialog.glyphs.search": "搜索字符形", - "dialog.replace": "Replace", + "dialog.replace": "替换", "editor.hand-tool": "拖拽工具", "editor.knife-tool": "Knife Tool", "editor.pen-tool": "钢笔工具", @@ -121,11 +121,11 @@ export const strings = { "menubar.edit": "编辑", "menubar.extensions": "扩展", "menubar.file": "文件", - "menubar.file.export-as": "Export as", + "menubar.file.export-as": "导出为……", "menubar.file.new": "新建……", "menubar.file.open": "打开……", "menubar.font": "字体", - "menubar.fontra.application-settings": "Application Settings", + "menubar.fontra.application-settings": "应用设置", "menubar.glyph": "字符形", "menubar.glyph.add": "添加源……", "menubar.glyph.delete": "删除源……", @@ -134,11 +134,11 @@ export const strings = { "menubar.help.documentation": "文档", "menubar.help.homepage": "主页", "menubar.view": "视图", - "menubar.view.add-glyph-after-selected-glyph": "Add glyph after selected glyph", - "menubar.view.add-glyph-before-selected-glyph": "Add glyph before selected glyph", + "menubar.view.add-glyph-after-selected-glyph": "在选中字符形之后添加新字符形", + "menubar.view.add-glyph-before-selected-glyph": "在选中字符形之前添加新字符形", "menubar.view.find-glyphs-that-use": "寻找使用了 '%0' 的字符形", - "menubar.view.remove-selected-glyph-from-canvas": "Remove selected glyph from canvas", - "menubar.view.replace-selected-glyph-on-canvas": "Replace selected glyph on canvas", + "menubar.view.remove-selected-glyph-from-canvas": "将选中字符形从编辑区域中删除", + "menubar.view.replace-selected-glyph-on-canvas": "在编辑区域中替换选中字符形", "menubar.view.select-next-source": "选择下一个源", "menubar.view.select-previous-source": "选择上一个源", "selection.none": "(未选择)", @@ -152,7 +152,7 @@ export const strings = { "sidebar.designspace-navigation.glyph-sources": "字符形源", "sidebar.designspace-navigation.glyph-sources.name": "源名称", "sidebar.designspace-navigation.glyph-sources.status": "状态", - "sidebar.glyph-note": "Glyph Note", + "sidebar.glyph-note": "字符形注释", "sidebar.glyph-search": "字符形搜索", "sidebar.glyphs.search": "搜索字符形", "sidebar.reference-font": "参考字体", @@ -160,8 +160,8 @@ export const strings = { "sidebar.reference-font.info": "将一个或多个.ttf、.otf、.woff或.woff2字体文件拖放到下面的方框内", "sidebar.reference-font.language": "语言", - "sidebar.related-glyphs": "Related Glyphs & Characters", - "sidebar.related-glyphs.title": "Related Glyphs & Characters for %0", + "sidebar.related-glyphs": "相关字符形", + "sidebar.related-glyphs.title": "与 %0 相关的字符形", "sidebar.selection-info": "选区信息", "sidebar.selection-info.advance-width": "步进宽度", "sidebar.selection-info.component": "组件 #%0", @@ -214,12 +214,12 @@ export const strings = { "sidebar.text-entry": "文本", "sidebar.user-settings": "用户设置", "sidebar.user-settings.clipboard": "剪贴板导出格式", - "sidebar.user-settings.component.nodes": "Component nodes and handles", + "sidebar.user-settings.component.nodes": "部件锚点与手柄", "sidebar.user-settings.experimental": "实验性功能", "sidebar.user-settings.glyph": "字符形编辑器外观", "sidebar.user-settings.glyph.anchornames": "锚点名称", "sidebar.user-settings.glyph.baseline": "基线", - "sidebar.user-settings.glyph.cjkframe": "CJK 字框", + "sidebar.user-settings.glyph.cjkframe": "CJK 字面框", "sidebar.user-settings.glyph.component": "组件名称与索引", "sidebar.user-settings.glyph.contour": "轮廓索引", "sidebar.user-settings.glyph.coordinates": "坐标",