From 17752461090da338c3f915515c244b71dd8b7ce6 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 4 Jun 2017 23:24:02 -0400 Subject: [PATCH] feat: Browser translations for English + French --- server/locales/en/browser.json | 2 +- server/locales/en/common.json | 3 +- server/locales/es/browser.json | 51 +++++++++++++++++---- server/locales/es/common.json | 26 +++++------ server/locales/fr/browser.json | 84 +++++++++++++++++++++++++--------- server/locales/fr/common.json | 26 +++++------ server/locales/ko/browser.json | 6 +-- server/locales/ko/common.json | 22 ++++----- server/locales/pt/browser.json | 6 +-- server/locales/pt/common.json | 26 +++++------ server/locales/ru/browser.json | 6 +-- server/locales/ru/common.json | 22 ++++----- server/locales/zh/browser.json | 52 +++++++++++++++++---- server/locales/zh/common.json | 26 +++++------ 14 files changed, 233 insertions(+), 125 deletions(-) diff --git a/server/locales/en/browser.json b/server/locales/en/browser.json index d0f87357..43f58a66 100644 --- a/server/locales/en/browser.json +++ b/server/locales/en/browser.json @@ -99,4 +99,4 @@ "placeholder": "Search...", "results": "Search Results" } -} +} \ No newline at end of file diff --git a/server/locales/en/common.json b/server/locales/en/common.json index 9cd4441d..a0d6d037 100644 --- a/server/locales/en/common.json +++ b/server/locales/en/common.json @@ -22,7 +22,6 @@ "discard": "Discard", "edit": "Edit", "history": "History", - "home": "Home", "login": "Login", "logout": "Logout", "move": "Move", @@ -47,4 +46,4 @@ "source": "Loading source...", "editor": "Loading editor..." } -} +} \ No newline at end of file diff --git a/server/locales/es/browser.json b/server/locales/es/browser.json index 8a4df23e..1b0ddace 100644 --- a/server/locales/es/browser.json +++ b/server/locales/es/browser.json @@ -1,19 +1,52 @@ { "editor": { - "discard": "Descartar", - "codeblocktitle": "Insertar Bloque de Código", "codeblockinsert": "Insertar Bloque de Código", "codeblocklanguage": "Lenguaje", "codeblockloading": "Cargando sintaxis de código para {{name}}", "codeblockloadingerror": "Error: No se pudo cargar la sintaxis", "codeblocksuccess": "Tu bloque de código ha sido insertado", - "videotitle": "Insertar Video", - "videolinktitle": "Ingresar el link al video a ser embebido", + "codeblocktitle": "Insertar Bloque de Código", + "discard": "Descartar", + "videoanymp4file": "Cualquier archivo MP4 estándar", "videoinsert": "Insertar Video", + "videolinktitle": "Ingresar el link al video a ser embebido", "videonotsupported": "La URL es inválida o no está soportada!", + "videosuccess": "El código de video ha sido insertado", "videosupportedtitle": "Los siguientes están soportados:", - "videoanymp4file": "Cualquier archivo MP4 estándar", - "videosuccess": "El código de video ha sido insertado" + "videotitle": "Insertar Video" + }, + "modal": { + "abort": "Abortar", + "anchorerror": "Falló la copia del Portapapeles. Copie la URL manualmente.", + "anchorsuccess": "La URL ha sido copiada al portapapeles", + "anchortitle": "Copiar enlace a esta sección", + "copyclipboard": "Copiar al Portapapeles", + "create": "Crear", + "createpageinvalid": "Ruta de página inválida!", + "createpagepath": "Ingrese la nueva ruta de página:", + "createpagetitle": "Crear Nueva Página", + "createuser": "Crear Usuario", + "createuserauthorize": "Autorizar Usuario", + "createuseremail": "Correo Electrónico:", + "createuseremailplaceholder": "ejemplo: juan.perez@organizacion.com", + "createusername": "Nombre completo:", + "createusernameplaceholder": "ejemplo: Juan Perez", + "createuserpassword": "Contraseña:", + "createuserprovider": "Proveedor:", + "createusertitle": "Crear / Autorizar usuario", + "delete": "Eliminar", + "deleteusertitle": "¿Eliminar cuenta de usuario?", + "deleteuserwarning": "¿Confirma que desea eliminar esta cuenta de usuario? Esta acción no se puede deshacer!", + "discard": "Descartar", + "discardpagecreate": "¿Confirma que desea abandonar esta página y perder lo escrito al momento?", + "discardpageedit": "¿Confirma que desea abandonar esta página y perder los cambios?", + "discardpagestay": "Quedarse en la página", + "discardpagetitle": "Descartar?", + "move": "Mover", + "movepageinvalid": "¡Esta ruta es inválida o no está permitida!", + "movepagepath": "Ingrese la nueva ruta de página:", + "movepagetitle": "Mover página", + "movepagewarning": "Mover o renombrar páginas puede romper los enlaces. Asegúrese de editar las páginas que enlazan a esta página!" }, "nav": { "home": "Página principal" @@ -27,9 +60,9 @@ "savechanges": "Guardar Cambios" }, "search": { - "placeholder": "Buscar...", - "results": "Resultados de búsqueda", + "didyoumean": "Quisiste decir...?", "nomatch": "No se han encontrado resultados", - "didyoumean": "Quisiste decir...?" + "placeholder": "Buscar...", + "results": "Resultados de búsqueda" } } \ No newline at end of file diff --git a/server/locales/es/common.json b/server/locales/es/common.json index 1cc6440b..72c995c9 100644 --- a/server/locales/es/common.json +++ b/server/locales/es/common.json @@ -17,25 +17,25 @@ }, "nav": { "account": "Cuenta", - "settings": "Ajustes", - "myprofile": "Mi perfil", - "stats": "Estadísticas", - "syssettings": "Ajustes del sistema", - "theme": "Tema de Colores", - "users": "Usuarios", - "logout": "Cerrar Sesión", + "allpages": "Todas las páginas", "create": "Crear", + "discard": "Descartar", "edit": "Editar", "history": "Historia", - "source": "Fuente", - "move": "Mover", - "allpages": "Todas las páginas", "login": "Iniciar Sesión", + "logout": "Cerrar Sesión", + "move": "Mover", + "myprofile": "Mi perfil", "normalview": "Vista normal", - "viewlatest": "Ver más reciente", - "discard": "Descartar", "savechanges": "Guardar Cambios", - "savedocument": "Guardar documento" + "savedocument": "Guardar documento", + "settings": "Ajustes", + "source": "Fuente", + "stats": "Estadísticas", + "syssettings": "Ajustes del sistema", + "theme": "Tema de Colores", + "users": "Usuarios", + "viewlatest": "Ver más reciente" }, "welcome": { "title": "¡Bienvenido a tu wiki!", diff --git a/server/locales/fr/browser.json b/server/locales/fr/browser.json index a9bb1d7e..25eeb390 100644 --- a/server/locales/fr/browser.json +++ b/server/locales/fr/browser.json @@ -1,44 +1,86 @@ { "editor": { - "discard": "Annuler", - "codeblocktitle": "Insérer un bloc de code", "codeblockinsert": "Insérer le bloc de code", "codeblocklanguage": "Syntaxe", "codeblockloading": "Chargement de la syntaxe pour {{name}}", "codeblockloadingerror": "Erreur: Impossible de charger la syntaxe.", "codeblocksuccess": "Votre bloc de code a été inséré.", - "videotitle": "Insérer une vidéo", - "videolinktitle": "Entrez le lien vers la vidéo à intégrer:", + "codeblocktitle": "Insérer un bloc de code", + "discard": "Annuler", + "filedeleteaction": "Supprimer", + "filedeleteloading": "Suppression du fichier...", + "filedeletedefault": "ce fichier", + "fileerror": "Échec de mise à jour de la liste.", + "filefolderempty": "Ce dossier est vide.", + "fileinsert": "Insérer un lien vers le fichier", + "fileloading": "Récupération des fichiers", + "filemoveaction": "Déplacer vers...", + "filemoveerror": "Erreur de déplacement: {{err}}", + "filemoveloading": "Déplacement du fichier ...", + "fileprocessing": "En traitement...", + "filerenameaction": "Renommer", + "filesuccess": "Le lien vers le fichier a été inséré.", + "filetitle": "Insérer un fichier", + "fileupload": "Téléverser un fichier", + "folders": "Dossiers", + "foldersloading": "Récupérer la liste des dossiers ...", + "newfolder": "Nouveau dossier", + "videoanymp4file": "Tout fichier MP4 standard", "videoinsert": "Insérer la vidéo", + "videolinktitle": "Entrez le lien vers la vidéo à intégrer:", "videonotsupported": "Cette URL n'est pas valide ou n'est pas prise en charge!", + "videosuccess": "Le code vidéo a été inséré.", "videosupportedtitle": "Les formats suivants sont pris en charge:", - "videoanymp4file": "Tout fichier MP4 standard", - "videosuccess": "Le code vidéo a été inséré." + "videotitle": "Insérer une vidéo" }, "modal": { "abort": "Annuler", - "anchortitle": "Copier le lien vers cette section", - "anchorsuccess": "Le lien a été copié au presse-papiers.", "anchorerror": "Échec de la copie vers le presse-papiers. Copiez manuellement.", + "anchorsuccess": "Le lien a été copié au presse-papiers.", + "anchortitle": "Copier le lien vers cette section", "copyclipboard": "Copie vers le presse-papiers", "create": "Créer", - "createpagetitle": "Créer une nouvelle page", - "createpagepath": "Entrez le nouveau chemin de la page:", "createpageinvalid": "Ce chemin de page est invalide!", - "discard": "Annuler", - "discardpagestay": "Rester sur la page", - "discardpagetitle": "Quitter?", - "discardpagecreate": "Êtes-vous sûr de vouloir quitter cette page et perdre tout ce que vous avez écrit jusqu'ici?", - "discardpageedit": "Êtes-vous sûr de vouloir quitter cette page et perdre toute modification?", + "createpagepath": "Entrez le nouveau chemin de la page:", + "createpagetitle": "Créer une nouvelle page", + "createuser": "Créer l'utilisateur", + "createuserauthorize": "Autoriser l'utilisateur", + "createuseremail": "Courriel:", + "createuseremailplaceholder": "ex: jean.dupont@compagnie.com", + "createusername": "Nom Complet:", + "createusernameplaceholder": "ex: Jean Dupont", + "createuserpassword": "Mot de passe:", + "createuserprovider": "Fournisseur:", + "createusertitle": "Créer / Autoriser un utilisateur", "delete": "Supprimer", + "deletefiletitle": "Supprimer", + "deletefilewarn": "Etes-vous sûr de vouloir supprimer", "deleteusertitle": "Supprimer le compte utilisateur?", "deleteuserwarning": "Êtes-vous sûr de vouloir supprimer ce compte utilisateur? Impossible de revenir en arrière une fois l'action complétée!", + "discard": "Annuler", + "discardpagecreate": "Êtes-vous sûr de vouloir quitter cette page et perdre tout ce que vous avez écrit jusqu'ici?", + "discardpageedit": "Êtes-vous sûr de vouloir quitter cette page et perdre toute modification?", + "discardpagestay": "Rester sur la page", + "discardpagetitle": "Quitter?", "move": "Déplacer", - "movepagetitle": "Déplacer la page", - "movepagepath": "Entrez le nouveau chemin de page:", "movepageinvalid": "Ce chemin de page n'est pas valide ou non autorisé.", + "movepagepath": "Entrez le nouveau chemin de page:", + "movepageplaceholder": "nom-de-page", + "movepagetitle": "Déplacer la page", "movepagewarning": "Notez que le déplacement ou le renommage des pages peut entraîner des liens cassés. Assurez-vous d'éditer toute page qui relie vers cette page!", - "movepageplaceholder": "nom-de-page" + "newfolderinvalid": "Ce nom de dossier est invalide!", + "newfolderloading": "Création du nouveau dossier ...", + "newfoldername": "Entrez le nom du nouveau dossier:", + "newfoldernameplaceholder": "nom de dossier", + "newfoldersuccess": "Nouveau dossier {{name}} créé.", + "newfoldertitle": "Nouveau dossier", + "renamefile": "Renommer", + "renamefileerror": "Erreur lors du renommage: {{err}}", + "renamefileinvalid": "Ce nom de fichier est invalide!", + "renamefileloading": "Renommage du fichier...", + "renamefilename": "Entrez le nouveau nom de fichier (sans extension):", + "renamefilenameplaceholder": "nom-du-fichier", + "renamefiletitle": "Renommer le fichier" }, "nav": { "home": "Accueil" @@ -52,9 +94,9 @@ "savechanges": "Sauvegarder" }, "search": { - "placeholder": "Recherche...", - "results": "Résultats de la recherche", + "didyoumean": "Vouliez-vous dire...?", "nomatch": "Aucun résultat correspondant à votre recherche", - "didyoumean": "Vouliez-vous dire...?" + "placeholder": "Recherche...", + "results": "Résultats de la recherche" } } \ No newline at end of file diff --git a/server/locales/fr/common.json b/server/locales/fr/common.json index bb9924ed..1051f5a1 100644 --- a/server/locales/fr/common.json +++ b/server/locales/fr/common.json @@ -17,25 +17,25 @@ }, "nav": { "account": "Compte", - "settings": "Paramètres", - "myprofile": "Mon Profil", - "stats": "Statistiques", - "syssettings": "Paramètres système", - "theme": "Thème de couleur", - "users": "Utilisateurs", - "logout": "Se Déconnecter", + "allpages": "Toutes les pages", "create": "Créer", + "discard": "Annuler", "edit": "Éditer", "history": "Historique", - "source": "Source", - "move": "Déplacer", - "allpages": "Toutes les pages", "login": "S'identifier", + "logout": "Se Déconnecter", + "move": "Déplacer", + "myprofile": "Mon Profil", "normalview": "Vue normale", - "viewlatest": "Voir le plus récent", - "discard": "Annuler", "savechanges": "Sauvegarder", - "savedocument": "Sauvegarder" + "savedocument": "Sauvegarder", + "settings": "Paramètres", + "source": "Source", + "stats": "Statistiques", + "syssettings": "Paramètres système", + "theme": "Thème de couleur", + "users": "Utilisateurs", + "viewlatest": "Voir le plus récent" }, "welcome": { "title": "Bienvenue sur votre wiki!", diff --git a/server/locales/ko/browser.json b/server/locales/ko/browser.json index cfd9173f..fa6046c6 100644 --- a/server/locales/ko/browser.json +++ b/server/locales/ko/browser.json @@ -11,9 +11,9 @@ "savechanges": "변경 사항 저장" }, "search": { - "placeholder": "검색", - "results": "검색 결과", + "didyoumean": "혹시 이런 의미였습니까?", "nomatch": "검색어와 일치하는 결과가 없습니다.", - "didyoumean": "혹시 이런 의미였습니까?" + "placeholder": "검색", + "results": "검색 결과" } } \ No newline at end of file diff --git a/server/locales/ko/common.json b/server/locales/ko/common.json index 7bad2452..99d126b7 100644 --- a/server/locales/ko/common.json +++ b/server/locales/ko/common.json @@ -17,23 +17,23 @@ }, "nav": { "account": "계정", - "myprofile": "내 프로필", - "stats": "통계", - "syssettings": "시스템 설정", - "users": "사용자", - "logout": "로그아웃", + "allpages": "모든 페이지", "create": "추가", + "discard": "폐기", "edit": "편집", "history": "히스토리", - "source": "출처", - "move": "옮김", - "allpages": "모든 페이지", "login": "로그인", + "logout": "로그아웃", + "move": "옮김", + "myprofile": "내 프로필", "normalview": "기본 보기", - "viewlatest": "최신 보기", - "discard": "폐기", "savechanges": "변경사항 저장", - "savedocument": "문서 저장" + "savedocument": "문서 저장", + "source": "출처", + "stats": "통계", + "syssettings": "시스템 설정", + "users": "사용자", + "viewlatest": "최신 보기" }, "welcome": { "title": "위키에 오신 걸 환영합니다!", diff --git a/server/locales/pt/browser.json b/server/locales/pt/browser.json index d5c17007..482aa9e6 100644 --- a/server/locales/pt/browser.json +++ b/server/locales/pt/browser.json @@ -11,9 +11,9 @@ "savechanges": "Salvar Alterações" }, "search": { - "placeholder": "Buscar...", - "results": "Resultados da Busca", + "didyoumean": "Você quis dizer...?", "nomatch": "Nenhum resultado corresponde à sua consulta", - "didyoumean": "Você quis dizer...?" + "placeholder": "Buscar...", + "results": "Resultados da Busca" } } \ No newline at end of file diff --git a/server/locales/pt/common.json b/server/locales/pt/common.json index d6f7bfcc..02791507 100644 --- a/server/locales/pt/common.json +++ b/server/locales/pt/common.json @@ -17,25 +17,25 @@ }, "nav": { "account": "Conta", - "settings": "Configurações", - "myprofile": "Meu Perfil", - "stats": "Statatísticas", - "syssettings": "Configurações do Sistema", - "theme": "Tema de Cor", - "users": "Usuários", - "logout": "Sair", + "allpages": "Todas Páginas", "create": "Criar", + "discard": "Descartar", "edit": "Editar", "history": "Historico", - "source": "Fonte", - "move": "Mover", - "allpages": "Todas Páginas", "login": "Login", + "logout": "Sair", + "move": "Mover", + "myprofile": "Meu Perfil", "normalview": "Visão Normal", - "viewlatest": "Ver últimas", - "discard": "Descartar", "savechanges": "Salvar Alterações", - "savedocument": "Salvar Documento" + "savedocument": "Salvar Documento", + "settings": "Configurações", + "source": "Fonte", + "stats": "Statatísticas", + "syssettings": "Configurações do Sistema", + "theme": "Tema de Cor", + "users": "Usuários", + "viewlatest": "Ver últimas" }, "welcome": { "title": "Bem-vindo à sua wiki!", diff --git a/server/locales/ru/browser.json b/server/locales/ru/browser.json index 8451fb61..9efc6e04 100644 --- a/server/locales/ru/browser.json +++ b/server/locales/ru/browser.json @@ -11,9 +11,9 @@ "savechanges": "Сохранить изменения " }, "search": { - "placeholder": "Поиск ...", - "results": "Результаты поиска", + "didyoumean": "Вы имели ввиду...?", "nomatch": "Нет результатов, соответствующих вашему запросу", - "didyoumean": "Вы имели ввиду...?" + "placeholder": "Поиск ...", + "results": "Результаты поиска" } } \ No newline at end of file diff --git a/server/locales/ru/common.json b/server/locales/ru/common.json index f697ad94..9834584f 100644 --- a/server/locales/ru/common.json +++ b/server/locales/ru/common.json @@ -17,23 +17,23 @@ }, "nav": { "account": "Аккаунт", - "myprofile": "Мой профайл", - "stats": "Статистика", - "syssettings": "Настройки системы", - "users": "Пользователи", - "logout": "Выход", + "allpages": "Все страницы", "create": "Создать", + "discard": "Отменить", "edit": "Редактировать", "history": "История", - "source": "Источник", - "move": "Переместить", - "allpages": "Все страницы", "login": "Вход", + "logout": "Выход", + "move": "Переместить", + "myprofile": "Мой профайл", "normalview": "Нормальный Вид", - "viewlatest": "Просмотреть последние", - "discard": "Отменить", "savechanges": "Сохранить изменения", - "savedocument": "Сохранить документ" + "savedocument": "Сохранить документ", + "source": "Источник", + "stats": "Статистика", + "syssettings": "Настройки системы", + "users": "Пользователи", + "viewlatest": "Просмотреть последние" }, "welcome": { "title": "Добро пожаловать в вики!", diff --git a/server/locales/zh/browser.json b/server/locales/zh/browser.json index ec269438..129bf919 100644 --- a/server/locales/zh/browser.json +++ b/server/locales/zh/browser.json @@ -1,19 +1,53 @@ { "editor": { - "discard": "放弃", - "codeblocktitle": "插入代码块", "codeblockinsert": "插入代码块", "codeblocklanguage": "语言", "codeblockloading": "加载{{name}}的代码语法", "codeblockloadingerror": "出错:无法加载语言语法。", "codeblocksuccess": "您的代码块已插入。", - "videotitle": "插入视频", - "videolinktitle": "输入要嵌入的视频的链接:", + "codeblocktitle": "插入代码块", + "discard": "放弃", + "videoanymp4file": "任何标准的MP4文件", "videoinsert": "插入视频", + "videolinktitle": "输入要嵌入的视频的链接:", "videonotsupported": "此网址无效或尚未支持!", + "videosuccess": "视频代码已插入。", "videosupportedtitle": "支持以下内容:", - "videoanymp4file": "任何标准的MP4文件", - "videosuccess": "视频代码已插入。" + "videotitle": "插入视频" + }, + "modal": { + "abort": "退出", + "anchorerror": "剪贴板复制失败,请手动复制URL。", + "anchorsuccess": "该URL已被复制到剪贴板。", + "anchortitle": "复制本节的链接", + "copyclipboard": "复制到剪贴板", + "create": "创建", + "createpageinvalid": "此页面路径无效!", + "createpagepath": "输入新页面路径:", + "createpagetitle": "创建新页面", + "createuser": "创建用户", + "createuserauthorize": "创建/授权用户", + "createuseremail": "Email 地址", + "createuseremailplaceholder": "例如 john.doe@company.com", + "createusername": "全名:", + "createusernameplaceholder": "例如 李四", + "createuserpassword": "密码", + "createuserprovider": "供应商", + "createusertitle": "创建/授权用户", + "delete": "删除", + "deleteusertitle": "删除用户帐号?", + "deleteuserwarning": "您确定要删除此用户帐户吗?此操作无法撤销!", + "discard": "放弃", + "discardpagecreate": "你确定要离开此页面,丢弃你已写的内容吗?", + "discardpageedit": "您确定要离开此页面,丢弃您做的修改吗?", + "discardpagestay": "留在页面上", + "discardpagetitle": "放弃", + "move": "移动", + "movepageinvalid": "此页面路径无效或不被允许!", + "movepagepath": "输入新页面路径:", + "movepageplaceholder": "页面名称", + "movepagetitle": "移动页面", + "movepagewarning": "请注意,如有其他页面链接到此页面,移动或重命名本页面后需要更新该其他页面,否则该其他页面的指向本页面链接将不准确!" }, "nav": { "home": "首页" @@ -27,9 +61,9 @@ "savechanges": "保存" }, "search": { - "placeholder": "搜索...", - "results": "搜索结果", + "didyoumean": "你是指...?", "nomatch": "没有符合你查询的结果", - "didyoumean": "你是指...?" + "placeholder": "搜索...", + "results": "搜索结果" } } \ No newline at end of file diff --git a/server/locales/zh/common.json b/server/locales/zh/common.json index a4fd5c29..8c4870da 100644 --- a/server/locales/zh/common.json +++ b/server/locales/zh/common.json @@ -17,25 +17,25 @@ }, "nav": { "account": "帐户", - "settings": "设置", - "myprofile": "我的信息", - "stats": "统计", - "syssettings": "系统设置", - "theme": "颜色方案", - "users": "用户", - "logout": "登出", + "allpages": "所有页面", "create": "创建", + "discard": "放弃", "edit": "编辑", "history": "历史", - "source": "源文件", - "move": "移动", - "allpages": "所有页面", "login": "登录", + "logout": "登出", + "move": "移动", + "myprofile": "我的信息", "normalview": "正常视图", - "viewlatest": "查看最新", - "discard": "放弃", "savechanges": "保存", - "savedocument": "保存文档" + "savedocument": "保存文档", + "settings": "设置", + "source": "源文件", + "stats": "统计", + "syssettings": "系统设置", + "theme": "颜色方案", + "users": "用户", + "viewlatest": "查看最新" }, "welcome": { "title": "欢迎访问您的维基!",