Add French localization
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
package l10n
|
||||||
|
|
||||||
|
var phrasesFR = map[string]string{
|
||||||
|
"Anonymous post": "Post anonyme",
|
||||||
|
"Blogs": "Blogs",
|
||||||
|
"Newer": "Nouveaux",
|
||||||
|
"Older": "Anciens",
|
||||||
|
"Posts": "Posts",
|
||||||
|
"Publish to...": "Publie sur...",
|
||||||
|
"Publish": "Publie",
|
||||||
|
"Read more...": "En savoir plus...",
|
||||||
|
"Toggle theme": "Activer thème",
|
||||||
|
"View posts": "Voir Posts",
|
||||||
|
"delete": "effacer",
|
||||||
|
"edit": "modifier",
|
||||||
|
"move to...": "déplacer vers...",
|
||||||
|
"pin": "épingler",
|
||||||
|
"published with write.as": "publié avec write.as",
|
||||||
|
"share modal ending": "Envoie-le à un ami, partage-le sur le web, ou peut-être en tant que tweet. En savoir plus.",
|
||||||
|
"share modal introduction": "Tout post publié a une adresse URL secrète et unique que tu peux partager avec qui tu veux. Voici cette URL:",
|
||||||
|
"share modal title": "Partage ce post",
|
||||||
|
"share": "partager",
|
||||||
|
"unpin": "enlever",
|
||||||
|
}
|
||||||
@@ -4,6 +4,8 @@ package l10n
|
|||||||
// translation.
|
// translation.
|
||||||
func Strings(lang string) map[string]string {
|
func Strings(lang string) map[string]string {
|
||||||
switch lang {
|
switch lang {
|
||||||
|
case "fr":
|
||||||
|
return phrasesFR
|
||||||
case "hu":
|
case "hu":
|
||||||
return phrasesHU
|
return phrasesHU
|
||||||
case "it":
|
case "it":
|
||||||
|
|||||||
Reference in New Issue
Block a user