From 594524146906a2dfe1ea334a90f88aec24d8833a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 6 Feb 2012 21:59:12 -0600 Subject: Translation updates from Transifex, mostly scripts This is after some manual massaging to fix issues with newlines in some translations of the script catalogs. Signed-off-by: Dan McGee --- src/pacman/po/fr.po | 61 +++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) (limited to 'src') diff --git a/src/pacman/po/fr.po b/src/pacman/po/fr.po index 418f7a78..d85a11da 100644 --- a/src/pacman/po/fr.po +++ b/src/pacman/po/fr.po @@ -4,14 +4,14 @@ # # Translators: # Dan McGee , 2011. -# , 2011. +# , 2011, 2012. # shining , 2011. msgid "" msgstr "" "Project-Id-Version: Arch Linux Pacman package manager\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" "POT-Creation-Date: 2012-02-06 05:42-0600\n" -"PO-Revision-Date: 2011-11-14 18:30+0000\n" +"PO-Revision-Date: 2012-02-06 20:18+0000\n" "Last-Translator: jiehong \n" "Language-Team: French (http://www.transifex.net/projects/p/archlinux-pacman/" "team/fr/)\n" @@ -216,8 +216,8 @@ msgstr "" msgid "" "config file %s, line %d: directive '%s' in section '%s' not recognized.\n" msgstr "" -"fichier de configuration %s, ligne %d : l'instruction '%s' dans la section " -"'%s' n'est pas valide.\n" +"fichier de configuration %s, ligne %d : l'instruction « %s » dans la section " +"« %s » n'est pas valide.\n" #, c-format msgid "mirror '%s' contains the '%s' variable, but no '%s' is defined.\n" @@ -227,8 +227,8 @@ msgstr "" #, c-format msgid "could not add server URL to database '%s': %s (%s)\n" msgstr "" -"ne peut pas ajouter l'URL du serveur '%2$s' à la base de données " -"'%1$s' (%3$s)\n" +"ne peut pas ajouter l'URL du serveur « %2$s » à la base de données « %1$s " +"» (%3$s)\n" #, c-format msgid "failed to initialize alpm library (%s)\n" @@ -240,11 +240,11 @@ msgstr " essayez de lancer pacman-db-upgrade\n" #, c-format msgid "problem setting logfile '%s' (%s)\n" -msgstr "problème en définissant le chemin du fichier de log '%s' (%s)\n" +msgstr "problème en définissant le chemin du fichier de log « %s » (%s)\n" #, c-format msgid "problem setting gpgdir '%s' (%s)\n" -msgstr "problème en définissant le chemin du répertoire de gpg '%s' (%s)\n" +msgstr "problème en définissant le chemin du répertoire de gpg « %s » (%s)\n" #, c-format msgid "no '%s' configured" @@ -252,11 +252,12 @@ msgstr "%s n'est pas configuré" #, c-format msgid "could not register '%s' database (%s)\n" -msgstr "l'enregistrement de la base de données '%s' a échoué (%s)\n" +msgstr "l'enregistrement de la base de données « %s » a échoué (%s)\n" #, c-format msgid "could not add mirror '%s' to database '%s' (%s)\n" -msgstr "impossible d'ajouter le mirroir '%s' à la base de données '%s' (%s)\n" +msgstr "" +"impossible d'ajouter le mirroir « %s » à la base de données « %s » (%s)\n" #, c-format msgid "config parsing exceeded max recursion depth of %d.\n" @@ -269,23 +270,23 @@ msgstr "le fichier de configuration %s n'a pas pu être lu.\n" #, c-format msgid "config file %s, line %d: bad section name.\n" -msgstr "fichier de configuration %s, ligne %d: mauvais nom de section.\n" +msgstr "fichier de configuration %s, ligne %d : mauvais nom de section.\n" #, c-format msgid "config file %s, line %d: syntax error in config file- missing key.\n" msgstr "" -"fichier de configuration %s, ligne %d: erreur de syntaxe - clé manquante.\n" +"fichier de configuration %s, ligne %d : erreur de syntaxe - clé manquante.\n" #, c-format msgid "config file %s, line %d: All directives must belong to a section.\n" msgstr "" -"fichier de configuration %s, ligne %d: toutes les instructions doivent " +"fichier de configuration %s, ligne %d : toutes les instructions doivent " "appartenir à une section.\n" #, c-format msgid "config file %s, line %d: directive '%s' needs a value\n" msgstr "" -"fichier de configuration %s, ligne %d : l'instruction '%s' a besoin d'une " +"fichier de configuration %s, ligne %d : l'instruction « %s » a besoin d'une " "valeur\n" #, c-format @@ -374,7 +375,7 @@ msgstr "Taille du téléchargement : %6.2f %s\n" #, c-format msgid "Compressed Size: %6.2f %s\n" -msgstr "Taille compressé: %6.2f %s\n" +msgstr "Taille compressé : %6.2f %s\n" #, c-format msgid "Installed Size : %6.2f %s\n" @@ -438,7 +439,7 @@ msgstr "ne peut pas calculer les sommes de contrôle pour %s\n" #, c-format msgid "Backup Files:\n" -msgstr "Fichiers de sauvegarde:\n" +msgstr "Fichiers de sauvegarde :\n" #, c-format msgid "(none)\n" @@ -446,7 +447,7 @@ msgstr "(aucun)\n" #, c-format msgid "no changelog available for '%s'.\n" -msgstr "changelog non disponible pour '%s'.\n" +msgstr "changelog non disponible pour « %s ».\n" #, c-format msgid "options" @@ -786,7 +787,7 @@ msgstr "" #, c-format msgid "'%s' is not a valid debug level\n" -msgstr "'%s' n'est pas un niveau de débogage valide\n" +msgstr "« %s » n'est pas un niveau de débogage valide\n" #, c-format msgid "only one operation may be used at a time\n" @@ -826,19 +827,19 @@ msgstr "chemin trop long : %s%s\n" #, c-format msgid "failed to find '%s' in PATH: %s\n" -msgstr "impossible de trouver '%s' dans le PATH: %s\n" +msgstr "impossible de trouver « %s » dans le PATH : %s\n" #, c-format msgid "failed to read file '%s': %s\n" -msgstr "ne peut pas lire le fichier '%s': %s\n" +msgstr "ne peut pas lire le fichier « %s » : %s\n" #, c-format msgid "cannot determine ownership of directory '%s'\n" -msgstr "impossible de déterminer le propriétaire du répertoire '%s'\n" +msgstr "impossible de déterminer le propriétaire du répertoire « %s »\n" #, c-format msgid "cannot determine real path for '%s': %s\n" -msgstr "ne peut déterminer le vrai chemin pour '%s' : %s\n" +msgstr "ne peut déterminer le vrai chemin pour « %s » : %s\n" #, c-format msgid "No package owns %s\n" @@ -862,7 +863,7 @@ msgstr[1] "%jd fichiers manquants\n" #, c-format msgid "package '%s' was not found\n" -msgstr "le paquet '%s' n'a pas été trouvé.\n" +msgstr "le paquet « %s » n'a pas été trouvé.\n" #, c-format msgid "'%s' is a file, you might want to use %s.\n" @@ -923,7 +924,7 @@ msgstr "Voulez-vous désinstaller %s ?" #, c-format msgid "Database directory: %s\n" -msgstr "Répertoire des dépôts: %s\n" +msgstr "Répertoire des dépôts : %s\n" #, c-format msgid "Do you want to remove unused repositories?" @@ -987,11 +988,11 @@ msgstr "installé" #, c-format msgid "repository '%s' does not exist\n" -msgstr "le dépôt '%s' n'a pas été trouvé\n" +msgstr "le dépôt « %s » n'a pas été trouvé\n" #, c-format msgid "repository \"%s\" was not found.\n" -msgstr "le dépôt \"%s\" n'a pas été trouvé.\n" +msgstr "le dépôt « %s » n'a pas été trouvé.\n" #, c-format msgid "skipping target: %s\n" @@ -1031,11 +1032,11 @@ msgstr "Procéder à l'installation ?" #, c-format msgid "%s exists in both '%s' and '%s'\n" -msgstr "%s est présent à la fois dans '%s' et '%s'\n" +msgstr "%s est présent à la fois dans « %s » et « %s »\n" #, c-format msgid "%s: %s exists in filesystem\n" -msgstr "%s: %s est déjà présent dans le système de fichiers\n" +msgstr "%s : %s est déjà présent dans le système de fichiers\n" #, c-format msgid "%s is invalid or corrupted\n" @@ -1087,7 +1088,7 @@ msgstr "aucun dépôt de paquets utilisable n'a été défini.\n" #, c-format msgid "database '%s' is not valid (%s)\n" -msgstr "la base de donnée '%s' n'est pas valide (%s)\n" +msgstr "la base de donnée « %s » n'est pas valide (%s)\n" #, c-format msgid "insufficient columns available for table display\n" @@ -1139,7 +1140,7 @@ msgstr "confiance inconnue" #, c-format msgid "%s, %s from \"%s\"" -msgstr "%s, %s de \"%s\"" +msgstr "%s, %s de « %s »" #, c-format msgid "failed to allocate string\n" -- cgit v1.2.3 From ea32924c626b828b3752c021362a6e0e7f79885c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 6 Feb 2012 22:12:11 -0600 Subject: Fix a handful of comment typos or misspellings Signed-off-by: Dan McGee --- src/pacman/pacman.c | 10 ++++++---- src/pacman/util.c | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 4c0d69ed..381e0b71 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -726,7 +726,9 @@ static int parseargs(int argc, char *argv[]) return 0; } -/** print commandline to logfile +/** Print command line to logfile. + * @param argc + * @param argv */ static void cl_to_log(int argc, char* argv[]) { @@ -754,8 +756,8 @@ static void cl_to_log(int argc, char* argv[]) } /** Main function. - * @param argc argc - * @param argv argv + * @param argc + * @param argv * @return A return code indicating success, failure, etc. */ int main(int argc, char *argv[]) @@ -914,7 +916,7 @@ int main(int argc, char *argv[]) list_display("Targets :", pm_targets); } - /* Log commandline */ + /* Log command line */ if(needs_root()) { cl_to_log(argc, argv); } diff --git a/src/pacman/util.c b/src/pacman/util.c index 14e6f6b7..0b076d97 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1005,7 +1005,7 @@ static double simple_pow(int base, int exp) * @param target_unit '\0' or a short label. If equal to one of the short unit * labels ('B', 'K', ...) bytes is converted to target_unit; if '\0', the first * unit which will bring the value to below a threshold of 2048 will be chosen. - * @param precision number of decimal places, ensures -0.0.0 gets rounded to + * @param precision number of decimal places, ensures -0.00 gets rounded to * 0.00; -1 if no rounding desired * @param label will be set to the appropriate unit label * -- cgit v1.2.3 From 294f0fdf4df361e0d553eb650e1aacdb83f7bdf5 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sat, 11 Feb 2012 17:30:23 +1000 Subject: pactree: allow comments after repo section header Duplicate the fix in config file parsing from d95c0494. Signed-off-by: Allan McRae Signed-off-by: Dan McGee --- src/util/pactree.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/util/pactree.c b/src/util/pactree.c index 997ba466..cee5433a 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -167,17 +167,17 @@ static int register_syncs(void) { } while(fgets(line, LINE_MAX, fp)) { + /* ignore whole line and end of line comments */ + if((ptr = strchr(line, '#'))) { + *ptr = '\0'; + } + strtrim(line); - if(line[0] == '#' || !strlen(line)) { + if(strlen(line) == 0) { continue; } - if((ptr = strchr(line, '#'))) { - *ptr = '\0'; - strtrim(line); - } - if(line[0] == '[' && line[strlen(line) - 1] == ']') { free(section); section = strndup(&line[1], strlen(line) - 2); -- cgit v1.2.3 From f8ae60bc28644fd46810fbab7d5acf143586dfd4 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 11 Feb 2012 15:01:35 -0600 Subject: Final pre-release Transifex updates Signed-off-by: Dan McGee --- src/pacman/po/fi.po | 34 +++++++++++++++++----------------- src/pacman/po/hu.po | 6 +++--- src/pacman/po/it.po | 17 ++++++++--------- 3 files changed, 28 insertions(+), 29 deletions(-) (limited to 'src') diff --git a/src/pacman/po/fi.po b/src/pacman/po/fi.po index d1f9fd96..cd3c56e2 100644 --- a/src/pacman/po/fi.po +++ b/src/pacman/po/fi.po @@ -5,17 +5,17 @@ # Translators: # apuasi , 2011. # Dan McGee , 2011. -# Jesse Jaara , 2011. +# Jesse Jaara , 2011, 2012. # , 2011, 2012. # Larso , 2011. -# Lasse Liehu , 2011. +# Lasse Liehu , 2011, 2012. msgid "" msgstr "" "Project-Id-Version: Arch Linux Pacman package manager\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" "POT-Creation-Date: 2012-02-06 05:42-0600\n" -"PO-Revision-Date: 2012-02-06 01:41+0000\n" -"Last-Translator: Larso \n" +"PO-Revision-Date: 2012-02-11 19:30+0000\n" +"Last-Translator: Jesse Jaara \n" "Language-Team: Finnish (http://www.transifex.net/projects/p/archlinux-pacman/" "team/fi/)\n" "Language: fi\n" @@ -125,8 +125,8 @@ msgstr[1] "" #, c-format msgid "Do you want to skip the above package for this upgrade?" msgid_plural "Do you want to skip the above packages for this upgrade?" -msgstr[0] "Tahdotko ohittaa yllä olevan paketin päivittämisen?" -msgstr[1] "Tahdotko ohittaa yllä olevien pakettien päivittämisen?" +msgstr[0] "Haluatko ohittaa yllä olevan paketin päivittämisen?" +msgstr[1] "Haluatko ohittaa yllä olevien pakettien päivittämisen?" #, c-format msgid ":: There are %zd providers available for %s:\n" @@ -322,19 +322,19 @@ msgstr "Pakettivarasto :" #, c-format msgid "Name :" -msgstr "Uusi versio" +msgstr "Nimi :" #, c-format msgid "Version :" -msgstr "Koko" +msgstr "Versio :" #, c-format msgid "URL :" -msgstr "Ladataan" +msgstr "Kotisivu :" #, c-format msgid "Licenses :" -msgstr "Asennetaan:" +msgstr "Lisenssit :" #, c-format msgid "Groups :" @@ -458,7 +458,7 @@ msgstr "paketti(tit)" #, c-format msgid "usage" -msgstr "käyttö" +msgstr "Käyttö" #, c-format msgid "operation" @@ -786,7 +786,7 @@ msgstr "tämän operaation suorittamiseen vaaditaan ylläpitäjän oikeudet.\n" #, c-format msgid "no operation specified (use -h for help)\n" -msgstr "mitään operaatiota ei määritelty (-h valitsin tulostaa ohjeen)\n" +msgstr "mitään operaatiota ei annettu (-h tulostaa ohjeen)\n" #, c-format msgid "%s is owned by %s %s\n" @@ -870,7 +870,7 @@ msgstr "paketti %s on HoldPkg-listalla.\n" #, c-format msgid "HoldPkg was found in target list. Do you want to continue?" -msgstr "HoldPkg löytyi kohdelistasta. Tahdotko jatkaa?" +msgstr "HoldPkg löytyi kohdelistasta. Haluatko jatkaa?" #, c-format msgid " there is nothing to do\n" @@ -902,7 +902,7 @@ msgstr "Tietokantakansio: %s\n" #, c-format msgid "Do you want to remove unused repositories?" -msgstr "Tahdotko poistaa käyttämättömät pakettivarastot?" +msgstr "Haluatko poistaa käyttämättömät pakettivarastot?" #, c-format msgid "Database directory cleaned up\n" @@ -926,7 +926,7 @@ msgstr " Kaikki pakettilistan paketit\n" #, c-format msgid "Do you want to remove all other packages from cache?" -msgstr "Tahdotko poistaa kaikki muut paketit välimuistista?" +msgstr "Haluatko poistaa kaikki muut paketit välimuistista?" #, c-format msgid "removing old packages from cache...\n" @@ -934,7 +934,7 @@ msgstr "poistetaan vanhoja paketteja välimuistista...\n" #, c-format msgid "Do you want to remove ALL files from cache?" -msgstr "Tahdotko poistaa KAIKKI tiedostot välimuistista?" +msgstr "Haluatko poistaa KAIKKI tiedostot välimuistista?" #, c-format msgid "removing all files from cache...\n" @@ -1033,7 +1033,7 @@ msgid "" ":: Do you want to cancel the current operation\n" ":: and upgrade these packages now?" msgstr "" -":: Tahdotko peruuttaa nykyisen operaation\n" +":: Haluatko peruuttaa nykyisen operaation\n" ":: ja päivittää nämä paketit nyt?" #, c-format diff --git a/src/pacman/po/hu.po b/src/pacman/po/hu.po index 75115c36..de670892 100644 --- a/src/pacman/po/hu.po +++ b/src/pacman/po/hu.po @@ -10,7 +10,7 @@ msgstr "" "Project-Id-Version: Arch Linux Pacman package manager\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" "POT-Creation-Date: 2012-02-06 05:42-0600\n" -"PO-Revision-Date: 2012-01-17 03:36+0000\n" +"PO-Revision-Date: 2012-02-08 01:57+0000\n" "Last-Translator: György Balló \n" "Language-Team: Hungarian (http://www.transifex.net/projects/p/archlinux-" "pacman/team/hu/)\n" @@ -1134,7 +1134,7 @@ msgstr "Új verzió" #, c-format msgid "Net Change" -msgstr "Hálózati átvitel" +msgstr "Tiszta változás" #, c-format msgid "Download Size" @@ -1158,7 +1158,7 @@ msgstr "Teljes eltávolított méret: %.2f %s\n" #, c-format msgid "Net Upgrade Size: %.2f %s\n" -msgstr "Hálózati frissítés mérete: %.2f %s\n" +msgstr "Tiszta frissítési méret: %.2f %s\n" #, c-format msgid "New optional dependencies for %s\n" diff --git a/src/pacman/po/it.po b/src/pacman/po/it.po index df3108b7..a6d4223d 100644 --- a/src/pacman/po/it.po +++ b/src/pacman/po/it.po @@ -4,14 +4,14 @@ # # Translators: # Andrea Scarpino , 2011. -# Giovanni Scafora , 2011. +# Giovanni Scafora , 2011, 2012. msgid "" msgstr "" "Project-Id-Version: Arch Linux Pacman package manager\n" "Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n" "POT-Creation-Date: 2012-02-06 05:42-0600\n" -"PO-Revision-Date: 2011-11-14 09:32+0000\n" -"Last-Translator: giovanni \n" +"PO-Revision-Date: 2012-02-11 18:11+0000\n" +"Last-Translator: Giovanni Scafora \n" "Language-Team: Italian (http://www.transifex.net/projects/p/archlinux-pacman/" "team/it/)\n" "Language: it\n" @@ -372,9 +372,7 @@ msgstr "Sostituisce :" #, c-format msgid "Download Size : %6.2f %s\n" -msgstr "" -"Dimensione pkg : %6.2f %s\n" -"\n" +msgstr "Dimensione pkg : %6.2f %s\n" #, c-format msgid "Compressed Size: %6.2f %s\n" @@ -422,11 +420,11 @@ msgstr "Somma MD5 :" #, c-format msgid "SHA256 Sum :" -msgstr "Somma SHA256 :" +msgstr "Somma SHA256 :" #, c-format msgid "Signatures :" -msgstr "Firme :" +msgstr "Firme :" #, c-format msgid "None" @@ -710,7 +708,8 @@ msgstr " --noscriptlet non esegue un eventuale script di install\n" msgid "" " -p, --print print the targets instead of performing the " "operation\n" -msgstr "-p, --print stampa i pacchetti invece di effettuare l'operazione\n" +msgstr "" +" -p, --print stampa i pacchetti invece di effettuare l'operazione\n" #, c-format msgid "" -- cgit v1.2.3