diff options
author | Robert Roth <robert.roth@bee-tf.ro> | 2020-05-27 14:30:49 +0300 |
---|---|---|
committer | Robert Roth <robert.roth@bee-tf.ro> | 2020-05-27 14:30:49 +0300 |
commit | 7e4ac98dfd1aa594d7028fc9964be7e50d4780c8 (patch) | |
tree | a5ffc5dd706632355dad97d58adc3fc779932fdb /exampleSite | |
parent | f8bf583b8cfd0ed6c2f16ae8af45d491153d6959 (diff) |
i18n for navigation items
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 16 | ||||
-rw-r--r-- | exampleSite/i18n/en.yaml | 16 | ||||
-rw-r--r-- | exampleSite/i18n/fr.yaml | 16 |
3 files changed, 38 insertions, 10 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8c1ca2b..56b8f6b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -42,37 +42,37 @@ link = "plugins/google-map/map.js" ############################# Navigation ################################## [[menu.main]] -name = "About Us" +name = "about" URL = "about" weight = 1 [[menu.main]] -name = "Service" +name = "services" URL = "services" weight = 2 [[menu.main]] -name = "Portfolio" +name = "portfolio" URL = "portfolio" weight = 3 [[menu.main]] -name = "Team" +name = "team" URL = "team" weight = 4 [[menu.main]] -name = "Pricing" +name = "pricing" URL = "pricing" weight = 5 [[menu.main]] -name = "Blog" +name = "blog" URL = "blog" weight = 6 [[menu.main]] -name = "Contact" +name = "contact" URL = "contact" weight = 7 @@ -148,4 +148,4 @@ languageCode = "fr-fr" contentDir = "content/french" weight = 2 home = "Accueil" -copyright = "copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés"
\ No newline at end of file +copyright = "copyright et copie; 2019 [gethugothemes] (https://gethugothemes.com) tous droits réservés" diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml index 0656e7c..5826ec0 100644 --- a/exampleSite/i18n/en.yaml +++ b/exampleSite/i18n/en.yaml @@ -13,4 +13,18 @@ - id: submit translation: Submit - id: all - translation: All
\ No newline at end of file + translation: All +- id: about + translation: About Us +- id: services + translation: Service +- id: portfolio + translation: Portfolio +- id: team + translation: Team +- id: pricing + translation: Pricing +- id: blog + translation: Blog +- id: contact + translation: Contact diff --git a/exampleSite/i18n/fr.yaml b/exampleSite/i18n/fr.yaml index b116c30..95501e8 100644 --- a/exampleSite/i18n/fr.yaml +++ b/exampleSite/i18n/fr.yaml @@ -13,4 +13,18 @@ - id: submit translation: Soumettre - id: all - translation: All
\ No newline at end of file + translation: All +- id: about + translation: À propos +- id: services + translation: Services +- id: portfolio + translation: Portfolio +- id: team + translation: Équipe +- id: pricing + translation: Tarification +- id: blog + translation: Blog +- id: contact + translation: Contact |