Skip to content

Commit

Permalink
WEB: Create a dedicated string from home and news archive pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lephilousophe committed Sep 8, 2024
1 parent 84154ce commit a39e05d
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 14 deletions.
1 change: 1 addition & 0 deletions data/ca/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"linksHeading": "",
"linksIntro": "",
"listItemsDate": "",
"homeTitle": "",
"newsTitle": "",
"newsContentTitle": "",
"newsPostedBy": "",
Expand Down
3 changes: 2 additions & 1 deletion data/de/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
"linksHeading": "Links",
"linksIntro": "**Verlinken Sie zu uns:** Bitte verwenden Sie dieses Bild, wenn Sie einen Link zu uns auf Ihre Website setzen wollen.",
"listItemsDate": ", zuletzt aktualisiert:",
"newsTitle": "Startseite",
"homeTitle": "Startseite",
"newsTitle": "Aktuelle Nachrichten",
"newsContentTitle": "Aktuelle Nachrichten",
"newsPostedBy": "geschrieben von",
"newsMoreNews": "Weitere Nachrichten...",
Expand Down
3 changes: 2 additions & 1 deletion data/el/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"linksHeading": "Σύνδεσμοι",
"linksIntro": "**Παρέχετε σύνδεσμο προς εμάς:** Αν θέλετε να παρέχετε ένα σύνδεσμο από τον ιστότοπό σας προς το ScummVM: μπορείτε να χρησιμοποιήσετε ελεύθερα αυτή την εικόνα.",
"listItemsDate": ", τελευταία ενημέρωση:",
"newsTitle": "Αρχική",
"homeTitle": "Αρχική",
"newsTitle": "Τελευταίες Εξελίξεις",
"newsContentTitle": "Τελευταίες Εξελίξεις",
"newsPostedBy": "Δημοσιεύτηκε από",
"newsMoreNews": "Περισσότερες Ειδήσεις...",
Expand Down
3 changes: 2 additions & 1 deletion data/en/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
"linksHeading": "Links",
"linksIntro": "**Link to us:** If you want to link your site to us: please feel free to use this image.",
"listItemsDate": ", last update:",
"newsTitle": "Home",
"homeTitle": "Home",
"newsTitle": "Latest Developments",
"newsContentTitle": "Latest Developments",
"newsPostedBy": "Posted by",
"newsMoreNews": "More News...",
Expand Down
3 changes: 2 additions & 1 deletion data/es/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@
"linksHeading": "Enlaces",
"linksIntro": "**Enlázanos:** Si quieres poner nuestro enlace en tu sitio, puedes usar esta imagen.",
"listItemsDate": ", última actualización:",
"newsTitle": "Inicio",
"homeTitle": "Inicio",
"newsTitle": "Últimas publicaciones",
"newsContentTitle": "Últimas publicaciones",
"newsPostedBy": "Publicado por",
"newsMoreNews": "Más noticias...",
Expand Down
3 changes: 2 additions & 1 deletion data/fi/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"linksHeading": "Linkit",
"linksIntro": "**Linkitä tänne meille:** mikäli haluat linkittää ScummVM-hankkeeseen omalta sivustollasi: käytä tätä kuvaa vapaasti.",
"listItemsDate": ", viimeisin päivitys:",
"newsTitle": "Koti",
"homeTitle": "Koti",
"newsTitle": "Viimeisimmät kehitysaskeleet",
"newsContentTitle": "Viimeisimmät kehitysaskeleet",
"newsPostedBy": "Tämän lähetti",
"newsMoreNews": "Lisää uutisia...",
Expand Down
3 changes: 2 additions & 1 deletion data/fr/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
"linksHeading": "Liens",
"linksIntro": "**Liens vers le site de ScummVM :** vous pouvez utiliser cette image sur votre site pour les liens vers le site de ScummVM.",
"listItemsDate": ", dernière mise à jour  :",
"newsTitle": "Accueil",
"homeTitle": "Accueil",
"newsTitle": "Nouvelles récentes",
"newsContentTitle": "Nouvelles récentes",
"newsPostedBy": "Posté par",
"newsMoreNews": "Plus de nouvelles...",
Expand Down
3 changes: 2 additions & 1 deletion data/he/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"linksHeading": "קישורים",
"linksIntro": "**קישור אלינו: אם ברצונך לקשר אלינו את האתר שלך: אל תהסס להשתמש בתמונה זו.**",
"listItemsDate": ", העדכון אחרון:",
"newsTitle": "בית",
"homeTitle": "בית",
"newsTitle": "התפתחויות אחרונות",
"newsContentTitle": "התפתחויות אחרונות",
"newsPostedBy": "פורסם על ידי",
"newsMoreNews": "עוד חדשות...",
Expand Down
3 changes: 2 additions & 1 deletion data/it/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
"linksHeading": "Link",
"linksIntro": "**Linkaci:** se vuoi mettere un collegamento a scummvm.org sul tuo sito, usa pure questa immagine.",
"listItemsDate": ", ultimo aggiornamento:",
"newsTitle": "Home",
"homeTitle": "Home",
"newsTitle": "Ultimi Aggiornamenti",
"newsContentTitle": "Ultimi Aggiornamenti",
"newsPostedBy": "Scritto da",
"newsMoreNews": "Altre News...",
Expand Down
3 changes: 2 additions & 1 deletion data/ka/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
"linksHeading": "ბმულები",
"linksIntro": "**ბმულ ჩვენამდე:** თუ გნებავთ, თქვენს ვებგვერდზე ჩვენი ბმული განათავსოთ: შეგიძლიათ, ეს გამოსახულება გამოიყენოთ.",
"listItemsDate": ", ბოლო განახლება:",
"newsTitle": "ღილაკი Home",
"homeTitle": "ღილაკი Home",
"newsTitle": "უკანასკნელი ცვლილებები",
"newsContentTitle": "უკანასკნელი ცვლილებები",
"newsPostedBy": "ავტორი",
"newsMoreNews": "მეტი სიახლე ...",
Expand Down
3 changes: 2 additions & 1 deletion data/pt-BR/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"linksHeading": "Links",
"linksIntro": "**Redirecionamento:** Se deseja inserir em seu site um link para o nosso: por favor, fique à vontade para utilizar esta imagem.",
"listItemsDate": ", última atualização:",
"newsTitle": "Início",
"homeTitle": "Início",
"newsTitle": "Publicações Mais Recentes",
"newsContentTitle": "Publicações Mais Recentes",
"newsPostedBy": "Publicado por",
"newsMoreNews": "Mais Notícias...",
Expand Down
3 changes: 2 additions & 1 deletion data/pt-PT/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
"linksHeading": "Ligações",
"linksIntro": "",
"listItemsDate": ", última atualização:",
"newsTitle": "Início",
"homeTitle": "Início",
"newsTitle": "Últimas Notícias",
"newsContentTitle": "Últimas Notícias",
"newsPostedBy": "Publicado por",
"newsMoreNews": "Mais Notícias...",
Expand Down
3 changes: 2 additions & 1 deletion data/ru/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
"linksHeading": "Ссылки",
"linksIntro": "**Добавляйте ссылки на нас:** если вы хотите добавить ссылку на своём сайте, можете использовать эту картинку.",
"listItemsDate": ", последнее обновление:",
"newsTitle": "Главная",
"homeTitle": "Главная",
"newsTitle": "Последние новости",
"newsContentTitle": "Последние новости",
"newsPostedBy": "Опубликовано",
"newsMoreNews": "Ещё новости...",
Expand Down
3 changes: 2 additions & 1 deletion data/zh-Hans/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
"linksHeading": "链接",
"linksIntro": "**我们的链接:** 如果你想在个人网站上链接到我们的网站,请尽管使用此图像。",
"listItemsDate": ",上次更新:",
"newsTitle": "主页",
"homeTitle": "主页",
"newsTitle": "最新开发进展",
"newsContentTitle": "最新开发进展",
"newsPostedBy": "发布者",
"newsMoreNews": "更多新闻…",
Expand Down
2 changes: 1 addition & 1 deletion include/Pages/NewsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getNewsIntro()

return $this->renderPage(
array(
'title' => $this->getConfigVars('newsTitle'),
'title' => $this->getConfigVars('homeTitle'),
'description' => $this->getConfigVars('introHeaderContentP1'),
'content_title' => $this->getConfigVars('newsContentTitle'),
'show_intro' => true,
Expand Down

0 comments on commit a39e05d

Please sign in to comment.