diff --git a/WordPress/Resources/ar.lproj/Localizable.strings b/WordPress/Resources/ar.lproj/Localizable.strings index 2eef6412b1f9..5b6d6ecd6a72 100644 --- a/WordPress/Resources/ar.lproj/Localizable.strings +++ b/WordPress/Resources/ar.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• المستخدمون والكاتبون"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "أفضل المشاهدات على الإطلاق"; +"widget.alltime.posts.label" = "مقالات"; +"widget.today.comments.label" = "تعليقات"; +"widget.today.likes.label" = "إعجابات"; +"widget.today.title" = "اليوم"; +"widget.today.views.label" = "مشاهدات"; +"widget.today.visitors.label" = "الزوار"; diff --git a/WordPress/Resources/bg.lproj/Localizable.strings b/WordPress/Resources/bg.lproj/Localizable.strings index d0be0ed03ca8..ded6cc3d3a61 100644 --- a/WordPress/Resources/bg.lproj/Localizable.strings +++ b/WordPress/Resources/bg.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Потребители и автори"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Публикации"; +"widget.today.comments.label" = "Коментари"; +"widget.today.likes.label" = "Харесвания"; +"widget.today.title" = "Днес"; +"widget.today.views.label" = "Преглеждания"; +"widget.today.visitors.label" = "Посетители"; diff --git a/WordPress/Resources/cs.lproj/Localizable.strings b/WordPress/Resources/cs.lproj/Localizable.strings index 6fd14b7daa48..a2eb185cfe4c 100644 --- a/WordPress/Resources/cs.lproj/Localizable.strings +++ b/WordPress/Resources/cs.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Uživatelé a autoři"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Nejlepší pohledy ze všech"; +"widget.alltime.posts.label" = "Příspěvky"; +"widget.today.comments.label" = "Komentáře"; +"widget.today.likes.label" = "To se mi líbí"; +"widget.today.title" = "Dnes"; +"widget.today.views.label" = "Zobrazení"; +"widget.today.visitors.label" = "Návštěvníci"; diff --git a/WordPress/Resources/cy.lproj/Localizable.strings b/WordPress/Resources/cy.lproj/Localizable.strings index 595db4127f2e..e6260e2e9932 100644 --- a/WordPress/Resources/cy.lproj/Localizable.strings +++ b/WordPress/Resources/cy.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Cofnodion"; +"widget.today.comments.label" = "Nodiadau"; +"widget.today.likes.label" = "Hoffi"; +"widget.today.title" = "Heddiw"; +"widget.today.views.label" = "Golwg"; +"widget.today.visitors.label" = "Ymwelwyr"; diff --git a/WordPress/Resources/da.lproj/Localizable.strings b/WordPress/Resources/da.lproj/Localizable.strings index 6488f258b1d9..ab873dd576bf 100644 --- a/WordPress/Resources/da.lproj/Localizable.strings +++ b/WordPress/Resources/da.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Indlæg"; +"widget.today.comments.label" = "Kommentarer"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "I dag"; +"widget.today.views.label" = "Visninger"; +"widget.today.visitors.label" = "Besøgende"; diff --git a/WordPress/Resources/de.lproj/Localizable.strings b/WordPress/Resources/de.lproj/Localizable.strings index 0d6354b08197..1d7738e22cf3 100644 --- a/WordPress/Resources/de.lproj/Localizable.strings +++ b/WordPress/Resources/de.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Benutzer und Autoren"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Bisher bestes Aufrufergebnis"; +"widget.alltime.posts.label" = "Artikel"; +"widget.today.comments.label" = "Kommentare"; +"widget.today.likes.label" = "Gefällt mir"; +"widget.today.title" = "Heute"; +"widget.today.views.label" = "Aufrufe"; +"widget.today.visitors.label" = "Besucher"; diff --git a/WordPress/Resources/en-AU.lproj/Localizable.strings b/WordPress/Resources/en-AU.lproj/Localizable.strings index 4b8b8bc3627d..f850a326cb50 100644 --- a/WordPress/Resources/en-AU.lproj/Localizable.strings +++ b/WordPress/Resources/en-AU.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Best views ever"; +"widget.alltime.posts.label" = "Posts"; +"widget.today.comments.label" = "Comments"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Today"; +"widget.today.views.label" = "Views"; +"widget.today.visitors.label" = "Visitors"; diff --git a/WordPress/Resources/en-CA.lproj/Localizable.strings b/WordPress/Resources/en-CA.lproj/Localizable.strings index 82adaa67167e..6651f5e2e5c9 100644 --- a/WordPress/Resources/en-CA.lproj/Localizable.strings +++ b/WordPress/Resources/en-CA.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Best views ever"; +"widget.alltime.posts.label" = "Posts"; +"widget.today.comments.label" = "Comments"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Today"; +"widget.today.views.label" = "Views"; +"widget.today.visitors.label" = "Visitors"; diff --git a/WordPress/Resources/en-GB.lproj/Localizable.strings b/WordPress/Resources/en-GB.lproj/Localizable.strings index e3cf0762a6af..7a3d80ed8395 100644 --- a/WordPress/Resources/en-GB.lproj/Localizable.strings +++ b/WordPress/Resources/en-GB.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Best views ever"; +"widget.alltime.posts.label" = "Posts"; +"widget.today.comments.label" = "Comments"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Today"; +"widget.today.views.label" = "Views"; +"widget.today.visitors.label" = "Visitors"; diff --git a/WordPress/Resources/en.lproj/Localizable.strings b/WordPress/Resources/en.lproj/Localizable.strings index 05c0a13ad3ce..8b67516b9d8e 100644 Binary files a/WordPress/Resources/en.lproj/Localizable.strings and b/WordPress/Resources/en.lproj/Localizable.strings differ diff --git a/WordPress/Resources/es.lproj/Localizable.strings b/WordPress/Resources/es.lproj/Localizable.strings index bd99f7af1fea..641cbf6c1794 100644 --- a/WordPress/Resources/es.lproj/Localizable.strings +++ b/WordPress/Resources/es.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Usuarios y autores"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Mayor número de visitas"; +"widget.alltime.posts.label" = "Entradas"; +"widget.today.comments.label" = "Comentarios"; +"widget.today.likes.label" = "Me gusta"; +"widget.today.title" = "Hoy"; +"widget.today.views.label" = "Visitas"; +"widget.today.visitors.label" = "Visitantes"; diff --git a/WordPress/Resources/fr.lproj/Localizable.strings b/WordPress/Resources/fr.lproj/Localizable.strings index fc4290dac356..0b7c2592a039 100644 --- a/WordPress/Resources/fr.lproj/Localizable.strings +++ b/WordPress/Resources/fr.lproj/Localizable.strings @@ -9170,3 +9170,14 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Utilisateurs et auteurs"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Record de vues"; +"widget.alltime.posts.label" = "Articles"; +"widget.today.comments.label" = "Commentaires"; +"widget.today.likes.label" = "J’aime"; +"widget.today.title" = "Aujourd'hui"; +"widget.today.views.label" = "Vues"; +"widget.today.visitors.label" = "Visiteurs"; +"widget.thisweek.title" = "Cette Semaine"; diff --git a/WordPress/Resources/he.lproj/Localizable.strings b/WordPress/Resources/he.lproj/Localizable.strings index 04f488b8cf88..e43e22b87109 100644 --- a/WordPress/Resources/he.lproj/Localizable.strings +++ b/WordPress/Resources/he.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• משתמשים ומחברים"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "כמות הצפיות הגבוהה בכל הזמנים"; +"widget.alltime.posts.label" = "פוסטים"; +"widget.today.comments.label" = "תגובות"; +"widget.today.likes.label" = " לייקים"; +"widget.today.title" = "היום"; +"widget.today.views.label" = "דפים נצפים"; +"widget.today.visitors.label" = "מבקרים"; diff --git a/WordPress/Resources/hr.lproj/Localizable.strings b/WordPress/Resources/hr.lproj/Localizable.strings index 25e79d9f3aac..7442824939bf 100644 --- a/WordPress/Resources/hr.lproj/Localizable.strings +++ b/WordPress/Resources/hr.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Postovi"; +"widget.today.comments.label" = "Komentari"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Danas"; +"widget.today.views.label" = "Pregledi"; +"widget.today.visitors.label" = "Posjetitelji"; diff --git a/WordPress/Resources/hu.lproj/Localizable.strings b/WordPress/Resources/hu.lproj/Localizable.strings index 436b62944ec3..6a5f58732ea6 100644 --- a/WordPress/Resources/hu.lproj/Localizable.strings +++ b/WordPress/Resources/hu.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Bejegyzések"; +"widget.today.comments.label" = "Hozzászólások"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Ma"; +"widget.today.views.label" = "Megtekintések"; +"widget.today.visitors.label" = "Látogatók"; diff --git a/WordPress/Resources/id.lproj/Localizable.strings b/WordPress/Resources/id.lproj/Localizable.strings index 8148334503a8..5ebfced9696a 100644 --- a/WordPress/Resources/id.lproj/Localizable.strings +++ b/WordPress/Resources/id.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Pengguna & Penulis"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Terbanyak dilihat"; +"widget.alltime.posts.label" = "Tulisan-tulisan"; +"widget.today.comments.label" = "Komentar-komentar"; +"widget.today.likes.label" = "Suka"; +"widget.today.title" = "Hari ini"; +"widget.today.views.label" = "Kunjungan"; +"widget.today.visitors.label" = "Pengunjung"; diff --git a/WordPress/Resources/is.lproj/Localizable.strings b/WordPress/Resources/is.lproj/Localizable.strings index ab76fce3937e..3ebbcafd8e72 100644 --- a/WordPress/Resources/is.lproj/Localizable.strings +++ b/WordPress/Resources/is.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Notendur og höfundar"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Færslur"; +"widget.today.comments.label" = "Athugasemdir"; +"widget.today.likes.label" = "Líkar við"; +"widget.today.title" = "Í dag"; +"widget.today.views.label" = "Flettingar"; +"widget.today.visitors.label" = "Gestir"; diff --git a/WordPress/Resources/it.lproj/Localizable.strings b/WordPress/Resources/it.lproj/Localizable.strings index 70abbb3e69e6..7f890435236d 100644 --- a/WordPress/Resources/it.lproj/Localizable.strings +++ b/WordPress/Resources/it.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Utenti e autori"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Record di visite"; +"widget.alltime.posts.label" = "Articoli"; +"widget.today.comments.label" = "Commenti"; +"widget.today.likes.label" = "Like"; +"widget.today.title" = "Oggi"; +"widget.today.views.label" = "Visite"; +"widget.today.visitors.label" = "Visitatori"; diff --git a/WordPress/Resources/ja.lproj/Localizable.strings b/WordPress/Resources/ja.lproj/Localizable.strings index 439f3385431f..7a66c0d29b85 100644 --- a/WordPress/Resources/ja.lproj/Localizable.strings +++ b/WordPress/Resources/ja.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "•ユーザーと投稿者"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "過去最高の表示数"; +"widget.alltime.posts.label" = "投稿"; +"widget.today.comments.label" = "コメント"; +"widget.today.likes.label" = "いいね"; +"widget.today.title" = "今日"; +"widget.today.views.label" = "表示数"; +"widget.today.visitors.label" = "訪問者"; diff --git a/WordPress/Resources/ko.lproj/Localizable.strings b/WordPress/Resources/ko.lproj/Localizable.strings index 6e2f31e3222a..f5e308ae5678 100644 --- a/WordPress/Resources/ko.lproj/Localizable.strings +++ b/WordPress/Resources/ko.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• 사용자 및 글쓴이"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "최고 조회수"; +"widget.alltime.posts.label" = "글"; +"widget.today.comments.label" = "댓글"; +"widget.today.likes.label" = "좋아요"; +"widget.today.title" = "오늘"; +"widget.today.views.label" = "뷰"; +"widget.today.visitors.label" = "방문자"; diff --git a/WordPress/Resources/nb.lproj/Localizable.strings b/WordPress/Resources/nb.lproj/Localizable.strings index 2b75165c9d6c..3565c9899d73 100644 --- a/WordPress/Resources/nb.lproj/Localizable.strings +++ b/WordPress/Resources/nb.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Brukere og forfattere"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Beste visninger noensinne"; +"widget.alltime.posts.label" = "Innlegg"; +"widget.today.comments.label" = "Kommentarer"; +"widget.today.likes.label" = "Liker"; +"widget.today.title" = "I dag"; +"widget.today.views.label" = "Visninger"; +"widget.today.visitors.label" = "Besøkere"; diff --git a/WordPress/Resources/nl.lproj/Localizable.strings b/WordPress/Resources/nl.lproj/Localizable.strings index 18a946ee9be1..41bcb5e3711b 100644 --- a/WordPress/Resources/nl.lproj/Localizable.strings +++ b/WordPress/Resources/nl.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Gebruikers en auteurs"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Best bekeken ooit"; +"widget.alltime.posts.label" = "Berichten"; +"widget.today.comments.label" = "Reacties"; +"widget.today.likes.label" = "Waarderingen"; +"widget.today.title" = "Vandaag"; +"widget.today.views.label" = "Weergaven"; +"widget.today.visitors.label" = "Bezoekers"; diff --git a/WordPress/Resources/pl.lproj/Localizable.strings b/WordPress/Resources/pl.lproj/Localizable.strings index b19bee391924..c90806e7e95f 100644 --- a/WordPress/Resources/pl.lproj/Localizable.strings +++ b/WordPress/Resources/pl.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Wpisy"; +"widget.today.comments.label" = "Komentarze"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Dzisiaj"; +"widget.today.views.label" = "Views"; +"widget.today.visitors.label" = "Visitors"; diff --git a/WordPress/Resources/pt-BR.lproj/Localizable.strings b/WordPress/Resources/pt-BR.lproj/Localizable.strings index 47a3431c3640..f3c0e6031e97 100644 --- a/WordPress/Resources/pt-BR.lproj/Localizable.strings +++ b/WordPress/Resources/pt-BR.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Usuários e autores"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Melhores visualizações"; +"widget.today.comments.label" = "Comentários"; +"widget.today.likes.label" = "Curtidas"; +"widget.today.title" = "Hoje"; +"widget.today.views.label" = "Visualizações"; +"widget.today.visitors.label" = "Visitantes"; diff --git a/WordPress/Resources/pt.lproj/Localizable.strings b/WordPress/Resources/pt.lproj/Localizable.strings index f48d52f4a9a3..ddcd32b75a3b 100644 --- a/WordPress/Resources/pt.lproj/Localizable.strings +++ b/WordPress/Resources/pt.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Utilizadores e autores"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Conteúdos"; +"widget.today.comments.label" = "Comentários"; +"widget.today.likes.label" = "Gostos"; +"widget.today.title" = "Hoje"; +"widget.today.views.label" = "Visualizações"; +"widget.today.visitors.label" = "Visitantes"; diff --git a/WordPress/Resources/ro.lproj/Localizable.strings b/WordPress/Resources/ro.lproj/Localizable.strings index bdc8dcc1e2aa..5d0321b73f86 100644 --- a/WordPress/Resources/ro.lproj/Localizable.strings +++ b/WordPress/Resources/ro.lproj/Localizable.strings @@ -9173,3 +9173,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Utilizatori și autori"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Cele mai multe vizualizări"; +"widget.alltime.posts.label" = "Articole"; +"widget.today.comments.label" = "Comentarii"; +"widget.today.likes.label" = "Plăcute"; +"widget.today.title" = "Azi"; +"widget.today.views.label" = "Vizualizări"; +"widget.today.visitors.label" = "Vizitatori"; diff --git a/WordPress/Resources/ru.lproj/Localizable.strings b/WordPress/Resources/ru.lproj/Localizable.strings index 4ac63b7e3c21..e08f5f62f4d3 100644 --- a/WordPress/Resources/ru.lproj/Localizable.strings +++ b/WordPress/Resources/ru.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Пользователи и авторы"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Максимальное число просмотров"; +"widget.alltime.posts.label" = "Записи"; +"widget.today.comments.label" = "Комментарии"; +"widget.today.likes.label" = "Любимое"; +"widget.today.title" = "Сегодня"; +"widget.today.views.label" = "Просмотры"; +"widget.today.visitors.label" = "Посетители"; diff --git a/WordPress/Resources/sk.lproj/Localizable.strings b/WordPress/Resources/sk.lproj/Localizable.strings index d0af9f15454a..1bff6a8519e1 100644 --- a/WordPress/Resources/sk.lproj/Localizable.strings +++ b/WordPress/Resources/sk.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Používatelia a autori"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "Články"; +"widget.today.comments.label" = "Komentáre"; +"widget.today.likes.label" = "Likes"; +"widget.today.title" = "Dnes"; +"widget.today.views.label" = "Zobrazenia"; +"widget.today.visitors.label" = "Návštevníci"; diff --git a/WordPress/Resources/sq.lproj/Localizable.strings b/WordPress/Resources/sq.lproj/Localizable.strings index b0691500301d..9d8cf8355872 100644 --- a/WordPress/Resources/sq.lproj/Localizable.strings +++ b/WordPress/Resources/sq.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Përdorues & Autorë"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Parjet më të mira ndonjëherë"; +"widget.alltime.posts.label" = "Postime"; +"widget.today.comments.label" = "Komente"; +"widget.today.likes.label" = "Pëlqime"; +"widget.today.title" = "Sot"; +"widget.today.views.label" = "Parje"; +"widget.today.visitors.label" = "Vizitorë"; diff --git a/WordPress/Resources/sv.lproj/Localizable.strings b/WordPress/Resources/sv.lproj/Localizable.strings index 2872e1882533..7d5cd69c3632 100644 --- a/WordPress/Resources/sv.lproj/Localizable.strings +++ b/WordPress/Resources/sv.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Användare och Skribenter"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Bästa visningarna någonsin"; +"widget.alltime.posts.label" = "Inlägg"; +"widget.today.comments.label" = "Kommentarer"; +"widget.today.likes.label" = "Gillamarkeringar"; +"widget.today.title" = "I dag"; +"widget.today.views.label" = "Visningar"; +"widget.today.visitors.label" = "Besökare"; diff --git a/WordPress/Resources/th.lproj/Localizable.strings b/WordPress/Resources/th.lproj/Localizable.strings index 0525e8453ae0..aa292422fc63 100644 --- a/WordPress/Resources/th.lproj/Localizable.strings +++ b/WordPress/Resources/th.lproj/Localizable.strings @@ -9170,3 +9170,12 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Users & Authors"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.posts.label" = "เรื่อง"; +"widget.today.comments.label" = "ความเห็น"; +"widget.today.likes.label" = "ชื่นชอบ"; +"widget.today.title" = "วันนี้"; +"widget.today.views.label" = "การดู"; +"widget.today.visitors.label" = "ผู้เยี่ยมชม"; diff --git a/WordPress/Resources/tr.lproj/Localizable.strings b/WordPress/Resources/tr.lproj/Localizable.strings index fe5d541960e0..014eec5938cd 100644 --- a/WordPress/Resources/tr.lproj/Localizable.strings +++ b/WordPress/Resources/tr.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "• Kullanıcılar ve yazarlar"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "Şuana kadar ki en iyi görüntülemeler"; +"widget.alltime.posts.label" = "Yazılar"; +"widget.today.comments.label" = "Yorumlar"; +"widget.today.likes.label" = "Beğenilenler"; +"widget.today.title" = "Bugün"; +"widget.today.views.label" = "Gösterimler"; +"widget.today.visitors.label" = "Ziyaretçiler"; diff --git a/WordPress/Resources/zh-Hans.lproj/Localizable.strings b/WordPress/Resources/zh-Hans.lproj/Localizable.strings index e472977e8fc3..e46c88134b3f 100644 --- a/WordPress/Resources/zh-Hans.lproj/Localizable.strings +++ b/WordPress/Resources/zh-Hans.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "•用户与作者"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "最受欢迎的文章"; +"widget.alltime.posts.label" = "文章"; +"widget.today.comments.label" = "评论"; +"widget.today.likes.label" = "赞"; +"widget.today.title" = "今日"; +"widget.today.views.label" = "查看数"; +"widget.today.visitors.label" = "访客数"; diff --git a/WordPress/Resources/zh-Hant.lproj/Localizable.strings b/WordPress/Resources/zh-Hant.lproj/Localizable.strings index 4cfa9ed98b4f..2560a649d0bf 100644 --- a/WordPress/Resources/zh-Hant.lproj/Localizable.strings +++ b/WordPress/Resources/zh-Hant.lproj/Localizable.strings @@ -9170,3 +9170,13 @@ translators: Block name. %s: The localized block name */ /* Item 2 of delete screen section listing things that will be deleted. */ "• Users & Authors" = "•使用者和作者"; + +// MARK: WordPressStatsWidgets Strings + +"widget.alltime.bestviews.label" = "最高記錄的瀏覽次數"; +"widget.alltime.posts.label" = "文章"; +"widget.today.comments.label" = "留言"; +"widget.today.likes.label" = "按讚數"; +"widget.today.title" = "今天"; +"widget.today.views.label" = "點閱數"; +"widget.today.visitors.label" = "訪客"; diff --git a/WordPress/WordPress.xcodeproj/project.pbxproj b/WordPress/WordPress.xcodeproj/project.pbxproj index f17d5b71a823..ba5ab15d6ecd 100644 --- a/WordPress/WordPress.xcodeproj/project.pbxproj +++ b/WordPress/WordPress.xcodeproj/project.pbxproj @@ -476,7 +476,7 @@ 3F1FD2502548AD8B0060C53A /* TodayWidgetStats.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98E58A2E2360D23400E5534B /* TodayWidgetStats.swift */; }; 3F1FD27B2548AE900060C53A /* CocoaLumberjack.swift in Sources */ = {isa = PBXBuildFile; fileRef = 938CF3DB1EF1BE6800AF838E /* CocoaLumberjack.swift */; }; 3F1FD30D2548B0A80060C53A /* Constants.m in Sources */ = {isa = PBXBuildFile; fileRef = B5CC05F51962150600975CAC /* Constants.m */; }; - 3F2656A125AF4DFA0073A832 /* LocalizedStringKey+extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F2656A025AF4DFA0073A832 /* LocalizedStringKey+extension.swift */; }; + 3F2656A125AF4DFA0073A832 /* AppLocalizedString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F2656A025AF4DFA0073A832 /* AppLocalizedString.swift */; }; 3F29EB7224042276005313DE /* MeViewController+UIViewControllerRestoration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F29EB7124042276005313DE /* MeViewController+UIViewControllerRestoration.swift */; }; 3F2F0C16256C6B2C003351C7 /* StatsWidgetsService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F2F0C15256C6B2C003351C7 /* StatsWidgetsService.swift */; }; 3F2F854026FAE9DC000FCDA5 /* BlockEditorScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC2BB0C92289CC3B0034F9AB /* BlockEditorScreen.swift */; }; @@ -589,7 +589,6 @@ 3F946C592684DD8E00B946F6 /* BloggingRemindersActions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F946C582684DD8E00B946F6 /* BloggingRemindersActions.swift */; }; 3F946C5A2684DD8E00B946F6 /* BloggingRemindersActions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F946C582684DD8E00B946F6 /* BloggingRemindersActions.swift */; }; 3F95FF4026C4F385007731D3 /* ScreenObject in Frameworks */ = {isa = PBXBuildFile; productRef = 3FC2C34226C4E8B700C6D98F /* ScreenObject */; }; - 3F9E724125A8E69900AAAB1A /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3F9E724325A8E69900AAAB1A /* Localizable.strings */; }; 3FA53E9C256571D800F4D9A2 /* HomeWidgetCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FA53E9B256571D800F4D9A2 /* HomeWidgetCache.swift */; }; 3FA53E9D256571D800F4D9A2 /* HomeWidgetCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FA53E9B256571D800F4D9A2 /* HomeWidgetCache.swift */; }; 3FA53ED62565860900F4D9A2 /* HomeWidgetData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F6DA04025646F96002AB88F /* HomeWidgetData.swift */; }; @@ -5129,7 +5128,7 @@ 3F1AD48023FC87A400BB1375 /* BlogDetailsViewController+MeButtonTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BlogDetailsViewController+MeButtonTests.swift"; sourceTree = ""; }; 3F1B66A223A2F54B0075F09E /* ReaderReblogActionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReaderReblogActionTests.swift; sourceTree = ""; }; 3F1FD31C2548B30D0060C53A /* WordPressStatsWidgets-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WordPressStatsWidgets-Bridging-Header.h"; sourceTree = ""; }; - 3F2656A025AF4DFA0073A832 /* LocalizedStringKey+extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "LocalizedStringKey+extension.swift"; sourceTree = ""; }; + 3F2656A025AF4DFA0073A832 /* AppLocalizedString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppLocalizedString.swift; sourceTree = ""; }; 3F26DFD124930B5900B5EBD1 /* WordPress 96.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = "WordPress 96.xcdatamodel"; sourceTree = ""; }; 3F29EB7124042276005313DE /* MeViewController+UIViewControllerRestoration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MeViewController+UIViewControllerRestoration.swift"; sourceTree = ""; }; 3F2F0C15256C6B2C003351C7 /* StatsWidgetsService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatsWidgetsService.swift; sourceTree = ""; }; @@ -5179,7 +5178,6 @@ 3F762E9826784CC90088CD45 /* XCUIElementQuery+Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "XCUIElementQuery+Utils.swift"; sourceTree = ""; }; 3F762E9A26784D2A0088CD45 /* XCUIElement+Utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "XCUIElement+Utils.swift"; sourceTree = ""; }; 3F762E9C26784DB40088CD45 /* Globals.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Globals.swift; sourceTree = ""; }; - 3F7646F625AE1C5200FBA98C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 3F810A592616870C00ADDCC2 /* UnifiedPrologueIntroContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnifiedPrologueIntroContentView.swift; sourceTree = ""; }; 3F82310E24564A870086E9B8 /* ReaderTabViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReaderTabViewTests.swift; sourceTree = ""; }; 3F8513DE260D091500A4B938 /* RoundRectangleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoundRectangleView.swift; sourceTree = ""; }; @@ -5195,40 +5193,6 @@ 3F8EEC4D25B4817000EC9DAE /* StatsWidgets.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatsWidgets.swift; sourceTree = ""; }; 3F8EEC6F25B4849A00EC9DAE /* SiteListProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SiteListProvider.swift; sourceTree = ""; }; 3F946C582684DD8E00B946F6 /* BloggingRemindersActions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BloggingRemindersActions.swift; sourceTree = ""; }; - 3F9E725425A8E6FF00AAAB1A /* it */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726525A8E8E000AAAB1A /* es */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = es; path = es.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726625A8E9E800AAAB1A /* sq */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = sq; path = sq.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726725A8E9EB00AAAB1A /* ar */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = ar; path = ar.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726825A8E9ED00AAAB1A /* bg */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = bg; path = bg.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726925A8E9F100AAAB1A /* zh-Hans */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E726A25A8E9F400AAAB1A /* zh-Hant */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E726B25A8E9F700AAAB1A /* hr */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = hr; path = hr.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726C25A8E9FA00AAAB1A /* cs */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = cs; path = cs.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726D25A8E9FC00AAAB1A /* da */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = da; path = da.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726E25A8E9FF00AAAB1A /* nl */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = nl; path = nl.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E726F25A8EA0100AAAB1A /* en-AU */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "en-AU"; path = "en-AU.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E727025A8EA0400AAAB1A /* en-CA */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "en-CA"; path = "en-CA.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E727125A8EA0600AAAB1A /* en-GB */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "en-GB"; path = "en-GB.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E727225A8EA0900AAAB1A /* fr */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = fr; path = fr.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727325A8EA0C00AAAB1A /* de */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = de; path = de.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727425A8EA0E00AAAB1A /* he */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = he; path = he.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727525A8EA1100AAAB1A /* hu */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = hu; path = hu.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727625A8EA1300AAAB1A /* is */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = is; path = is.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727725A8EA1600AAAB1A /* id */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = id; path = id.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727825A8EA1900AAAB1A /* ja */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = ja; path = ja.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727925A8EA1C00AAAB1A /* ko */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = ko; path = ko.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727A25A8EA1E00AAAB1A /* nb */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = nb; path = nb.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727B25A8EA2100AAAB1A /* pl */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = pl; path = pl.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727C25A8EA2400AAAB1A /* pt */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = pt; path = pt.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727D25A8EA2700AAAB1A /* pt-BR */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = ""; }; - 3F9E727E25A8EA2A00AAAB1A /* ro */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = ro; path = ro.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E727F25A8EA2D00AAAB1A /* ru */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = ru; path = ru.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E728025A8EA3000AAAB1A /* sk */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = sk; path = sk.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E728125A8EA3300AAAB1A /* sv */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = sv; path = sv.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E728225A8EA3700AAAB1A /* th */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = th; path = th.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E728325A8EA3900AAAB1A /* tr */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = tr; path = tr.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E728425A8EA3F00AAAB1A /* cy */ = {isa = PBXFileReference; explicitFileType = file.bplist; name = cy; path = cy.lproj/Localizable.strings; sourceTree = ""; }; - 3F9E72A525A8EB8700AAAB1A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Base.lproj/Localizable.strings; sourceTree = ""; }; 3FA53E9B256571D800F4D9A2 /* HomeWidgetCache.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeWidgetCache.swift; sourceTree = ""; }; 3FA59B99258289E30073772F /* StatsValueView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StatsValueView.swift; sourceTree = ""; }; 3FA62FD226FE2E4B0020793A /* ShapeWithTextView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShapeWithTextView.swift; sourceTree = ""; }; @@ -9047,7 +9011,7 @@ isa = PBXGroup; children = ( 3FE77C8225B0CA89007DE9E5 /* LocalizableStrings.swift */, - 3F2656A025AF4DFA0073A832 /* LocalizedStringKey+extension.swift */, + 3F2656A025AF4DFA0073A832 /* AppLocalizedString.swift */, ); path = Localization; sourceTree = ""; @@ -9359,7 +9323,6 @@ isa = PBXGroup; children = ( 3F526C572538CF2B0069706C /* Info.plist */, - 3F9E724325A8E69900AAAB1A /* Localizable.strings */, 24D40492253F6D01002843AC /* WordPressStatsWidgets.entitlements */, 3F015D7F253F9CDB00991CCB /* WordPressStatsWidgetsRelease-Alpha.entitlements */, 24D40491253F6CEE002843AC /* WordPressStatsWidgetsRelease-Internal.entitlements */, @@ -15631,7 +15594,6 @@ buildActionMask = 2147483647; files = ( 3F526C562538CF2B0069706C /* Assets.xcassets in Resources */, - 3F9E724125A8E69900AAAB1A /* Localizable.strings in Resources */, 3F8A087D253E4337000F35ED /* ColorPalette.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -18520,7 +18482,7 @@ 3F1FD2502548AD8B0060C53A /* TodayWidgetStats.swift in Sources */, 3F2F0C16256C6B2C003351C7 /* StatsWidgetsService.swift in Sources */, 3F526D572539FAC60069706C /* StatsWidgetsView.swift in Sources */, - 3F2656A125AF4DFA0073A832 /* LocalizedStringKey+extension.swift in Sources */, + 3F2656A125AF4DFA0073A832 /* AppLocalizedString.swift in Sources */, 3F568A0025420DE80048A9E4 /* MultiStatsView.swift in Sources */, 3F6BC05C25B24773007369D3 /* FeatureFlagOverrideStore.swift in Sources */, 3FD675EA25C87A25009AB3C1 /* WordPressHomeWidgetToday.swift in Sources */, @@ -20920,48 +20882,6 @@ name = Sites.intentdefinition; sourceTree = ""; }; - 3F9E724325A8E69900AAAB1A /* Localizable.strings */ = { - isa = PBXVariantGroup; - children = ( - 3F9E725425A8E6FF00AAAB1A /* it */, - 3F9E726525A8E8E000AAAB1A /* es */, - 3F9E726625A8E9E800AAAB1A /* sq */, - 3F9E726725A8E9EB00AAAB1A /* ar */, - 3F9E726825A8E9ED00AAAB1A /* bg */, - 3F9E726925A8E9F100AAAB1A /* zh-Hans */, - 3F9E726A25A8E9F400AAAB1A /* zh-Hant */, - 3F9E726B25A8E9F700AAAB1A /* hr */, - 3F9E726C25A8E9FA00AAAB1A /* cs */, - 3F9E726D25A8E9FC00AAAB1A /* da */, - 3F9E726E25A8E9FF00AAAB1A /* nl */, - 3F9E726F25A8EA0100AAAB1A /* en-AU */, - 3F9E727025A8EA0400AAAB1A /* en-CA */, - 3F9E727125A8EA0600AAAB1A /* en-GB */, - 3F9E727225A8EA0900AAAB1A /* fr */, - 3F9E727325A8EA0C00AAAB1A /* de */, - 3F9E727425A8EA0E00AAAB1A /* he */, - 3F9E727525A8EA1100AAAB1A /* hu */, - 3F9E727625A8EA1300AAAB1A /* is */, - 3F9E727725A8EA1600AAAB1A /* id */, - 3F9E727825A8EA1900AAAB1A /* ja */, - 3F9E727925A8EA1C00AAAB1A /* ko */, - 3F9E727A25A8EA1E00AAAB1A /* nb */, - 3F9E727B25A8EA2100AAAB1A /* pl */, - 3F9E727C25A8EA2400AAAB1A /* pt */, - 3F9E727D25A8EA2700AAAB1A /* pt-BR */, - 3F9E727E25A8EA2A00AAAB1A /* ro */, - 3F9E727F25A8EA2D00AAAB1A /* ru */, - 3F9E728025A8EA3000AAAB1A /* sk */, - 3F9E728125A8EA3300AAAB1A /* sv */, - 3F9E728225A8EA3700AAAB1A /* th */, - 3F9E728325A8EA3900AAAB1A /* tr */, - 3F9E728425A8EA3F00AAAB1A /* cy */, - 3F9E72A525A8EB8700AAAB1A /* en */, - 3F7646F625AE1C5200FBA98C /* en */, - ); - name = Localizable.strings; - sourceTree = ""; - }; 7326718D210F75D2001FA866 /* Localizable.strings */ = { isa = PBXVariantGroup; children = ( diff --git a/WordPress/WordPress.xcodeproj/xcshareddata/xcschemes/WordPressStatsWidgets.xcscheme b/WordPress/WordPress.xcodeproj/xcshareddata/xcschemes/WordPressStatsWidgets.xcscheme index 1aed5ace8657..0dec3d56383b 100644 --- a/WordPress/WordPress.xcodeproj/xcshareddata/xcschemes/WordPressStatsWidgets.xcscheme +++ b/WordPress/WordPress.xcodeproj/xcshareddata/xcschemes/WordPressStatsWidgets.xcscheme @@ -80,9 +80,19 @@ + + + + LocalizedString { + Bundle.app.localizedString(forKey: key, value: value, table: nil) +} diff --git a/WordPress/WordPressStatsWidgets/Views/Localization/LocalizableStrings.swift b/WordPress/WordPressStatsWidgets/Views/Localization/LocalizableStrings.swift index 81c78506cc70..e586179e7621 100644 --- a/WordPress/WordPressStatsWidgets/Views/Localization/LocalizableStrings.swift +++ b/WordPress/WordPressStatsWidgets/Views/Localization/LocalizableStrings.swift @@ -2,77 +2,77 @@ import SwiftUI enum LocalizableStrings { // Today Widget title - static let todayWidgetTitle = LocalizedStringKey("widget.today.title", - defaultValue: "Today", - comment: "Title of today widget") + static let todayWidgetTitle = AppLocalizedString("widget.today.title", + value: "Today", + comment: "Title of today widget") // All Time Widget title - static let allTimeWidgetTitle = LocalizedStringKey("widget.alltime.title", - defaultValue: "All Time", + static let allTimeWidgetTitle = AppLocalizedString("widget.alltime.title", + value: "All Time", comment: "Title of all time widget") // This Week Widget title - static let thisWeekWidgetTitle = LocalizedStringKey("widget.thisweek.title", - defaultValue: "This Week", - comment: "Title of this week widget") + static let thisWeekWidgetTitle = AppLocalizedString("widget.thisweek.title", + value: "This Week", + comment: "Title of this week widget") // Widgets content - static let viewsTitle = LocalizedStringKey("widget.today.views.label", - defaultValue: "Views", + static let viewsTitle = AppLocalizedString("widget.today.views.label", + value: "Views", comment: "Title of views label in today widget") - static let visitorsTitle = LocalizedStringKey("widget.today.visitors.label", - defaultValue: "Visitors", + static let visitorsTitle = AppLocalizedString("widget.today.visitors.label", + value: "Visitors", comment: "Title of visitors label in today widget") - static let likesTitle = LocalizedStringKey("widget.today.likes.label", - defaultValue: "Likes", + static let likesTitle = AppLocalizedString("widget.today.likes.label", + value: "Likes", comment: "Title of likes label in today widget") - static let commentsTitle = LocalizedStringKey("widget.today.comments.label", - defaultValue: "Comments", + static let commentsTitle = AppLocalizedString("widget.today.comments.label", + value: "Comments", comment: "Title of comments label in today widget") - static let postsTitle = LocalizedStringKey("widget.alltime.posts.label", - defaultValue: "Posts", + static let postsTitle = AppLocalizedString("widget.alltime.posts.label", + value: "Posts", comment: "Title of posts label in all time widget") - static let bestViewsTitle = LocalizedStringKey("widget.alltime.bestviews.label", - defaultValue: "Best views ever", + static let bestViewsTitle = AppLocalizedString("widget.alltime.bestviews.label", + value: "Best views ever", comment: "Title of best views ever label in all time widget") // Unconfigured view - static let unconfiguredViewTodayTitle = LocalizedStringKey("widget.today.unconfigured.view.title", - defaultValue: "Log in to WordPress to see today's stats.", - comment: "Title of the unconfigured view in today widget") + static let unconfiguredViewTodayTitle = AppLocalizedString("widget.today.unconfigured.view.title", + value: "Log in to WordPress to see today's stats.", + comment: "Title of the unconfigured view in today widget") - static let unconfiguredViewAllTimeTitle = LocalizedStringKey("widget.alltime.unconfigured.view.title", - defaultValue: "Log in to WordPress to see all time stats.", - comment: "Title of the unconfigured view in all time widget") + static let unconfiguredViewAllTimeTitle = AppLocalizedString("widget.alltime.unconfigured.view.title", + value: "Log in to WordPress to see all time stats.", + comment: "Title of the unconfigured view in all time widget") - static let unconfiguredViewThisWeekTitle = LocalizedStringKey("widget.thisweek.unconfigured.view.title", - defaultValue: "Log in to WordPress to see this week's stats.", - comment: "Title of the unconfigured view in this week widget") + static let unconfiguredViewThisWeekTitle = AppLocalizedString("widget.thisweek.unconfigured.view.title", + value: "Log in to WordPress to see this week's stats.", + comment: "Title of the unconfigured view in this week widget") // No data view - static let noDataViewTitle = LocalizedStringKey("widget.today.nodata.view.title", - defaultValue: "Unable to load site stats.", - comment: "Title of the nodata view in today widget") + static let noDataViewTitle = AppLocalizedString("widget.today.nodata.view.title", + value: "Unable to load site stats.", + comment: "Title of the nodata view in today widget") // Today Widget Preview - static let todayPreviewDescription = LocalizedStringKey("widget.today.preview.description", - defaultValue: "Stay up to date with today's activity on your WordPress site.", - comment: "Description of today widget in the preview") + static let todayPreviewDescription = AppLocalizedString("widget.today.preview.description", + value: "Stay up to date with today's activity on your WordPress site.", + comment: "Description of today widget in the preview") // All Time Widget preview - static let allTimePreviewDescription = LocalizedStringKey("widget.alltime.preview.description", - defaultValue: "Stay up to date with all time activity on your WordPress site.", + static let allTimePreviewDescription = AppLocalizedString("widget.alltime.preview.description", + value: "Stay up to date with all time activity on your WordPress site.", comment: "Description of all time widget in the preview") // This Week Widget preview - static let thisWeekPreviewDescription = LocalizedStringKey("widget.thisweek.preview.description", - defaultValue: "Stay up to date with this week activity on your WordPress site.", - comment: "Description of all time widget in the preview") + static let thisWeekPreviewDescription = AppLocalizedString("widget.thisweek.preview.description", + value: "Stay up to date with this week activity on your WordPress site.", + comment: "Description of all time widget in the preview") // Errors - static let unavailableViewTitle = LocalizedStringKey("widget.today.view.unavailable.title", - defaultValue: "View is unavailable", + static let unavailableViewTitle = AppLocalizedString("widget.today.view.unavailable.title", + value: "View is unavailable", comment: "Error message to show if a widget view is unavailable") } diff --git a/WordPress/WordPressStatsWidgets/Views/Localization/LocalizedStringKey+extension.swift b/WordPress/WordPressStatsWidgets/Views/Localization/LocalizedStringKey+extension.swift deleted file mode 100644 index 1efd51a016a6..000000000000 --- a/WordPress/WordPressStatsWidgets/Views/Localization/LocalizedStringKey+extension.swift +++ /dev/null @@ -1,11 +0,0 @@ -import SwiftUI - -extension LocalizedStringKey { - static let defaultBundle = Bundle(for: StatsWidgetsService.self) - - /// LocalizedStringKey is used as a wrapper of NSLocalizedString, in order to use synthetic keys and assign a default value - /// in case of missing localization. This will need to be updated (if and) as soon as LocalizedStringKey supports default values - init(_ key: String, defaultValue: String, comment: String) { - self.init(NSLocalizedString(key, tableName: nil, bundle: Self.defaultBundle, value: defaultValue, comment: comment)) - } -} diff --git a/WordPress/WordPressStatsWidgets/Views/MultiStatsView.swift b/WordPress/WordPressStatsWidgets/Views/MultiStatsView.swift index f2cca9878490..86b86be89bdc 100644 --- a/WordPress/WordPressStatsWidgets/Views/MultiStatsView.swift +++ b/WordPress/WordPressStatsWidgets/Views/MultiStatsView.swift @@ -26,9 +26,9 @@ } /// Constructs a two-card column for the medium size Today widget - private func makeColumn(upperTitle: LocalizedStringKey, + private func makeColumn(upperTitle: LocalizedString, upperValue: Int, - lowerTitle: LocalizedStringKey, + lowerTitle: LocalizedString, lowerValue: Int) -> some View { VStack(alignment: .leading) { VerticalCard(title: upperTitle, value: upperValue, largeText: false) diff --git a/WordPress/WordPressStatsWidgets/Views/UnconfiguredView.swift b/WordPress/WordPressStatsWidgets/Views/UnconfiguredView.swift index 823e9a1fbd9e..e78eb4fc89a6 100644 --- a/WordPress/WordPressStatsWidgets/Views/UnconfiguredView.swift +++ b/WordPress/WordPressStatsWidgets/Views/UnconfiguredView.swift @@ -12,7 +12,7 @@ struct UnconfiguredView: View { .padding() } - var unconfiguredMessage: LocalizedStringKey { + var unconfiguredMessage: LocalizedString { switch widgetKind { case .today: return LocalizableStrings.unconfiguredViewTodayTitle diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 485f649085d8..7d4c10dc3552 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -418,7 +418,8 @@ platform :ios do en_lproj = 'WordPress/Resources/en.lproj' ios_generate_strings_file_from_code( paths: ['WordPress/', 'Pods/WordPress*/', 'Pods/WPMediaPicker/', 'WordPressShared/WordPressShared/', 'Pods/Gutenberg/'], - exclude: ['*Vendor*', 'WordPress/WordPressTest/I18n.swift', 'WordPress/WordPressStatsWidgets/Views/Localization/LocalizedStringKey+extension.swift', '*/Secrets.swift'], + exclude: ['*Vendor*', 'WordPress/WordPressTest/I18n.swift', 'WordPress/WordPressStatsWidgets/Views/Localization/AppLocalizedString.swift'], + routines: ['AppLocalizedString'], output_dir: en_lproj )