diff --git a/.gitattributes b/.gitattributes index dfe07704..d684874c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # Auto detect text files and perform LF normalization -* text=auto +*.txt -crlf diff --git a/src/common/highlightjs/styles/ascetic.css b/src/common/highlightjs/styles/ascetic.css index 368c5141..7d1694c4 100644 --- a/src/common/highlightjs/styles/ascetic.css +++ b/src/common/highlightjs/styles/ascetic.css @@ -1,4 +1,4 @@ -/* +/* Original style from softwaremaniacs.org (c) Ivan Sagalaev diff --git a/src/common/highlightjs/styles/dark.css b/src/common/highlightjs/styles/dark.css index 81693c12..4f87644a 100644 --- a/src/common/highlightjs/styles/dark.css +++ b/src/common/highlightjs/styles/dark.css @@ -1,4 +1,4 @@ -/* +/* Dark style from softwaremaniacs.org (c) Ivan Sagalaev diff --git a/src/common/highlightjs/styles/magula.css b/src/common/highlightjs/styles/magula.css index 42639277..26d26dfb 100644 --- a/src/common/highlightjs/styles/magula.css +++ b/src/common/highlightjs/styles/magula.css @@ -1,4 +1,4 @@ -/* +/* Description: Magula style for highligh.js Author: Ruslan Keba Website: http://rukeba.com/ diff --git a/src/firefox/chrome/locale/de/strings.dtd b/src/firefox/chrome/locale/de/strings.dtd index 974f9b65..a8248101 100644 --- a/src/firefox/chrome/locale/de/strings.dtd +++ b/src/firefox/chrome/locale/de/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/de/strings.properties b/src/firefox/chrome/locale/de/strings.properties index 6456c50b..50e8e320 100644 --- a/src/firefox/chrome/locale/de/strings.properties +++ b/src/firefox/chrome/locale/de/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Trotzdem senden? forgot_to_render_prompt_title=Markdown-Rendering vergessen? forgot_to_render_send_button=Senden invalid_field=Das ausgewählte Textfeld kann nicht zu Markdown gerendert werden. Bitte einen Rich-Text–Editor verwenden. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NEU nothing_to_render=Nichts zu rendern oder wiederherzustellen gefunden options_page__advanced_title=Fortgeschritten / Verschiedenes @@ -29,6 +31,7 @@ options_page__footer_2=Geschrieben von bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project. Danke. +options_page__forgot_to_render_4=If this feature stops working for you, please let us know by posting to the \"markdown-here\" Google Group or creating an issue in the Github project. (Hooking into the email sending web UI is brittle and will sometimes break.) options_page__forgot_to_render_label=Den \"Vergessen-zu-rendern\"-Check aktivieren. options_page__gfm_line_breaks_enabled_label=Aktivieren der GFM Zeilenumbrüche. options_page__ggroup=Fragen stellen, Diskussionen starten, oder einfach Hallo sagen – in der markdown-here Google–Gruppe. diff --git a/src/firefox/chrome/locale/en/strings.properties b/src/firefox/chrome/locale/en/strings.properties index 8d08c455..9acbebad 100644 --- a/src/firefox/chrome/locale/en/strings.properties +++ b/src/firefox/chrome/locale/en/strings.properties @@ -30,6 +30,7 @@ options_page__footer_1=Markdown Here is open source. To ask questions, options_page__footer_2=Created by Adam Pritchard. options_page__forgot_to_render_1=Currently only supported in the Gmail and Google Inbox web interfaces, and Thunderbird (and Postbox and Icedove). options_page__forgot_to_render_2=When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email. +options_page__forgot_to_render_3=Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project. Danke. options_page__forgot_to_render_4=If this feature stops working for you, please let us know by posting to the \"markdown-here\" Google Group or creating an issue in the Github project. (Hooking into the email sending web UI is brittle and will sometimes break.) options_page__forgot_to_render_label=Enable \"forgot-to-render\" check. options_page__gfm_line_breaks_enabled_label=Enable GFM line breaks. diff --git a/src/firefox/chrome/locale/es/strings.dtd b/src/firefox/chrome/locale/es/strings.dtd index 2589adb8..eb1f569a 100644 --- a/src/firefox/chrome/locale/es/strings.dtd +++ b/src/firefox/chrome/locale/es/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/es/strings.properties b/src/firefox/chrome/locale/es/strings.properties index 724581fb..b545c362 100644 --- a/src/firefox/chrome/locale/es/strings.properties +++ b/src/firefox/chrome/locale/es/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=¿Enviar de todos modos? forgot_to_render_prompt_title=¿Olvidaste activar Markdown? forgot_to_render_send_button=Enviar invalid_field=El campo seleccionado no es válido para el renderizado Markdown. Por favor, use un editor de texto enriquecido. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NUEVO nothing_to_render=No se ha encontrado nada para renderizar o deshacer options_page__advanced_title=Avanzada y miscelánea @@ -28,6 +30,7 @@ options_page__footer_1=Markdown Here is open source. Para preguntar, in options_page__footer_2=Creado por Adam Pritchard. options_page__forgot_to_render_1=Currently only supported in the Gmail and Google Inbox web interfaces, and Thunderbird (and Postbox and Icedove). options_page__forgot_to_render_2=Cuando envías un correo electrónico, esto comprueba el contenido para ver si parece que escribió en Markdown, pero se te olvidó renderizarlo (es decir, hacer clic en \"Markdown Toggle\") antes de enviar. Esto puede necesitar ser desactivado si interfiere con su capacidad de enviar correo electrónico. +options_page__forgot_to_render_3=Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project. Danke. options_page__forgot_to_render_4=If this feature stops working for you, please let us know by posting to the \"markdown-here\" Google Group or creating an issue in the Github project. (Hooking into the email sending web UI is brittle and will sometimes break.) options_page__forgot_to_render_label=Habilitar el check \"olvida-renderizar\". options_page__gfm_line_breaks_enabled_label=Activar saltos de línea GFM. diff --git a/src/firefox/chrome/locale/fr/strings.dtd b/src/firefox/chrome/locale/fr/strings.dtd index 9fc1abdd..197a0fb2 100644 --- a/src/firefox/chrome/locale/fr/strings.dtd +++ b/src/firefox/chrome/locale/fr/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/fr/strings.properties b/src/firefox/chrome/locale/fr/strings.properties index ca32fbf4..1f5cf8a9 100644 --- a/src/firefox/chrome/locale/fr/strings.properties +++ b/src/firefox/chrome/locale/fr/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=L'envoyer tout de même? forgot_to_render_prompt_title=Avez-vous oublié de basculer vers Markdown ? forgot_to_render_send_button=Envoyer invalid_field=Le champ sélectionné n'est pas valide pour un rendu avec Markdown. Utilisez un éditeur de texte enrichi. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NOUVEAU nothing_to_render=Il n'y a rien à rendre en Markdown ou à rétablir options_page__advanced_title=Avancé et divers @@ -28,6 +30,7 @@ options_page__footer_1=Markdown Here est open source. Pour poser des qu options_page__footer_2=Créé par Adam Pritchard (site en anglais). options_page__forgot_to_render_1=Actuellement uniquement supporté dans les interfaces web de Gmail et Google Inbox, et dans Thunderbird (et Postbox et Icedove). options_page__forgot_to_render_2=Lorsque vous envoyez un courriel, l'extension vérifie le contenu pour voir si vous l'avez écrit en Markdown, mais que vous avez oublié de faire le rendu (en cliquant sur « Basculer vers Markdown ») avant de l'envoyer. Cette option peut être désactivée si elle interfère avec votre capacité à envoyer des courriels. +options_page__forgot_to_render_3=Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project. Danke. options_page__forgot_to_render_4=Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github. (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.) options_page__forgot_to_render_label=Activer la vérification d'« oubli de rendu ». options_page__gfm_line_breaks_enabled_label=Activer les sauts de ligne GFM. diff --git a/src/firefox/chrome/locale/it/strings.dtd b/src/firefox/chrome/locale/it/strings.dtd index 071ac9d1..f265bae3 100644 --- a/src/firefox/chrome/locale/it/strings.dtd +++ b/src/firefox/chrome/locale/it/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/it/strings.properties b/src/firefox/chrome/locale/it/strings.properties index d213f036..b9dd40fe 100644 --- a/src/firefox/chrome/locale/it/strings.properties +++ b/src/firefox/chrome/locale/it/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Inviarla lo stesso? forgot_to_render_prompt_title=Forget to toggle Markdown? forgot_to_render_send_button=Invia invalid_field=The selected field is not valid for Markdown rendering. Please use a rich editor. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NEW nothing_to_render=Nulla da trasformare o da ripristinare options_page__advanced_title=Advanced and Miscellaneous @@ -29,6 +31,7 @@ options_page__footer_2=Created by please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project. Thanks. +options_page__forgot_to_render_4=Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github. (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.) options_page__forgot_to_render_label=Enable \"forgot-to-render\" check. options_page__gfm_line_breaks_enabled_label=Enable GFM line breaks. options_page__ggroup=Ask a question, start a discussion, or just say hi in the markdown-here Google Group. diff --git a/src/firefox/chrome/locale/ja/strings.dtd b/src/firefox/chrome/locale/ja/strings.dtd index cdfcbfbe..5ec6dc6d 100644 --- a/src/firefox/chrome/locale/ja/strings.dtd +++ b/src/firefox/chrome/locale/ja/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/ja/strings.properties b/src/firefox/chrome/locale/ja/strings.properties index dd6136cb..66da0d82 100644 --- a/src/firefox/chrome/locale/ja/strings.properties +++ b/src/firefox/chrome/locale/ja/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=それでも送りますか? forgot_to_render_prompt_title=レンダリングを忘れていませんか? forgot_to_render_send_button=送る invalid_field=このテキストフィールドではMarkdownにレンダリングできません。リッチテキストフィールドで行なってください。 +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=新しい機能 nothing_to_render=レンダリングするものも元に戻すものも見つかりませんでした。 options_page__advanced_title=その他の先進的機能 @@ -29,6 +31,7 @@ options_page__footer_2=このソフトウェアは ぜひ 理由と改善案をお知らせください。 Google Groupに投稿するGithub でIssueを投げ てください。お願いします。 +options_page__forgot_to_render_4=Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github. (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.) options_page__forgot_to_render_label=\"レンダリング忘れ\" チェックを使う options_page__gfm_line_breaks_enabled_label=Enable GFM line breaks. options_page__ggroup=質問や議論、ちょっとしたあいさつは、ぜひ markdown-here Google Group で行いましょう。 diff --git a/src/firefox/chrome/locale/ko/strings.dtd b/src/firefox/chrome/locale/ko/strings.dtd index 8aa82c7d..31137bc7 100644 --- a/src/firefox/chrome/locale/ko/strings.dtd +++ b/src/firefox/chrome/locale/ko/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/ko/strings.properties b/src/firefox/chrome/locale/ko/strings.properties index 57d5b9dd..217daed1 100644 --- a/src/firefox/chrome/locale/ko/strings.properties +++ b/src/firefox/chrome/locale/ko/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=이대로 보내시겠습니까? forgot_to_render_prompt_title=Forget to toggle Markdown? forgot_to_render_send_button=보내기 invalid_field=The selected field is not valid for Markdown rendering. Please use a rich editor. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NEW nothing_to_render=Nothing found to render or revert options_page__advanced_title=고급 설정 및 기타 설정 @@ -29,6 +31,7 @@ options_page__footer_2=Created by please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project. Thanks. +options_page__forgot_to_render_4=Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github. (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.) options_page__forgot_to_render_label=Enable \"forgot-to-render\" check. options_page__gfm_line_breaks_enabled_label=Enable GFM line breaks. options_page__ggroup=Ask a question, start a discussion, or just say hi in the markdown-here Google Group. diff --git a/src/firefox/chrome/locale/pl/strings.dtd b/src/firefox/chrome/locale/pl/strings.dtd index 861566b8..45e678ae 100644 --- a/src/firefox/chrome/locale/pl/strings.dtd +++ b/src/firefox/chrome/locale/pl/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/pl/strings.properties b/src/firefox/chrome/locale/pl/strings.properties index 728610fb..641eec5c 100644 --- a/src/firefox/chrome/locale/pl/strings.properties +++ b/src/firefox/chrome/locale/pl/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Wysłać mimo wszystko? forgot_to_render_prompt_title=Zapomniał(e/a)ś przełączyć Markdown? forgot_to_render_send_button=Wyślij invalid_field=Wybrane pole nie pozwala na interpretację języka Markdown. Proszę użyj edytora tekstu sformatowanego. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NOWOŚCI nothing_to_render=Nie znaleziono nic do przełożenia z języka Markdawn lub z powrotem options_page__advanced_title=Opcje Zaawansowane i Dodatkowe @@ -29,6 +31,7 @@ options_page__footer_2=Autorem projektu jest proszę daj mi znać dlaczego i jak można by to ulepszyć. Zostaw komentarz na forum Google Groups projektu \"markdown-here\" albo zgłoś problem (ang. issue) na stronie Github projektu. Dzięki. +options_page__forgot_to_render_4=Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github. (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.) options_page__forgot_to_render_label=Sprawdzaj czy zapomniano przełożyć Markdown na tekst wyjściowy. options_page__gfm_line_breaks_enabled_label=Stosuj podziały wiersza w stylu GFM. options_page__ggroup=Zadaj pytanie, rozpocznij dyskusję lub po prostu powiedz cześć na forum markdown-here w serwisie Google Groups. diff --git a/src/firefox/chrome/locale/pt_BR/strings.dtd b/src/firefox/chrome/locale/pt_BR/strings.dtd index 01318a53..3ff204bb 100644 --- a/src/firefox/chrome/locale/pt_BR/strings.dtd +++ b/src/firefox/chrome/locale/pt_BR/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/pt_BR/strings.properties b/src/firefox/chrome/locale/pt_BR/strings.properties index c76f876a..5dcfdbec 100644 --- a/src/firefox/chrome/locale/pt_BR/strings.properties +++ b/src/firefox/chrome/locale/pt_BR/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Enviar mesmo assim? forgot_to_render_prompt_title=Esqueceu de ativar o Markdown? forgot_to_render_send_button=Enviar invalid_field=O campo selecionado não é válido para renderização em Markdown. Favor usar um editor de texto formatado. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NOVO nothing_to_render=Nada encontrado para renderizar ou reverter options_page__advanced_title=Avançado e Diversos @@ -28,6 +30,7 @@ options_page__footer_1=Markdown Here é código livre. Para perguntar, options_page__footer_2=Criado por Adam Pritchard. options_page__forgot_to_render_1=Atualmente só apoiada com os interfaces de Gmail e Google Inbox, e o de Thunderbird (e Postbox e Icedove). options_page__forgot_to_render_2=Quando você envia um e-mail, isto analisa o conteúdo para verificar se você escreveu em Markdown, mas esqueceu de renderizar (ou seja, clicar em \"Alternar Markdown\") antes de enviar. Pode sen necessáio desativar esta opção se ela interferir com sua abilidade de enviar e-mail. +options_page__forgot_to_render_3=Jeśli musisz to wyłączyć, proszę daj mi znać dlaczego i jak można by to ulepszyć. Zostaw komentarz na forum Google Groups projektu \"markdown-here\" albo zgłoś problem (ang. issue) na stronie Github projektu. Dzięki. options_page__forgot_to_render_4=Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github. (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.) options_page__forgot_to_render_label=Ativar a verificação \"esquecer de renderizar\". options_page__gfm_line_breaks_enabled_label=Ativar quebras de linha GFM. diff --git a/src/firefox/chrome/locale/ru/strings.dtd b/src/firefox/chrome/locale/ru/strings.dtd index 89abcaae..223bbaec 100644 --- a/src/firefox/chrome/locale/ru/strings.dtd +++ b/src/firefox/chrome/locale/ru/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/ru/strings.properties b/src/firefox/chrome/locale/ru/strings.properties index 30238d01..b5e7a3b8 100644 --- a/src/firefox/chrome/locale/ru/strings.properties +++ b/src/firefox/chrome/locale/ru/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Отправить его в любом слу forgot_to_render_prompt_title=Забыли переключить Markdown? forgot_to_render_send_button=Отправить invalid_field=Рендеринг Markdown не применим к выбранному полю. Пожалуйста используйте WYSIWYG редактор. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=НОВОЕ nothing_to_render=Ничего не найдено для рендеринга или возврата к оригиналу options_page__advanced_title=Дополнительные настройки @@ -29,6 +31,7 @@ options_page__footer_2=Создано please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project. Thanks. +options_page__forgot_to_render_4=Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github. (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.) options_page__forgot_to_render_label=Включить проверку рендеринга. options_page__gfm_line_breaks_enabled_label=Перенос строк как в Github (GFM). options_page__ggroup=Задать вопрос, начать обсуждение или просто сказать 'привет' можно тут markdown-here Google Group. diff --git a/src/firefox/chrome/locale/tr/strings.dtd b/src/firefox/chrome/locale/tr/strings.dtd index e5838c81..f709039a 100644 --- a/src/firefox/chrome/locale/tr/strings.dtd +++ b/src/firefox/chrome/locale/tr/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/tr/strings.properties b/src/firefox/chrome/locale/tr/strings.properties index 7477cabc..99775038 100644 --- a/src/firefox/chrome/locale/tr/strings.properties +++ b/src/firefox/chrome/locale/tr/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=Yine de gönder? forgot_to_render_prompt_title=Markdown'u derlemeyi unuttun mu? forgot_to_render_send_button=Gönder invalid_field=Seçilen alan Markdown dönüşümü için geçerli değildir. Lütfen bir zengin metin editörü kullanın. +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=YENİ nothing_to_render=Derleyecek veya geri alınacak birşey bulunamadı options_page__advanced_title=İleri düzey ve Karışık @@ -29,6 +31,7 @@ options_page__footer_2=A options_page__forgot_to_render_1=Şimdilik sadece Gmail web arayüzü ve Thunderbird destekleniyor.(ve Postbox ve Icedove). options_page__forgot_to_render_2=When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email. options_page__forgot_to_render_3=If you find yourself disabling this, please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project. Thanks. +options_page__forgot_to_render_4=Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github. (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.) options_page__forgot_to_render_label= \"derlemeyi-unuttum\" kontrolünü etkinleştir. options_page__gfm_line_breaks_enabled_label=Enable GFM line breaks. options_page__ggroup=Bir soru sor , bir tartışma başlat, ya da sadece merhaba de markdown-here Google Group. diff --git a/src/firefox/chrome/locale/zh_CN/strings.dtd b/src/firefox/chrome/locale/zh_CN/strings.dtd index 175eb5a2..8f8e34f4 100644 --- a/src/firefox/chrome/locale/zh_CN/strings.dtd +++ b/src/firefox/chrome/locale/zh_CN/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/zh_CN/strings.properties b/src/firefox/chrome/locale/zh_CN/strings.properties index d5344dce..41b825d2 100644 --- a/src/firefox/chrome/locale/zh_CN/strings.properties +++ b/src/firefox/chrome/locale/zh_CN/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=坚持发送? forgot_to_render_prompt_title=忘了转换Markdown? forgot_to_render_send_button=发送 invalid_field=选定的区域不支持Markdown转换,请使用富文本编辑器。 +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=NEW nothing_to_render=没有可转换或可恢复的内容 options_page__advanced_title=高级选项及其它 @@ -29,6 +31,7 @@ options_page__footer_2=由请 告知我为什么和如何做更好. Create a post on the \"markdown-here\" Google Group or an issue in the Github project. 谢谢. +options_page__forgot_to_render_4=Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github. (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.) options_page__forgot_to_render_label=启用 \"忘记转换\" 检查. options_page__gfm_line_breaks_enabled_label=启用GFM换行。 options_page__ggroup=资询, 讨论,或者只是和同道中人打个招呼,戳 markdown-here Google Group. diff --git a/src/firefox/chrome/locale/zh_TW/strings.dtd b/src/firefox/chrome/locale/zh_TW/strings.dtd index a698960d..1beecff5 100644 --- a/src/firefox/chrome/locale/zh_TW/strings.dtd +++ b/src/firefox/chrome/locale/zh_TW/strings.dtd @@ -2,6 +2,8 @@ + + diff --git a/src/firefox/chrome/locale/zh_TW/strings.properties b/src/firefox/chrome/locale/zh_TW/strings.properties index ec99e62d..4a5b5bef 100644 --- a/src/firefox/chrome/locale/zh_TW/strings.properties +++ b/src/firefox/chrome/locale/zh_TW/strings.properties @@ -10,6 +10,8 @@ forgot_to_render_prompt_question=仍要傳送? forgot_to_render_prompt_title=忘了切換Markdown? forgot_to_render_send_button=傳送 invalid_field=選擇的區域不支援Markdown算繪模式,請使用富文字編輯器。 +moz_options_dlg_instruction=Click the 'OK' button to open the Markdown Here Options tab +moz_options_dlg_title=Markdown Here Options new_changelist_items=新 nothing_to_render=沒有可算繪或可恢復的內容 options_page__advanced_title=進階選項及其它 @@ -29,6 +31,7 @@ options_page__footer_2=由請告知我為什麼和如何做更好。在\"markdown-here\" Google Group 中發文或是在Github專案建立issue。謝謝。 +options_page__forgot_to_render_4=Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github. (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.) options_page__forgot_to_render_label=啟用 \"忘記算繪\" 檢查。 options_page__gfm_line_breaks_enabled_label=啟用GFM換行。 options_page__ggroup=詢問,討論,或者只是問好,參見 markdown-here Google Group。 diff --git a/utils/i18n.js b/utils/i18n.js index 1334b783..cd7889dd 100644 --- a/utils/i18n.js +++ b/utils/i18n.js @@ -29,6 +29,8 @@ var LOCALES_DIR = '../src/_locales/'; var locales = fs.readdirSync(LOCALES_DIR); var mozLocaleMappings = getMozillaLocaleMappings(); +var englishStringBundle = JSON.parse(fs.readFileSync(LOCALES_DIR + 'en/messages.json')); + locales.forEach(function(locale) { // Skip .DS_Store. No locale dirs should start with '.' if (locale[0] === '.') { @@ -87,6 +89,10 @@ function processLocale(locale) { // message.json is authoritative. The Firefox files are derived from it. var stringBundle = JSON.parse(fs.readFileSync(LOCALES_DIR + locale + '/messages.json')); + // If new strings have been added, they may be present in English but not in the other + // strings bundles. We'll make sure each language has the complete set. + stringBundle = Object.assign(englishStringBundle, stringBundle); + var mozPropertiesFilename = '../src/firefox/chrome/locale/' + locale + '/strings.properties'; var mozPropertiesFd = fs.openSync(mozPropertiesFilename, 'w'); @@ -110,7 +116,7 @@ function processLocale(locale) { fs.writeSync(mozPropertiesFd, key + '=' + message + '\n'); if (stringBundle[key]['inMozDTD']) { - fs.writeSync(mozDtdFd, '\n' ); + fs.writeSync(mozDtdFd, '\n'); } } @@ -127,11 +133,11 @@ function processLocale(locale) { function getMozillaLocaleMappings() { - var lines = mozManifest.split('\n'), - mappings = {}, - i, match; - for (var i = 0; i < lines.length; i++) { - match = lines[i].match(/^locale\s+markdown_here\s+([a-zA-Z_-]+)\s+firefox\/chrome\/locale\/([a-zA-Z_-]+)\/$/); + var lines = mozManifest.split('\n'); + var mappings = {}; + + for (let i = 0; i < lines.length; i++) { + let match = lines[i].match(/^locale\s+markdown_here\s+([a-zA-Z_-]+)\s+firefox\/chrome\/locale\/([a-zA-Z_-]+)\/$/); if (match) { mappings[match[2]] = match[1]; }