Skip to content

Commit

Permalink
fix: use positional argument for "providers available" translation
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Nov 28, 2024
1 parent f23fe98 commit 42482af
Show file tree
Hide file tree
Showing 31 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion pkg/db/ialpm/alpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (ae *AlpmExecutor) questionCallback() func(question alpm.QuestionAny) {
return nil
})

str := text.Bold(gotext.Get("There are %d providers available for %s:", size, qp.Dep()))
str := text.Bold(gotext.Get("There are %1$d providers available for %2$s:", size, qp.Dep()))

size = 1

Expand Down
2 changes: 1 addition & 1 deletion pkg/dep/dep_graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ func (g *Grapher) provideMenu(dep string, options []aur.Pkg) *aur.Pkg {
return &options[0]
}

str := text.Bold(gotext.Get("There are %d providers available for %s:", size, dep))
str := text.Bold(gotext.Get("There are %1$d providers available for %2$s:", size, dep))
str += "\n"

size = 1
Expand Down
8 changes: 4 additions & 4 deletions po/ca.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Translators:
# Davidmp <[email protected]>, 2023
#
#
msgid ""
msgstr ""
"Last-Translator: Davidmp <[email protected]>, 2023\n"
Expand Down Expand Up @@ -434,8 +434,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Els paquets següents no són compatibles amb la vostra arquitectura:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Hi ha %d proveïdors disponibles per a %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Hi ha %1$d proveïdors disponibles per a %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/ca_ES.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Translators:
# Davidmp <[email protected]>, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Davidmp <[email protected]>, 2024\n"
Expand Down Expand Up @@ -434,8 +434,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Els paquets següents no són compatibles amb la vostra arquitectura:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Hi ha %d proveïdors disponibles per a %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Hi ha %1$d proveïdors disponibles per a %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/cs.po
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
#
# Translators:
# Fjuro Fjuro, 2022
# a30a45d5047eb877c4dc397ded846f36_1de9be1, 2023
# Matyáš Černý, 2023
# walken, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: walken, 2024\n"
Expand Down Expand Up @@ -436,8 +436,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Následující balíčky nejsou kompatibilní s vaší architekturou:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Pro %s je dostupných %d poskytovatelů:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Pro %2$s je dostupných %1$d poskytovatelů:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/de.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Translators:
# Julian Neupert <[email protected]>, 2021
# Chris Boesch, 2021
Expand All @@ -14,7 +14,7 @@
# Severin Hamader <[email protected]>, 2023
# Manuel Schneider, 2023
# Marethyu _, 2023
#
#
msgid ""
msgstr ""
"Last-Translator: Marethyu _, 2023\n"
Expand Down Expand Up @@ -451,8 +451,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Die folgenden Pakete sind mit Ihrer Architektur inkompatibel:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Es sind %d Anbieter für %s verfügbar:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Es sind %1$d Anbieter für %2$s verfügbar:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
2 changes: 1 addition & 1 deletion po/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ msgstr ""

#: pkg/db/ialpm/alpm.go:179
#: pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr ""

#: pkg/settings/exe/cmd_builder.go:258
Expand Down
8 changes: 4 additions & 4 deletions po/es.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Translators:
# J G, 2021
# Ivan Garcia, 2021
Expand All @@ -10,7 +10,7 @@
# Angel López, 2023
# C C, 2023
# Angel Alderete, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Angel Alderete, 2024\n"
Expand Down Expand Up @@ -447,8 +447,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Los siguientes paquetes no son compatibles con su arquitectura:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Existen %d paquetes que proveen %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Existen %1$d paquetes que proveen %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
4 changes: 2 additions & 2 deletions po/eu.po
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,8 @@ msgstr "Ondorengo paketeak ez dira zure arkitekturarekin bateragarriak:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
#, fuzzy
msgid "There are %d providers available for %s:"
msgstr "%d hornitzaile eskuragarri %s paketearentzat:\n"
msgid "There are %1$d providers available for %2$s:"
msgstr "%1$d hornitzaile eskuragarri %2$s paketearentzat:\n"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/fr.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Translators:
# Benjamin Chenebault, 2023
# anthony tonitch <[email protected]>, 2024
Expand All @@ -8,7 +8,7 @@
# Sylvain Bx, 2024
# Mathias Brugger, 2024
# Pierre Grasser, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Pierre Grasser, 2024\n"
Expand Down Expand Up @@ -446,8 +446,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Les paquets suivants sont incompatibles avec votre architecture :"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Il y a %d paquets pouvant fournir %s :"
msgid "There are %1$d providers available for %2$s:"
msgstr "Il y a %1$d paquets pouvant fournir %2$s :"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/fr_FR.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Translators:
# J G, 2021
# Mr Strik3, 2022
Expand All @@ -9,7 +9,7 @@
# Bertrand Junqua, 2024
# Barsanuphe, 2024
# Pierre Grasser, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Pierre Grasser, 2024\n"
Expand Down Expand Up @@ -447,8 +447,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Les paquets suivants sont incompatibles avec votre architecture :"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Il y a %d paquets pouvant fournir %s :"
msgid "There are %1$d providers available for %2$s:"
msgstr "Il y a %1$d paquets pouvant fournir %2$s :"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/he.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
#
# Translators:
# lavi landa, 2024
# Yaron Shahrabani <[email protected]>, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Yaron Shahrabani <[email protected]>, 2024\n"
Expand Down Expand Up @@ -431,8 +431,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "החבילות הבאות אינן תואמות לארכיטקטורת המעבד שלך:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "יש %d ספקים זמינים עבור %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "יש %1$d ספקים זמינים עבור %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/he_IL.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
#
# Translators:
# Yaron Shahrabani <[email protected]>, 2024
# lavi landa, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: lavi landa, 2024\n"
Expand Down Expand Up @@ -431,8 +431,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "החבילות הבאות אינן תואמות לארכיטקטורת המעבד שלך:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "יש %d ספקים זמינים עבור %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "יש %1$d ספקים זמינים עבור %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/hu.po
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
#
# Translators:
# Szigeti Péter, 2021
# Gergő Kasza, 2022
# summoner, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: summoner, 2024\n"
Expand Down Expand Up @@ -456,8 +456,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Az alábbi csomagok nem kompatibilisek a processzor architektúrájával:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "%d szolgáltató áll rendelkezésre ehhez: %s: "
msgid "There are %1$d providers available for %2$s:"
msgstr "%1$d szolgáltató áll rendelkezésre ehhez: %2$s: "

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/id.po
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
#
# Translators:
# Ludovico, 2022
# Linerly <[email protected]>, 2024
# Alif Fathur, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Alif Fathur, 2024\n"
Expand Down Expand Up @@ -455,8 +455,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Paket-paket berikut ini tidak kompatibel dengan arsitektur Anda:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Tersedia %d penyedia untuk %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Tersedia %1$d penyedia untuk %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/it_IT.po
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
#
# Translators:
# Cardellino, 2021
# Giulio Terigi, 2022
# Simone Dotto <[email protected]>, 2022
# jheitz223, 2023
# Vincenzo Reale <[email protected]>, 2023
#
#
msgid ""
msgstr ""
"Last-Translator: Vincenzo Reale <[email protected]>, 2023\n"
Expand Down Expand Up @@ -441,8 +441,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "I seguenti pacchetti non sono compatibili con la tua architettura:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Ci sono %d fornitori disponibili per %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Ci sono %1$d fornitori disponibili per %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
4 changes: 2 additions & 2 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ msgstr ""

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
#, fuzzy
msgid "There are %d providers available for %s:"
msgstr "%d 個のパッケージが %s を提供しています:\n"
msgid "There are %1$d providers available for %2$s:"
msgstr "%1$d 個のパッケージが %2$s を提供しています:\n"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
4 changes: 2 additions & 2 deletions po/ko.po
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "다음 패키지는 이 컴퓨터의 아키텍처와 호환되지 않음:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "%s에 사용할 수 있는 %d개 공급자가 있습니다:"
msgid "There are %1$d providers available for %2$s:"
msgstr "%2$s에 사용할 수 있는 %1$d개 공급자가 있습니다:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/nl.po
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
#
# Translators:
# Pim van den Berg, 2022
# Jonathan van der Steege <[email protected]>, 2023
# Loek Le Blansch <[email protected]>, 2023
# Luke Rieff, 2023
# Ariejan de Vroom <[email protected]>, 2024
# Heimen Stoffels <[email protected]>, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Heimen Stoffels <[email protected]>, 2024\n"
Expand Down Expand Up @@ -444,8 +444,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "De volgende pakketten zijn niet compatibel met uw architectuur:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Er zijn %d bronnen die %s aanbieden:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Er zijn %1$d bronnen die %2$s aanbieden:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
8 changes: 4 additions & 4 deletions po/pl.po
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Translators:
# J G, 2021
# Oskar <[email protected]>, 2022
Expand All @@ -9,7 +9,7 @@
# Mariusz Bubak, 2024
# Bartłomiej Konecki, 2024
# Tadeusz Magura-Witkowski, 2024
#
#
msgid ""
msgstr ""
"Last-Translator: Tadeusz Magura-Witkowski, 2024\n"
Expand Down Expand Up @@ -462,8 +462,8 @@ msgid "The following packages are not compatible with your architecture:"
msgstr "Te paczki nie są kompatybilne z architekturą Twojego systemu:"

#: pkg/db/ialpm/alpm.go:179 pkg/dep/dep_graph.go:726
msgid "There are %d providers available for %s:"
msgstr "Jest %d możliwych źródeł dla %s:"
msgid "There are %1$d providers available for %2$s:"
msgstr "Jest %1$d możliwych źródeł dla %2$s:"

#: pkg/settings/exe/cmd_builder.go:258
msgid "There may be another Pacman instance running. Waiting..."
Expand Down
Loading

0 comments on commit 42482af

Please sign in to comment.