Skip to content

Commit

Permalink
Added partial Korean translation. Update of Japanese screenshots in p…
Browse files Browse the repository at this point in the history
…rogress.
  • Loading branch information
adam-p committed Feb 9, 2014
1 parent 6f5222e commit 4bbf068
Show file tree
Hide file tree
Showing 12 changed files with 571 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/_locales/ja/md-for-screenshot.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## 楽しいMarkdownのスクリーンショット

*Markdown Here* は、電子メールを Markdown で書いて送る前にレンダリングできる Google Chrome と Firefox、 Thuderbird の拡張機能です。

* Markdown は **かっこいい**。 `コード` を内部に埋め込めます。
* [リンク](https://github.com/adam-p/markdown-here)を貼るのも簡単。
* 文章を綺麗に配置したい? **それと** サブリストも?
1. はい、
2. できます。

実際にあったレビューを引用してみましょう:

> まさに私が必要としていたものです。 電子メールで面倒くさいことなしにMarkdownを使えます。

### シンタックスハイライティング:超イカしてる

ちょっとした JavaScript:

```javascript
alert('Markdownだよ!');
```

ちょっと変わった例 ― diff:

```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
22 changes: 22 additions & 0 deletions src/_locales/ko/description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Markdown Here는 마크다운으로 이메일을 (예쁘게) 쓰실 수 있게 합니다

This is great for anyone who doesn't like fiddling around with formatting buttons while writing an email. It's especially good for programmers who write email with code in them -- it even supports syntax highlighting. And for the mathematicians among us: Markdown Here will render TeX formulae as well.

사용하는 법이 아주 간단합니다:
1. Write your email in your email client's rich editor using Github-flavoured Markdown.
2. Right-click in the compose area and then click "Markdown Toggle".
3. 쓰신 이메일은 이제 예뻐졌습니다! (즉 일반 문자에서 HTML로 바뀌게 되었습니다)
4. 모습이 마음에 드신다면 그대로 보내셔도 좋습니다. 만약 바꾸거나 혹은 추가하고 싶은 것이 있으시다면 "마크다운 토글"을 클릭하신 다음에 다시 마크다운으로 될테고 편집하실 수 있습니다.

Markdown Here is primarily targeted to work with Gmail and Thunderbird, but it also works pretty well with Yahoo and Hotmail. Additionally, it works great with Google Groups and Sites, Evernote's web interface, Blogger, Wordpress, and more!

Syntax highlighting note: Used fenced code blocks and specify the language name. See the project page for an example.

Privacy: Markdown Here accesses and modifies the content of your email. It can, in theory, access other web content, but does not. It also makes no Internet requests itself whatsoever. You data is modified when and where you choose, and does not leave your browser.

Available as a Chrome, Firefox, Safari, Opera, and Thunderbird extension.

이것은 오픈 소스 프로젝트 입니다. Visit Markdown Here's Github page for full instructions, more information, bug reports, or to contribute.

http://markdown-here.com
https://github.com/adam-p/markdown-here
36 changes: 36 additions & 0 deletions src/_locales/ko/md-for-screenshot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Sweet Screenshot Markdown

*Markdown Here* is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.

* Markdown is **cool**. Put `code inline`.
* Link to stuff, like [this project][1].
* Ordered, you say? **And** a sub-list?
1. Done.
2. And done.

[1]: https://github.com/adam-p/markdown-here

Actual review quote:

> Does exactly what I need it to do. Markdown support in email without getting in the way.
### Syntax highlighting: super rad

Some JavaScript:

javascript
alert('Hello Markdown');


How about an unusual example -- a diff:

diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
347 changes: 347 additions & 0 deletions src/_locales/ko/messages.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/firefox/chrome/locale/ko/strings.dtd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!ENTITY app_name "Markdown Here">
<!ENTITY context_menu_item "마크다운 토글">
<!ENTITY context_menu_item_shortcut "k">
<!ENTITY forgot_to_render_back_button "뒤로">
<!ENTITY forgot_to_render_send_button "보내기">
<!ENTITY toggle_button_text "마크다운 토글">
<!ENTITY toggle_button_tooltip "Click to toggle Markdown rendering">
<!ENTITY toggle_button_tooltip_disabled "The selected field is not valid for Markdown rendering">
92 changes: 92 additions & 0 deletions src/firefox/chrome/locale/ko/strings.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
app_name=Markdown Here
app_slogan=Write your email in Markdown, then make it pretty.
context_menu_item=마크다운 토글
context_menu_item_shortcut=k
context_menu_item_with_shortcut=마크다운 토글
currently_in_use=Currently in use
cursor_into_compose=Please put the cursor into the compose box.
forgot_to_render_back_button=뒤로
forgot_to_render_prompt_close_hover=Dismiss this notification
forgot_to_render_prompt_info=It looks like you wrote this email in Markdown but forgot to make it pretty.
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.
new_changelist_items=NEW
nothing_to_render=Nothing found to render or revert
options_page__advanced_title=고급 설정 및 기타 설정
options_page__advanced_usage=For lots more info and advanced usage, see the <a href=\"https://github.com/adam-p/markdown-here\" target=\"_blank\">Markdown Here project page</a>. You should also explore the options below.
options_page__basic_usage=기본 사용법
options_page__changes_saved=변경 내용이 저장되었습니다
options_page__click_toggle=Right-click in the email and then click \"Markdown Toggle\". (Or click the <img src=\"images/icon16.png\"/> button on the toolbar.<span class=\"hotkey-display-wrapper\"> Or press <span class=\"hotkey-display\"><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>M</kbd></span></span>)
options_page__contributing_1=<strong>If you have ever put a code block into an email, then you can help make Markdown Here better.</strong> <a href=\"https://github.com/adam-p/markdown-here/blob/development/CONTRIBUTE.md\" target=\"_blank\">CONTRIBUTE.md</a>
options_page__contributing_2=Help make Markdown Here available in your language. <a href=\"https://github.com/adam-p/markdown-here/blob/development/CONTRIBUTE.md#translation\" target=\"_blank\">Translations are welcome.</a>
options_page__contributing_title=Contributing
options_page__donate_plea_1=Once you decide Markdown Here is pretty sweet, please help me to buy some flowers for my wife so she's not too upset about how much time I spend working on it. <strong>Thank you!</strong>
options_page__donate_plea_2=<strong>Help make Markdown Here better!</strong>
options_page__donate_plea_3=<strong>Help support the development of Markdown Here!</strong>
options_page__donate_plea_4=You know what makes it easier to keep Markdown Here working on Chrome, Firefox, Thunderbird, Postbox, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? <strong>Coffee!</strong>
options_page__footer_1=<em>Markdown Here</em> is open source. To ask questions, report bugs, request features, or contribute, visit the <a target=\"_blank\" href=\"https://github.com/adam-p/markdown-here\">Github project page</a> or the <a target=\"_blank\" href=\"https://groups.google.com/forum/?fromgroups=#!forum/markdown-here\">\"markdown-here\" Google Group</a>.
options_page__footer_2=Created by <a target=\"_blank\" href=\"http://adam-p.github.com/\">Adam Pritchard</a>.
options_page__forgot_to_render_1=이 기능은 현재 Gmail, Thunderbird, Postbox, 혹은 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, <em>please</em> let me know why and how it could be better. Create <a href=\"https://groups.google.com/forum/#!forum/markdown-here\" target=\"_blank\">a post on the \"markdown-here\" Google Group</a> or <a href=\"https://github.com/adam-p/markdown-here/issues\" target=\"_blank\">an issue in the Github project</a>. Thanks.
options_page__forgot_to_render_label=<b>Enable \"forgot-to-render\" check.</b>
options_page__ggroup=Ask a question, start a discussion, or just say hi in the <a href=\"https://groups.google.com/forum/?fromgroups=#!forum/markdown-here\" target=\"_blank\">markdown-here Google Group</a>.
options_page__header_anchors_enabled_1=This is great if you want to put a table of contents or other internal links into your content. <a href=\"https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks#wiki-header-anchors\" target=\"_blank\">Learn about how to use it in the MDH wiki.</a>
options_page__header_anchors_enabled_2=It's disabled by default because it <a href=\"https://github.com/adam-p/markdown-here/issues/155\" target=\"_blank\">creates visual noise in Thunderbird</a>. (And most people probably won't use the feature.)
options_page__header_anchors_enabled_label=<b>Enable automatic header anchors.</b>
options_page__hotkey_alt_key=ALT
options_page__hotkey_ctrl_key=CTRL
options_page__hotkey_note_1=Chrome: You must reload your email web page for the new hotkey setting to take effect.
options_page__hotkey_note_2=Firefox and Thunderbird: You must restart the application for the new hotkey setting to take effect.
options_page__hotkey_note_3=You must use an alphanumeric key for the shortcut (varies by language and keyboard).
options_page__hotkey_note_4=The Windows key and the OS X &#8984; key cannot be used in the shortcut.
options_page__hotkey_note_5=To disable the use of this hotkey, leave the \"key\" text box empty.
options_page__hotkey_plus=+
options_page__hotkey_shift_key=SHIFT
options_page__hotkey_title=Hotkey (aka keyboard shortcut)
options_page__hotkey_warning=Is the key an alphanumeric value?
options_page__markdown_toggle_button_text=Markdown Toggle
options_page__mdh_wiki=Visit the <a href=\"https://github.com/adam-p/markdown-here/wiki\" target=\"_blank\">Markdown Here wiki</a> for info about <a href=\"https://github.com/adam-p/markdown-here/wiki/Compatibility\" target=\"_blank\">where else MDH works</a> and more <a href=\"https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks\" target=\"_blank\">tips and tricks</a>.
options_page__next_steps=If you're interested in what the future holds for Markdown Here, check out the <a href=\"https://github.com/adam-p/markdown-here#next-steps\" target=\"_blank\">Next Steps section</a> of the README.
options_page__note_default_client_styles=Some email editors and browsers impose their own styles. Those may not be apparent here.
options_page__note_options_sync=Changes are automatically saved and synchronized (if sync is enabled in your browser).
options_page__note_syntax_styles_after_primary=The syntax highlighting styles are applied after the primary styling, and so take precedence.
options_page__notes_title=Notes
options_page__other_donation_options=Other donation options
options_page__page_title=Markdown Here Options
options_page__pretty_cool=The message should now look pretty cool. Send it to your friends!
options_page__preview_markdown=```javascript<br>\nfunction syntaxHighlighting() {<br>\n&nbsp; var n = 33;<br>\n&nbsp; var s = \"hi\";<br>\n&nbsp; console.log(s);<br>\n}<br>\n```<br>\n<br>\n* plain<br>\n* *emphasis*<br>\n&nbsp; * **strong emphasis**<br>\n&nbsp; &nbsp; * ~~strikethrough~~<br>\n* `inline code`<br>\n<br>\n1. Numbered list<br>\n2. [Link](https://www.google.com)<br>\n<br>\n<br>\nAn image: ![Markdown Here logo](http://adam-p.github.io/markdown-here/img/icon24.png)\n<br>\n<br>\n> Block quote.&nbsp; <br>\n> *With* **some** `markdown`.<br>\n<br>\nIf **TeX Math** support is enabled, this is the quadratic equation:&nbsp;<br>\n$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$<br>\n<br>\n# Header 1<br>\n## Header 2<br>\n### Header 3<br>\n#### Header 4<br>\n##### Header 5<br>\n###### Header 6<br>\n&nbsp; <br>\n| Tables | Are | Cool |<br>\n| ------------- |:-------------:| -----:|<br>\n| column 3 is | right-aligned | $1600 |<br>\n| column 2 is | centered | $12 |<br>\n| zebra stripes | are neat | $1 |<br>\n<br>\nHere's a horizontal rule:<br>\n<br>\n---<br>\n<br>\n```<br>\ncode block<br>\nwith no highlighting<br>\n```<br>\n<br>\n
options_page__preview_title=미리 보기
options_page__primary_css_title=Primary Styling CSS
options_page__reload_restart=Reload your email web page or restart your web browser.
options_page__reset_primary_css=초기화
options_page__resources_cheatsheet_link=If you're new to Markdown, the <a href=\"https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet\" target=\"_blank\">Markdown Here Cheatsheet</a> will make you a prostar.
options_page__resources_title=Resources and Links
options_page__start_new_message=Start a new email message.
options_page__syntax_highlighting_css_title=Syntax Highlighting CSS
options_page__syntax_highlighting_theme_label=테마:
options_page__tex_math_customization_1=If this feature is enabled, text between dollar signs — <code>$</code> — will be interpreted as mathematical formulae. For example, <code>$\\Delta$</code> would be rendered as a delta symbol.
options_page__tex_math_customization_2=For render customization options, see the <a href=\"https://developers.google.com/chart/infographics/docs/formulas\" target=\"_blank\">Google Charts documentation</a> for this service.
options_page__tex_math_customization_3=A good resource for creating TeX formulae is the <a href=\"https://www.codecogs.com/latex/about.php\" target=\"_blank\">CodeCogs Equation Editor</a>.
options_page__tex_math_customization_4=Formulae are rendered to images, so email recipients will have to enable images to be shown to see the rendering.
options_page__tex_math_customization_5=If you customize the rendering tag, you can (and should) use either or both of <code>{mathcode}</code> and <code>{urlmathcode}</code> as placeholders.
options_page__tex_math_customization_5_1=<code>{mathcode}</code>: The text between the <code>$</code> symbols — i.e., the raw TeX formula; like <code>\\Delta</code>.
options_page__tex_math_customization_5_2=<code>{urlmathcode}</code>: The URL-encoded form of the TeX formula; like <code>%5CDelta</code>.
options_page__tex_math_customization_6=If you customize the <code>&lt;img&gt;</code> tag, you should include an <code>alt</code> attribute that has as human-readable a value as possible, like <code>{mathcode}</code>. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.
options_page__tex_math_customization_heading=<strong>Customization and Use:</strong>
options_page__tex_math_privacy_heading=<strong>Privacy Issues:</strong>
options_page__tex_math_privacy_issue_1=To generate the image for the formula, a request is sent to Google. That effectively means that you are sharing your formula with Google. It also means that recipients of your message will be making a request to Google to have the image rendered. That's why this option is disabled by default.
options_page__tex_math_privacy_issue_2=If you customize the formula rendering tag, you should use a secure (https://) path. Not all rendering services provide a secure option.
options_page__tex_math_reset_button=Reset to Default
options_page__tex_math_title=TeX Mathematical Formulae Support
options_page__type_some_markdown=Type some Markdown into the email.<br/>Try this: <code>_Hello_ `Markdown` **Here**!</code>
plain_text_compose=You are using a plain-text compose editor. You must change to a rich editor to use Markdown Here.
toggle_button_text=마크다운 토글
toggle_button_tooltip=Click to toggle Markdown rendering
toggle_button_tooltip_disabled=The selected field is not valid for Markdown rendering
unrendering_modified_markdown_warning=The rendered Markdown appears to have been modifed.\nIf you unrender it, your changes since rendering will be lost.\n\nAre you sure you wish to unrender?
upgrade_notification_changes_tooltip=Click to the see the changes in this release
upgrade_notification_dismiss_tooltip=Dismiss this notification
upgrade_notification_text=Markdown Here 업데이트 되었습니다
8 changes: 8 additions & 0 deletions src/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
</Description>
</em:localized>

<em:localized>
<Description>
<em:locale>ko</em:locale>
<em:name>Markdown Here</em:name>
<em:description>Write your email in Markdown, then make it pretty.</em:description>
</Description>
</em:localized>

<!-- /i18n -->

<!-- There also needs to be a top-level copy of these fields. -->
Expand Down
Binary file modified store-assets/markdown-here-image1.gimp.xcf
Binary file not shown.
Binary file modified store-assets/markdown-here-image2.gimp.xcf
Binary file not shown.
18 changes: 18 additions & 0 deletions store-assets/markdown-here-image2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
On Wed, May 16, 2012 at 9:51 PM, Buddy <[email protected]> wrote:

> Hey pal!

Hi Buddy.

> Can you send me some sweet code?

**This** is pretty great:

```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```

> Thanks in advance!

No problem.
File renamed without changes.
5 changes: 5 additions & 0 deletions store-assets/screenshot-captions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Write your email in Markdown...

...and then make it pretty!

Want to use Markdown for only part of your email? Just select it and convert it!

0 comments on commit 4bbf068

Please sign in to comment.