forked from mdn/yari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h2m/m2h: l10n support for cards (mdn#4251)
* Adding l10n support for converter via node-gettext * Typo fr wording for warning cards * feat: add ko markdown card label * Fixes per review * Use shared constant for default locale * add l10n support for m2h * Fix merge typo & applied prettier * Fixing per @fiji-flo review * AFixing CI feedback - applied prettier * Fallback to en-US when no localization is provided * Fix callout label * prevent unexpected keyword to break / fix per Will's review Co-authored-by: hochan222 <[email protected]>
- Loading branch information
1 parent
5420d6c
commit 478f0e2
Showing
13 changed files
with
257 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"translations": { | ||
"": { | ||
"card_note_label": { | ||
"msgid": "card_note_label", | ||
"msgstr": ["Note:"] | ||
}, | ||
"card_warning_label": { | ||
"msgid": "card_warning_label", | ||
"msgstr": ["Warning:"] | ||
}, | ||
"card_callout_label": { | ||
"msgid": "card_callout_label", | ||
"msgstr": ["Callout:"] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"translations": { | ||
"": { | ||
"card_note_label": { | ||
"msgid": "card_note_label", | ||
"msgstr": ["Note :"] | ||
}, | ||
"card_warning_label": { | ||
"msgid": "card_warning_label", | ||
"msgstr": ["Attention :"] | ||
}, | ||
"card_callout_label": { | ||
"msgid": "card_callout_label", | ||
"msgstr": ["Remarque :"] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"translations": { | ||
"": { | ||
"card_note_label": { | ||
"msgid": "card_note_label", | ||
"msgstr": ["참고:"] | ||
}, | ||
"card_warning_label": { | ||
"msgid": "card_warning_label", | ||
"msgstr": ["경고:"] | ||
}, | ||
"card_callout_label": { | ||
"msgid": "card_callout_label", | ||
"msgstr": ["알림:"] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.