From b65099131fed1b69e96fce00bae84662524fa492 Mon Sep 17 00:00:00 2001 From: kitian616 Date: Sun, 6 Oct 2019 16:31:34 +0800 Subject: [PATCH] feat: add french locale --- _data/locale.yml | 6 ++- _data/navigation.yml | 16 +++++++ _layouts/archive.html | 2 + _layouts/home.html | 2 + about.md | 2 + docs/_config.yml | 2 +- docs/_data/locale.yml | 40 +++++++++++++++++- docs/_sample_languages/1-english.md | 2 +- .../_sample_languages/2-chinese-simplified.md | 2 +- .../3-chinese-traditional.md | 2 +- docs/_sample_languages/4-korean.md | 2 +- docs/_sample_languages/5-french.md | 22 ++++++++++ docs/assets/images/languages/lang-fr.jpg | Bin 0 -> 21792 bytes test/404.html | 2 - test/_data/locale.yml | 40 +++++++++++++++++- test/_data/navigation.yml | 16 +++++++ test/archive.html | 6 --- 17 files changed, 145 insertions(+), 19 deletions(-) create mode 100644 docs/_sample_languages/5-french.md create mode 100644 docs/assets/images/languages/lang-fr.jpg diff --git a/_data/locale.yml b/_data/locale.yml index 3477699e614..9fd06da35a2 100644 --- a/_data/locale.yml +++ b/_data/locale.yml @@ -1,4 +1,5 @@ -## => Engish +# @start locale config +## => English ######################## en: &EN SUBSCRIBE : "Subscribe" @@ -142,4 +143,5 @@ fr-CH: fr-FR: <<: *FR fr-LU: - <<: *FR \ No newline at end of file + <<: *FR +# @end locale config \ No newline at end of file diff --git a/_data/navigation.yml b/_data/navigation.yml index 38a16eef5d8..2c81655e42c 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,5 +1,6 @@ header: - titles: + # @start locale config en : &EN Archive en-GB : *EN en-US : *EN @@ -14,9 +15,17 @@ header: zh-HK : *ZH_HANT ko : &KO 아카이브 ko-KR : *KO + fr : &FR Archives + fr-BE : *FR + fr-CA : *FR + fr-CH : *FR + fr-FR : *FR + fr-LU : *FR + # @end locale config url: /archive.html - titles: + # @start locale config en : &EN About en-GB : *EN en-US : *EN @@ -31,4 +40,11 @@ header: zh-HK : *ZH_HANT ko : &KO 소개 ko-KR : *KO + fr : &KO À propos + fr-BE : *FR + fr-CA : *FR + fr-CH : *FR + fr-FR : *FR + fr-LU : *FR + # @end locale config url: /about.html diff --git a/_layouts/archive.html b/_layouts/archive.html index bcda13b3301..1887c9ef5ee 100644 --- a/_layouts/archive.html +++ b/_layouts/archive.html @@ -1,6 +1,7 @@ --- layout: page titles: + # @start locale config en : &EN Archive en-GB : *EN en-US : *EN @@ -21,6 +22,7 @@ fr-CH : *FR fr-FR : *FR fr-LU : *FR + # @end locale config ---
diff --git a/_layouts/home.html b/_layouts/home.html index d1e6d490a9b..e587d6f82d1 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -1,6 +1,7 @@ --- layout: articles titles: + # @start locale config en : &EN Home en-GB : *EN en-US : *EN @@ -21,6 +22,7 @@ fr-CH : *FR fr-FR : *FR fr-LU : *FR + # @end locale config show_title: false articles: data_source: paginator.posts diff --git a/about.md b/about.md index fd738a743f2..987650091ae 100644 --- a/about.md +++ b/about.md @@ -1,6 +1,7 @@ --- layout: article titles: + # @start locale config en : &EN About en-GB : *EN en-US : *EN @@ -21,6 +22,7 @@ titles: fr-CH : *FR fr-FR : *FR fr-LU : *FR + # @end locale config key: page-about --- diff --git a/docs/_config.yml b/docs/_config.yml index 9f6a6b7e7b0..f97a0e561f1 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -27,7 +27,7 @@ description: > ## => Language and Timezone ############################## -lang: en # the language of your site, default as "en" +lang: fr # the language of your site, default as "en" timezone: Asia/Shanghai diff --git a/docs/_data/locale.yml b/docs/_data/locale.yml index 14865681515..9fd06da35a2 100644 --- a/docs/_data/locale.yml +++ b/docs/_data/locale.yml @@ -1,4 +1,5 @@ -## => Engish +# @start locale config +## => English ######################## en: &EN SUBSCRIBE : "Subscribe" @@ -108,4 +109,39 @@ ko: &KO COPYRIGHT_DATES : "2019" ko-KR: - <<: *KO \ No newline at end of file + <<: *KO + +## => French +######################## +fr: &FR + SUBSCRIBE : "S'abonner" + READMORE : "Plus" + SEARCH : "Recherche" + CANCEL : "Annuler" + VIEWS : "vues" + LAST_UPDATED : "Dernière modification" + PREVIOUS : "PRÉCÉDENT" + NEXT : "SUIVANT" + ARTICLE_DATE_FORMAT : "%d %b, %Y" + ARTICLE_LIST_DATE_FORMAT: "%d %b" + STATISTICS : "[POST_COUNT] articles, [PAGE_COUNT] pages." + LICENSE_ANNOUNCE : "Ce travail est sous licence [LICENSE]." + POST_ON_GITHUB : "Modifier sur Github" + FOLLOW_ME : "Suivez-moi sur [NAME]." + FOLLOW_US : "Suivez-nous sur [NAME]." + EMAIL_ME : "Envoyez-moi un courriel." + EMAIL_US : "Envoyez-nous un courriel" + COPYRIGHT_DATES : "2019" + DONATE : "Faites un don de [NAME]." + +fr-BE: + <<: *FR +fr-CA: + <<: *FR +fr-CH: + <<: *FR +fr-FR: + <<: *FR +fr-LU: + <<: *FR +# @end locale config \ No newline at end of file diff --git a/docs/_sample_languages/1-english.md b/docs/_sample_languages/1-english.md index 485b33231d0..8bf7f80c550 100644 --- a/docs/_sample_languages/1-english.md +++ b/docs/_sample_languages/1-english.md @@ -18,4 +18,4 @@ lang: en-GB lang: en-US lang: en-CA lang: en-AU -``` \ No newline at end of file +``` diff --git a/docs/_sample_languages/2-chinese-simplified.md b/docs/_sample_languages/2-chinese-simplified.md index aa77f8c1605..583a4ab1af9 100644 --- a/docs/_sample_languages/2-chinese-simplified.md +++ b/docs/_sample_languages/2-chinese-simplified.md @@ -38,4 +38,4 @@ lang: zh-SG > 窈窕淑女,君子好逑。 > > ——《诗经·国风·周南·关雎》 -
\ No newline at end of file +
diff --git a/docs/_sample_languages/3-chinese-traditional.md b/docs/_sample_languages/3-chinese-traditional.md index 7bdcbbdfcdd..083ccc7b830 100644 --- a/docs/_sample_languages/3-chinese-traditional.md +++ b/docs/_sample_languages/3-chinese-traditional.md @@ -37,4 +37,4 @@ lang: zh-HK > 窈窕淑女,君子好逑。 > > ——《詩經·國風·周南·關雎》 -
\ No newline at end of file +
diff --git a/docs/_sample_languages/4-korean.md b/docs/_sample_languages/4-korean.md index 22991dfe35b..79443171821 100644 --- a/docs/_sample_languages/4-korean.md +++ b/docs/_sample_languages/4-korean.md @@ -15,4 +15,4 @@ lang: ko ```yml lang: ko lang: ko-KR -``` \ No newline at end of file +``` diff --git a/docs/_sample_languages/5-french.md b/docs/_sample_languages/5-french.md new file mode 100644 index 00000000000..1cc8ab4768a --- /dev/null +++ b/docs/_sample_languages/5-french.md @@ -0,0 +1,22 @@ +--- +title: Français (French) +key: lang-fr +permalink: /languages/french.html +cover: /docs/assets/images/languages/lang-fr.jpg +lang: fr +--- + +Français. + + + +*_config.yml* or front matter: + +```yml +lang: fr +lang: fr-BE +lang: fr-CA +lang: fr-CH +lang: fr-FR +lang: fr-LU +``` diff --git a/docs/assets/images/languages/lang-fr.jpg b/docs/assets/images/languages/lang-fr.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0120960dd0b72371c357d5960e5932d009ba30ea GIT binary patch literal 21792 zcmeIacUTi$yDvQSs&ugusx%c*QBfd(AjLwFA|S?sA}C!cLKvzPl~6$>-*?>W!vXKOXTk&?&C?7+ z*|mTeKj&F4SuPHFfK!ZvON@hE51^1I^KksO{Pr^d;Ns-w-~o8~_yq)okQ?em0S+$Y z92Yk)Hy0#imKXS?IWgU=JsbD99^%uxd#LW-M$kO8yBDWFzr!#M&^s$yqB-?-;|b> zzpwc4vHtUyhQ_Amj_=(+dV2f%M zzo`@hI5`nIxj4CaIC(g^xnnpGjJQO_<+x=v4J3H>%I~w1)aTu=aM4i8$NE6HrD9Un zvA3J}E@_=1cPd@@WHjnak&d{0(0iw`O|tUyZwPpsf1~3NLdbCwgcMu5U&Odvx%!J9 zzni!Gf6){c85R9IT`3Pzel;r(Ob`)%R>wFvyRu#rZ7Yk`xK8~GF9<>CG7+W&Zm z-46(J{RW>H!d$Gu0lR!{R1AsA2GO;}`xo(s+X@qbN(J=K{u!<44YIAJSTM|vpE#L^v@ z&;IZ?ozui*t$@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X-0ueWk$~_wsAfI7!ELvf=ov$pAi{aVl7u)E2CsRsVR*V<}XL9UqKvYVv?KVsEr-wOPdRVo4+g%P# zy3HWIb6ERRHQ}fin=EIvj~M{ZG$cN5nIX}wi}jW4fem(LzT}toA6X#NWKAnc)b`$m z9nTw)ABAr#D+x3fl#inv Engish +# @start locale config +## => English ######################## en: &EN SUBSCRIBE : "Subscribe" @@ -108,4 +109,39 @@ ko: &KO COPYRIGHT_DATES : "2019" ko-KR: - <<: *KO \ No newline at end of file + <<: *KO + +## => French +######################## +fr: &FR + SUBSCRIBE : "S'abonner" + READMORE : "Plus" + SEARCH : "Recherche" + CANCEL : "Annuler" + VIEWS : "vues" + LAST_UPDATED : "Dernière modification" + PREVIOUS : "PRÉCÉDENT" + NEXT : "SUIVANT" + ARTICLE_DATE_FORMAT : "%d %b, %Y" + ARTICLE_LIST_DATE_FORMAT: "%d %b" + STATISTICS : "[POST_COUNT] articles, [PAGE_COUNT] pages." + LICENSE_ANNOUNCE : "Ce travail est sous licence [LICENSE]." + POST_ON_GITHUB : "Modifier sur Github" + FOLLOW_ME : "Suivez-moi sur [NAME]." + FOLLOW_US : "Suivez-nous sur [NAME]." + EMAIL_ME : "Envoyez-moi un courriel." + EMAIL_US : "Envoyez-nous un courriel" + COPYRIGHT_DATES : "2019" + DONATE : "Faites un don de [NAME]." + +fr-BE: + <<: *FR +fr-CA: + <<: *FR +fr-CH: + <<: *FR +fr-FR: + <<: *FR +fr-LU: + <<: *FR +# @end locale config \ No newline at end of file diff --git a/test/_data/navigation.yml b/test/_data/navigation.yml index 38a16eef5d8..2c81655e42c 100644 --- a/test/_data/navigation.yml +++ b/test/_data/navigation.yml @@ -1,5 +1,6 @@ header: - titles: + # @start locale config en : &EN Archive en-GB : *EN en-US : *EN @@ -14,9 +15,17 @@ header: zh-HK : *ZH_HANT ko : &KO 아카이브 ko-KR : *KO + fr : &FR Archives + fr-BE : *FR + fr-CA : *FR + fr-CH : *FR + fr-FR : *FR + fr-LU : *FR + # @end locale config url: /archive.html - titles: + # @start locale config en : &EN About en-GB : *EN en-US : *EN @@ -31,4 +40,11 @@ header: zh-HK : *ZH_HANT ko : &KO 소개 ko-KR : *KO + fr : &KO À propos + fr-BE : *FR + fr-CA : *FR + fr-CH : *FR + fr-FR : *FR + fr-LU : *FR + # @end locale config url: /about.html diff --git a/test/archive.html b/test/archive.html index 2ba238f9a8d..058d3ad1c4e 100644 --- a/test/archive.html +++ b/test/archive.html @@ -1,9 +1,3 @@ --- layout: archive -titles: - en: All Posts - zh: 归档 - zh-Hans: 归档 - zh-Hant: 歸檔 -show_title: false --- \ No newline at end of file