Skip to content

fix: %s for plural (Added to %s dashboard) to avoid poedit alert #32881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const useExploreMetadataBar = (
title:
metadata.dashboards.length > 0
? tn(
'Added to 1 dashboard',
'Added to %s dashboard',
'Added to %s dashboards',
metadata.dashboards.length,
metadata.dashboards.length,
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ar/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ msgid "Added"
msgstr "مضاف"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "إضافة إلى لوحة القيادة"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/de/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ msgid "Added"
msgstr "Hinzugefügt"

#, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Zu Dashboard hinzugefügt"
msgstr[1] "Zu %s Dashboards hinzugefügt"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/en/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ msgid "Added"
msgstr ""

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] ""
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ msgid "Added"
msgstr "Añadido"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Añadir a un nuevo Dashboard"
msgstr[1] ""
Expand Down
4 changes: 2 additions & 2 deletions superset/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,9 @@ msgid "Added"
msgstr "Ajouté"

#, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Ajouté à 1 tableau de bord"
msgstr[0] "Ajouté à %s tableau de bord"
msgstr[1] "Ajoutés à %s tableaux de bords"

msgid "Additional Parameters"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/it/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ msgid "Added"
msgstr ""

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Aggiungi ad una nuova dashboard"

Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ja/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ msgid "Added"
msgstr "追加済み"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "1 つのダッシュボードに追加"

Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ko/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ msgid "Added"
msgstr ""

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "대시보드 추가"

Expand Down
2 changes: 1 addition & 1 deletion superset/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ msgid "Added"
msgstr ""

#, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] ""
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/nl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ msgid "Added"
msgstr "Toegevoegd"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Toegevoegd aan het dashboard"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/pl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ msgid "Added"
msgstr "Dodano"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Dodano do 1 pulpitu"
msgstr[1] "Dodano do %s pulpitów"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/pt/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ msgid "Added"
msgstr ""

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Adicionar ao novo dashboard"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/pt_BR/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ msgid "Added"
msgstr "Adicionado"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Adicionado a 1 painel"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/ru/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ msgid "Added"
msgstr "Добавлено"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Добавлено на один дашборд"
msgstr[1] "Добавлено на %s дашборда"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/sk/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ msgid "Added"
msgstr ""

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Importovať dashboard"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/sl/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ msgid "Added"
msgstr "Dodano"

#, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Dodano na 1 nadzorno ploščo"
msgstr[1] "Dodano na %s nadzorni plošči"
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/tr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ msgid "Added"
msgstr "Eklendi"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "1 Dashboarda eklendi"

Expand Down
2 changes: 1 addition & 1 deletion superset/translations/uk/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ msgid "Added"
msgstr "Доданий"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "Додано до 1 інформаційної панелі"
msgstr[1] ""
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/zh/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ msgid "Added"
msgstr "已添加"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "添加到看板"

Expand Down
2 changes: 1 addition & 1 deletion superset/translations/zh_TW/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ msgid "Added"
msgstr "已增加"

#, fuzzy, python-format
msgid "Added to 1 dashboard"
msgid "Added to %s dashboard"
msgid_plural "Added to %s dashboards"
msgstr[0] "增加到看板"

Expand Down
Loading