From 9e39bf8ed232e9893956eef2b79805b868eb9af0 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Wed, 10 Jul 2013 13:55:23 +0200 Subject: [PATCH] Added the new localization strings to the pot file. In the process, the new strings were also translated to Swedish. To properly handle localized string constants, a new function "N_()" was added which can be supplied to xgettext when collecting strings. --- gitinspector/blame.py | 7 +- gitinspector/changes.py | 5 +- gitinspector/extensions.py | 5 +- gitinspector/filtering.py | 3 +- gitinspector/localization.py | 3 + gitinspector/metrics.py | 5 +- gitinspector/missing.py | 7 +- gitinspector/responsibilities.py | 9 +- gitinspector/timeline.py | 5 +- gitinspector/translations/messages.pot | 219 +++++++------ gitinspector/translations/messages_sv.mo | Bin 10744 -> 11887 bytes gitinspector/translations/messages_sv.po | 379 ++++++++++++----------- 12 files changed, 358 insertions(+), 289 deletions(-) diff --git a/gitinspector/blame.py b/gitinspector/blame.py index 153df6d..e17ca2a 100644 --- a/gitinspector/blame.py +++ b/gitinspector/blame.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable from changes import FileDiff import comment @@ -75,7 +76,7 @@ class BlameThread(threading.Thread): git_blame_r.close() __thread_lock__.release() # Lock controlling the number of threads running -PROGRESS_TEXT = "Checking how many rows belong to each author (Progress): {0:.0f}%" +PROGRESS_TEXT = N_("Checking how many rows belong to each author (Progress): {0:.0f}%") class Blame: def __init__(self, hard): @@ -145,8 +146,8 @@ def get(hard): return __blame__ -BLAME_INFO_TEXT = ("Below are the number of rows from each author that have survived and are still " - "intact in the current revision") +BLAME_INFO_TEXT = N_("Below are the number of rows from each author that have survived and are still " + "intact in the current revision") class BlameOutput(Outputable): def __init__(self, hard): diff --git a/gitinspector/changes.py b/gitinspector/changes.py index e59ede4..25ce4b0 100644 --- a/gitinspector/changes.py +++ b/gitinspector/changes.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import extensions import filtering @@ -157,8 +158,8 @@ def get(hard): return __changes__ -HISTORICAL_INFO_TEXT = "The following historical commit information, by author, was found in the repository" -NO_COMMITED_FILES_TEXT = "No commited files with the specified extensions were found" +HISTORICAL_INFO_TEXT = N_("The following historical commit information, by author, was found in the repository") +NO_COMMITED_FILES_TEXT = N_("No commited files with the specified extensions were found") class ChangesOutput(Outputable): def __init__(self, hard): diff --git a/gitinspector/extensions.py b/gitinspector/extensions.py index b8a1f9b..0843831 100644 --- a/gitinspector/extensions.py +++ b/gitinspector/extensions.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import terminal import textwrap @@ -39,8 +40,8 @@ def add_located(string): if len(string) > 0: __located_extensions__.add(string) -EXTENSIONS_INFO_TEXT = "The extensions below were found in the repository history" -EXTENSIONS_MARKED_TEXT = "(extensions used during statistical analysis are marked)" +EXTENSIONS_INFO_TEXT = N_("The extensions below were found in the repository history") +EXTENSIONS_MARKED_TEXT = N_("(extensions used during statistical analysis are marked)") class Extensions(Outputable): def output_html(self): diff --git a/gitinspector/filtering.py b/gitinspector/filtering.py index e0ab9db..efad6d8 100644 --- a/gitinspector/filtering.py +++ b/gitinspector/filtering.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import re import terminal @@ -49,7 +50,7 @@ def set_filtered(file_name): raise ValueError("Invalid regular expression specified") return False -FILTERING_INFO_TEXT = "The following files were excluded from the statistics due to the specified exclusion patterns" +FILTERING_INFO_TEXT = N_("The following files were excluded from the statistics due to the specified exclusion patterns") class Filtering(Outputable): def output_html(self): diff --git a/gitinspector/localization.py b/gitinspector/localization.py index 4fe6198..2d82b33 100644 --- a/gitinspector/localization.py +++ b/gitinspector/localization.py @@ -27,6 +27,9 @@ import os __installed__ = False __translation__ = None +#Dummy function used to handle string constants +def N_(message): return message + def init(): global __installed__ global __translation__ diff --git a/gitinspector/metrics.py b/gitinspector/metrics.py index bd53098..592cfaf 100644 --- a/gitinspector/metrics.py +++ b/gitinspector/metrics.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable from changes import FileDiff import comment @@ -64,8 +65,8 @@ class MetricsLogic: return eloc_counter -ELOC_INFO_TEXT = "The following files are suspiciously big (in order of severity)" -METRICS_MISSING_INFO_TEXT = "No metrics violations were found in the repository" +ELOC_INFO_TEXT = N_("The following files are suspiciously big (in order of severity)") +METRICS_MISSING_INFO_TEXT = N_("No metrics violations were found in the repository") class Metrics(Outputable): def output_text(self): diff --git a/gitinspector/missing.py b/gitinspector/missing.py index cf9dc07..5439f8c 100644 --- a/gitinspector/missing.py +++ b/gitinspector/missing.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import interval import os @@ -42,9 +43,9 @@ def set_checkout_missing(checkout): global __checkout_missing__ __checkout_missing__ = checkout -MISSING_INFO_TEXT = ("The following files were missing in the repository and were therefore not " - "completely included in the statistical analysis. To include them, you can " - "either checkout manually using git or use the -c option in gitinspector") +MISSING_INFO_TEXT = N_("The following files were missing in the repository and were therefore not " + "completely included in the statistical analysis. To include them, you can " + "either checkout manually using git or use the -c option in gitinspector") class Missing(Outputable): def output_html(self): diff --git a/gitinspector/responsibilities.py b/gitinspector/responsibilities.py index f011863..78da96a 100644 --- a/gitinspector/responsibilities.py +++ b/gitinspector/responsibilities.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import blame import terminal @@ -40,10 +41,10 @@ class Responsibilities: return sorted(author_blames.items()) -RESPONSIBILITIES_INFO_TEXT = ("The following repsonsibilties, by author, were found in the current " - "revision of the repository (comments are exluded from the line count, " - "if possible)") -MOSTLY_RESPONSIBLE_FOR_TEXT = "is mostly responsible for" +RESPONSIBILITIES_INFO_TEXT = N_("The following repsonsibilties, by author, were found in the current " + "revision of the repository (comments are exluded from the line count, " + "if possible)") +MOSTLY_RESPONSIBLE_FOR_TEXT = N_("is mostly responsible for") class ResponsibilitiesOutput(Outputable): def __init__(self, hard): diff --git a/gitinspector/timeline.py b/gitinspector/timeline.py index 8125907..165e161 100644 --- a/gitinspector/timeline.py +++ b/gitinspector/timeline.py @@ -19,6 +19,7 @@ from __future__ import print_function from __future__ import unicode_literals +from localization import N_ from outputable import Outputable import datetime import terminal @@ -103,8 +104,8 @@ class TimelineData: return False -TIMELINE_INFO_TEXT = "The following history timeline has been gathered from the repository" -MODIFIED_ROWS_TEXT = "Modified Rows:" +TIMELINE_INFO_TEXT = N_("The following history timeline has been gathered from the repository") +MODIFIED_ROWS_TEXT = N_("Modified Rows:") def __output_row__text__(timeline_data, periods, names): print("\n" + terminal.__bold__ + _("Author").ljust(20), end=" ") diff --git a/gitinspector/translations/messages.pot b/gitinspector/translations/messages.pot index d74a9d4..747c551 100644 --- a/gitinspector/translations/messages.pot +++ b/gitinspector/translations/messages.pot @@ -18,30 +18,18 @@ msgid "" msgstr "" "Project-Id-Version: gitinspector 0.2.2\n" -"POT-Creation-Date: 2013-06-26 02:25+CEST\n" +"Report-Msgid-Bugs-To: gitinspector@ejwa.se\n" +"POT-Creation-Date: 2013-07-10 13:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Adam Waldenberg \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: pygettext.py 1.5\n" -msgid "Checking how many rows belong to each author (Progress): {0:.0f}%" +msgid "The extensions below were found in the repository history" msgstr "" -msgid "Below are the number of rows from each author that have survived and are still intact in the current revision" -msgstr "" - -msgid "Author" -msgstr "" - -msgid "% in comments" -msgstr "" - -msgid "Rows" -msgstr "" - -msgid "Minor Authors" +msgid "(extensions used during statistical analysis are marked)" msgstr "" msgid "The following historical commit information, by author, was found in the repository" @@ -50,25 +38,49 @@ msgstr "" msgid "No commited files with the specified extensions were found" msgstr "" +msgid "Author" +msgstr "" + msgid "Commits" msgstr "" msgid "Insertions" msgstr "" -msgid "% of changes" -msgstr "" - msgid "Deletions" msgstr "" -msgid "The extensions below were found in the repository history" +#, python-format +msgid "% of changes" msgstr "" -msgid "(extensions used during statistical analysis are marked)" +msgid "Minor Authors" msgstr "" -msgid "The following files were excluded from the statistics due to the specified exclusion patterns" +msgid "" +"The following repsonsibilties, by author, were found in the current revision of the repository (comments are exluded from the " +"line count, if possible)" +msgstr "" + +msgid "is mostly responsible for" +msgstr "" + +msgid "" +"Copyright © 2012-2013 Ejwa Software. All rights reserved.\n" +"License GPLv3+: GNU GPL version 3 or later .\n" +"This is free software: you are free to change and redistribute it.\n" +"There is NO WARRANTY, to the extent permitted by law.\n" +"\n" +"Written by Adam Waldenberg." +msgstr "" + +msgid "specified output format not supported." +msgstr "" + +msgid "gitinspector requires at leat Python 2.6 to run (version {0} was found)." +msgstr "" + +msgid "Try `{0} --help' for more information." msgstr "" msgid "The output has been generated by {0}; the statistical analysis tool for git repositories." @@ -86,72 +98,6 @@ msgstr "" msgid "Hide rows with minor work" msgstr "" -msgid "gitinspector requires at leat Python 2.6 to run (version {0} was found)." -msgstr "" - -msgid "specified output format not supported." -msgstr "" - -msgid "Try `{0} --help' for more information." -msgstr "" - -msgid "" -"Usage: {0} [OPTION]... [DIRECTORY]\n" -"List information about the repository in DIRECTORY. If no directory is\n" -"specified, the current directory is used. If multiple directories are\n" -"given, information will be fetched from the last directory specified.\n" -"\n" -"Mandatory arguments to long options are mandatory for short options too.\n" -" -c, --checkout-missing try to checkout any missing files\n" -" -f, --file-types=EXTENSIONS a comma separated list of file extensions to\n" -" include when computing statistics. The\n" -" default extensions used are:\n" -" {1}\n" -" -F, --format=FORMAT define in which format output should be\n" -" generated; the default format is 'text' and\n" -" the available formats are:\n" -" {2}\n" -" --grading show statistics and information in a way that\n" -" is formatted for grading of student projects;\n" -" this is the same as supplying -HlmrTw\n" -" -H, --hard track rows and look for duplicates harder;\n" -" this can be quite slow with big repositories\n" -" -l, --list-file-types list all the file extensions available in the\n" -" current branch of the repository\n" -" -m --metrics include checks for certain metrics during the\n" -" analysis of commits\n" -" -r --responsibilities show which files the different authors seem\n" -" most responsible for\n" -" --since=DATE only show statistics for commits more recent\n" -" than a specific date\n" -" -T, --timeline show commit timeline, including author names\n" -" --until=DATE only show statistics for commits older than a\n" -" specific date\n" -" -w, --weeks show all statistical information in weeks\n" -" instead of in months\n" -" -x, --exclude=PATTERN an exclusion pattern describing file names that\n" -" should be excluded from the statistics; can\n" -" be specified multiple times\n" -" -h, --help display this help and exit\n" -" --version output version information and exit\n" -"\n" -"gitinspector will filter statistics to only include commits that modify,\n" -"add or remove one of the specified extensions, see -f or --file-types for\n" -"more information.\n" -"\n" -"gitinspector requires that the git executable is available in your PATH.\n" -"Report gitinspector bugs to gitinspector@ejwa.se." -msgstr "" - -msgid "The following files are suspiciously big (in order of severity)" -msgstr "" - -msgid "No metrics violations were found in the repository" -msgstr "" - -msgid "The following files were missing in the repository and were therefore not completely included in the statistical analysis. To include them, you can either checkout manually using git or use the -c option in gitinspector" -msgstr "" - msgid "HTML output not yet supported in" msgstr "" @@ -161,10 +107,15 @@ msgstr "" msgid "XML output not yet supported in" msgstr "" -msgid "The following repsonsibilties, by author, were found in the current revision of the repository (comments are exluded from the line count, if possible)" +msgid "" +"The following files were missing in the repository and were therefore not completely included in the statistical analysis. To " +"include them, you can either checkout manually using git or use the -c option in gitinspector" msgstr "" -msgid "is mostly responsible for" +msgid "The following files are suspiciously big (in order of severity)" +msgstr "" + +msgid "No metrics violations were found in the repository" msgstr "" msgid "The following history timeline has been gathered from the repository" @@ -173,12 +124,86 @@ msgstr "" msgid "Modified Rows:" msgstr "" -msgid "" -"Copyright \302\251 2012-2013 Ejwa Software. All rights reserved.\n" -"License GPLv3+: GNU GPL version 3 or later .\n" -"This is free software: you are free to change and redistribute it.\n" -"There is NO WARRANTY, to the extent permitted by law.\n" -"\n" -"Written by Adam Waldenberg." +msgid "Checking how many rows belong to each author (Progress): {0:.0f}%" msgstr "" +msgid "Below are the number of rows from each author that have survived and are still intact in the current revision" +msgstr "" + +msgid "Rows" +msgstr "" + +#, python-format +msgid "% in comments" +msgstr "" + +msgid "The given option argument is not a valid boolean." +msgstr "" + +msgid "option '{0}' requires an argument" +msgstr "" + +msgid "unrecognized option '{0}'" +msgstr "" + +msgid "invalid option -- '{0}'" +msgstr "" + +msgid "invalid command-line options" +msgstr "" + +msgid "The following files were excluded from the statistics due to the specified exclusion patterns" +msgstr "" + +msgid "" +"Usage: {0} [OPTION]... [DIRECTORY]\n" +"List information about the repository in DIRECTORY. If no directory is\n" +"specified, the current directory is used. If multiple directories are\n" +"given, information will be fetched from the last directory specified.\n" +"\n" +"Mandatory arguments to long options are mandatory for short options too.\n" +"Boolean arguments can only be given to long options.\n" +" -c, --checkout-missing[=BOOL] try to checkout any missing files\n" +" -f, --file-types=EXTENSIONS a comma separated list of file extensions to\n" +" include when computing statistics. The\n" +" default extensions used are:\n" +" {1}\n" +" -F, --format=FORMAT define in which format output should be\n" +" generated; the default format is 'text' and\n" +" the available formats are:\n" +" {2}\n" +" --grading[=BOOL] show statistics and information in a way that\n" +" is formatted for grading of student\n" +" projects; this is the same as supplying the\n" +" options -HlmrTw\n" +" -H, --hard[=BOOL] track rows and look for duplicates harder;\n" +" this can be quite slow with big repositories\n" +" -l, --list-file-types[=BOOL] list all the file extensions available in the\n" +" current branch of the repository\n" +" -L, --localize-output[=BOOL] localize the generated output to the selected\n" +" system language if a translation is\n" +" available\n" +" -m --metrics[=BOOL] include checks for certain metrics during the\n" +" analysis of commits\n" +" -r --responsibilities[=BOOL] show which files the different authors seem\n" +" most responsible for\n" +" --since=DATE only show statistics for commits more recent\n" +" than a specific date\n" +" -T, --timeline[=BOOL] show commit timeline, including author names\n" +" --until=DATE only show statistics for commits older than a\n" +" specific date\n" +" -w, --weeks[=BOOL] show all statistical information in weeks\n" +" instead of in months\n" +" -x, --exclude=PATTERN an exclusion pattern describing file names\n" +" that should be excluded from the statistics;\n" +" can be specified multiple times\n" +" -h, --help display this help and exit\n" +" --version output version information and exit\n" +"\n" +"gitinspector will filter statistics to only include commits that modify,\n" +"add or remove one of the specified extensions, see -f or --file-types for\n" +"more information.\n" +"\n" +"gitinspector requires that the git executable is available in your PATH.\n" +"Report gitinspector bugs to gitinspector@ejwa.se." +msgstr "" diff --git a/gitinspector/translations/messages_sv.mo b/gitinspector/translations/messages_sv.mo index c70d4fe30cba75b1a522363540ef8928936d52d0..438eaabc27731d5a26a447c7ff30564028901a11 100644 GIT binary patch delta 2454 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 IBt-`Q0yS?emH+?% diff --git a/gitinspector/translations/messages_sv.po b/gitinspector/translations/messages_sv.po index 86dd954..0ccffac 100644 --- a/gitinspector/translations/messages_sv.po +++ b/gitinspector/translations/messages_sv.po @@ -14,44 +14,27 @@ # # You should have received a copy of the GNU General Public License # along with gitinspector. If not, see . -# Adam Waldenberg , 2013. # +# Adam Waldenberg , 2013. + msgid "" msgstr "" "Project-Id-Version: gitinspector 0.2.2\n" -"POT-Creation-Date: 2013-06-26 01:15+CEST\n" -"PO-Revision-Date: 2013-06-26 02:29+0200\n" +"Report-Msgid-Bugs-To: gitinspector@ejwa.se\n" +"POT-Creation-Date: 2013-07-10 13:34+0200\n" +"PO-Revision-Date: 2013-07-10 13:43+0200\n" "Last-Translator: Adam Waldenberg \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: pygettext.py 1.5\n" "Language-Team: Svenska <>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "Checking how many rows belong to each author (Progress): {0:.0f}%" -msgstr "" -"Kontrollerar hur många rader som tillhör varje författare (Framsteg): " -"{0:.0f}%" +msgid "The extensions below were found in the repository history" +msgstr "Suffixen nedan hittades i förrådshistoriken" -msgid "" -"Below are the number of rows from each author that have survived and are " -"still intact in the current revision" -msgstr "" -"Nedan återges antalet rader från varje upphovsman som har överlevt och " -"fortfarande är intakta i senaste revisionen" - -msgid "Author" -msgstr "Upphovsman" - -msgid "% in comments" -msgstr "% i kommentarer" - -msgid "Rows" -msgstr "Rader" - -msgid "Minor Authors" -msgstr "Mindre Upphovsmän" +msgid "(extensions used during statistical analysis are marked)" +msgstr "(suffix som användes vid den statistiska analysen är markerade)" msgid "" "The following historical commit information, by author, was found in the " @@ -62,30 +45,61 @@ msgstr "" msgid "No commited files with the specified extensions were found" msgstr "Kunde inte hitta några inlämnade filer med det angivna suffixet" +msgid "Author" +msgstr "Upphovsman" + msgid "Commits" msgstr "Inlämningar" msgid "Insertions" msgstr "Insättningar" -msgid "% of changes" -msgstr "% av ändringar" - msgid "Deletions" msgstr "Borttagningar" -msgid "The extensions below were found in the repository history" -msgstr "Suffixen nedan hittades i förrådshistoriken" +#, python-format +msgid "% of changes" +msgstr "% av ändringar" -msgid "(extensions used during statistical analysis are marked)" -msgstr "(suffix som användes vid den statistiska analysen är markerade)" +msgid "Minor Authors" +msgstr "Mindre Upphovsmän" msgid "" -"The following files were excluded from the statistics due to the specified " -"exclusion patterns" +"The following repsonsibilties, by author, were found in the current revision " +"of the repository (comments are exluded from the line count, if possible)" msgstr "" -"Följande filer var uteslutna från den statistiska analysen på grund av de " -"angivna uteslutningsreglerna" +"Följande ansvar, utefter upphovsman, hittades i den nuvarande revisionen av " +"förrådet (kommentarer är uteslutna från radberäkningen, om så möjligt)" + +msgid "is mostly responsible for" +msgstr "är mestandels ansvarig för" + +msgid "" +"Copyright © 2012-2013 Ejwa Software. All rights reserved.\n" +"License GPLv3+: GNU GPL version 3 or later .\n" +"This is free software: you are free to change and redistribute it.\n" +"There is NO WARRANTY, to the extent permitted by law.\n" +"\n" +"Written by Adam Waldenberg." +msgstr "" +"Upphovsrätt © 2012-2013 Ejwa Software. Alla rättigheter förbehållna.\n" +"Licens GPLv3+: GNU GPL version 3 eller senare .\n" +"Detta är fri programvara: du får lov att ändra och vidaredistribuera den.\n" +"Det finns INGEN GARANTI, så långt lagen tillåter.\n" +"\n" +"Skrivet av Adam Waldenberg." + +msgid "specified output format not supported." +msgstr "det angivna utmatningsformatet stöds inte." + +msgid "" +"gitinspector requires at leat Python 2.6 to run (version {0} was found)." +msgstr "gitinspector kräver åtminstone Python 2.6 (version {0} hittades)." + +msgid "Try `{0} --help' for more information." +msgstr "Försök med `{0} --help' för mer information." msgid "" "The output has been generated by {0}; the statistical analysis tool for git " @@ -105,15 +119,77 @@ msgstr "Visa rader med lite arbete" msgid "Hide rows with minor work" msgstr "Göm rader med lite arbete" +msgid "HTML output not yet supported in" +msgstr "HTML-utmatning stöds inte i" + +msgid "Text output not yet supported in" +msgstr "Textutmatning stöds inte i" + +msgid "XML output not yet supported in" +msgstr "XML-utmatning stöds inte i" + msgid "" -"gitinspector requires at leat Python 2.6 to run (version {0} was found)." -msgstr "gitinspector kräver åtminstone Python 2.6 (version {} hittades)." +"The following files were missing in the repository and were therefore not " +"completely included in the statistical analysis. To include them, you can " +"either checkout manually using git or use the -c option in gitinspector" +msgstr "" +"Följande filer saknades i förrådet och var därför inte helt inräknade i den " +"statistiska analysen. För att inkludera dem så kan du antingen checka ut dem " +"manuellt med git eller använda -c flaggan i gitinspector" -msgid "specified output format not supported." -msgstr "det angivna utmatningsformatet stöds inte." +msgid "The following files are suspiciously big (in order of severity)" +msgstr "" +"Följande filer är misstänksamt stora (sorterat utefter allvarlighetsgrad)" -msgid "Try `{0} --help' for more information." -msgstr "Försök med `{0} --help' för mer information." +msgid "No metrics violations were found in the repository" +msgstr "Inga överträdelser av kodmetrik hittades i förrådet" + +msgid "The following history timeline has been gathered from the repository" +msgstr "Den följande historiska tidslinjen har samlats in från förrådet" + +msgid "Modified Rows:" +msgstr "Ändrade Rader:" + +msgid "Checking how many rows belong to each author (Progress): {0:.0f}%" +msgstr "" +"Kontrollerar hur många rader som tillhör varje författare (Framsteg): " +"{0:.0f}%" + +msgid "" +"Below are the number of rows from each author that have survived and are " +"still intact in the current revision" +msgstr "" +"Nedan återges antalet rader från varje upphovsman som har överlevt och " +"fortfarande är intakta i den nuvarande revisionen" + +msgid "Rows" +msgstr "Rader" + +#, python-format +msgid "% in comments" +msgstr "% i kommentarer" + +msgid "The given option argument is not a valid boolean." +msgstr "Det angivna flaggargumentet är inte en giltig boolean." + +msgid "option '{0}' requires an argument" +msgstr "flaggan ”{0}” kräver ett argument" + +msgid "unrecognized option '{0}'" +msgstr "okänd flagga ”{0}”" + +msgid "invalid option -- '{0}'" +msgstr "ogiltig flagga -- ”{0}”" + +msgid "invalid command-line options" +msgstr "ogiltiga kommandoradsflaggor" + +msgid "" +"The following files were excluded from the statistics due to the specified " +"exclusion patterns" +msgstr "" +"Följande filer var uteslutna från den statistiska analysen på grund av de " +"angivna uteslutningsreglerna" msgid "" "Usage: {0} [OPTION]... [DIRECTORY]\n" @@ -122,47 +198,56 @@ msgid "" "given, information will be fetched from the last directory specified.\n" "\n" "Mandatory arguments to long options are mandatory for short options too.\n" -" -c, --checkout-missing try to checkout any missing files\n" -" -f, --file-types=EXTENSIONS a comma separated list of file extensions to\n" -" include when computing statistics. The\n" -" default extensions used are:\n" -" {1}\n" -" -F, --format=FORMAT define in which format output should be\n" -" generated; the default format is 'text' " +"Boolean arguments can only be given to long options.\n" +" -c, --checkout-missing[=BOOL] try to checkout any missing files\n" +" -f, --file-types=EXTENSIONS a comma separated list of file extensions " +"to\n" +" include when computing statistics. The\n" +" default extensions used are:\n" +" {1}\n" +" -F, --format=FORMAT define in which format output should be\n" +" generated; the default format is 'text' " "and\n" -" the available formats are:\n" -" {2}\n" -" --grading show statistics and information in a way " +" the available formats are:\n" +" {2}\n" +" --grading[=BOOL] show statistics and information in a way " "that\n" -" is formatted for grading of student " -"projects;\n" -" this is the same as supplying -HlmrTw\n" -" -H, --hard track rows and look for duplicates harder;\n" -" this can be quite slow with big " +" is formatted for grading of student\n" +" projects; this is the same as supplying " +"the\n" +" options -HlmrTw\n" +" -H, --hard[=BOOL] track rows and look for duplicates harder;\n" +" this can be quite slow with big " "repositories\n" -" -l, --list-file-types list all the file extensions available in " +" -l, --list-file-types[=BOOL] list all the file extensions available in " "the\n" -" current branch of the repository\n" -" -m --metrics include checks for certain metrics during " +" current branch of the repository\n" +" -L, --localize-output[=BOOL] localize the generated output to the " +"selected\n" +" system language if a translation is\n" +" available\n" +" -m --metrics[=BOOL] include checks for certain metrics during " "the\n" -" analysis of commits\n" -" -r --responsibilities show which files the different authors seem\n" -" most responsible for\n" -" --since=DATE only show statistics for commits more recent\n" -" than a specific date\n" -" -T, --timeline show commit timeline, including author names\n" -" --until=DATE only show statistics for commits older than " +" analysis of commits\n" +" -r --responsibilities[=BOOL] show which files the different authors " +"seem\n" +" most responsible for\n" +" --since=DATE only show statistics for commits more " +"recent\n" +" than a specific date\n" +" -T, --timeline[=BOOL] show commit timeline, including author " +"names\n" +" --until=DATE only show statistics for commits older than " "a\n" -" specific date\n" -" -w, --weeks show all statistical information in weeks\n" -" instead of in months\n" -" -x, --exclude=PATTERN an exclusion pattern describing file names " -"that\n" -" should be excluded from the statistics; " -"can\n" -" be specified multiple times\n" -" -h, --help display this help and exit\n" -" --version output version information and exit\n" +" specific date\n" +" -w, --weeks[=BOOL] show all statistical information in weeks\n" +" instead of in months\n" +" -x, --exclude=PATTERN an exclusion pattern describing file names\n" +" that should be excluded from the " +"statistics;\n" +" can be specified multiple times\n" +" -h, --help display this help and exit\n" +" --version output version information and exit\n" "\n" "gitinspector will filter statistics to only include commits that modify,\n" "add or remove one of the specified extensions, see -f or --file-types for\n" @@ -178,49 +263,55 @@ msgstr "" "\n" "Obligatoriska argument till långa flaggor är obligatoriska även för de " "korta.\n" -" -c, --checkout-missing försök att checka ut filer som saknas\n" +"Booleska argument kan bara ges till långa flaggor.\n" +" -c, --checkout-missing=[BOOL] försök att checka ut filer som saknas\n" " -f, --file-types=FILSUFFIX en komma-separerad lista av fil-suffix som\n" -" ska inkluderas vid statistikberäkning. De\n" -" förvalda suffixen är följande:\n" -" {1}\n" -" -F, --format=FORMAT ange i vilket format den genererade " -"utmatningen\n" -" ska vara; det förvalda formatet är 'text', " -"de\n" -" tillgängliga formaten är:\n" -" {2}\n" -" --grading visa statistik och information anpassad för\n" -" rättning av studentprojekt; detta är " -"detsamma\n" -" som att ange flaggorna -HlmrTw\n" -" -H, --hard spåra rader och leta efter dubbletter " +" ska inkluderas vid statistikberäkning. " +"De\n" +" förvalda suffixen är följande:\n" +" {1}\n" +" -F, --format=FORMAT ange i vilket format den genererade\n" +" utmatningen ska vara; det förvalda " +"formatet\n" +" är 'text', de tillgängliga formaten är:\n" +" {2}\n" +" --grading[=BOOL] visa statistik och information anpassad " +"för\n" +" rättning av studentprojekt; detta är\n" +" detsamma som att ange flaggorna -HlmrTw\n" +" -H, --hard[=BOOL] spåra rader och leta efter dubbletter " "hårdare;\n" -" detta kan ta lång tid på väldigt stora " -"förråd\n" -" -l, --list-file-types lista alla fil-suffix som hittades i den\n" -" nuvarande grenen i förrådet\n" -" -m --metrics inkludera kontroller för kodmetrik vid " -"analysen\n" -" av inlämningar\n" -" -r --responsibilities visa vilka filer olika upphovsmän verkar " +" detta kan ta lång tid på stora förråd\n" +" -l, --list-file-types[=BOOL] lista alla fil-suffix som hittades i den\n" +" nuvarande grenen i förrådet\n" +" -L --localize-output[=BOOL] Översätt den genererade utmatningen till " +"det\n" +" nuvarande systemspråket om en " +"översättning\n" +" finns tillgänglig\n" +" -m --metrics[=BOOL] inkludera kontroller för kodmetrik vid\n" +" analysen av inlämningar\n" +" -r --responsibilities[=BOOL] visa vilka filer olika upphovsmän verkar " "mest\n" -" ansvariga för\n" -" --since=DATUM beräkna endast statistik för inlämningar " +" ansvariga för\n" +" --since=DATUM beräkna endast statistik för inlämningar " "nyare\n" -" än ett angivet datum\n" -" -T, --timeline visa en inlämningstidslinje för alla funna\n" -" upphovsmän\n" -" --until=DATUM beräkna endast statistik för inlämningar " +" än ett angivet datum\n" +" -T, --timeline[=BOOL] visa en inlämningstidslinje för alla funna\n" +" upphovsmän\n" +" --until=DATUM beräkna endast statistik för inlämningar " "äldre\n" -" än ett angivet datum\n" -" -w, --weeks visa statistisk information indelad i veckor\n" -" istället för månader\n" -" -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de filnamn\n" -" som ska uteslutas ur statistiken; kan " +" än ett angivet datum\n" +" -w, --weeks[=BOOL] visa statistisk information indelad i " +"veckor\n" +" istället för månader\n" +" -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de " +"filnamn\n" +" som ska uteslutas ur statistiken; kan " "anges\n" -" flera gånger\n" -" -h, --help visa denna hjälptext och avsluta\n" -" --version visa versionsinformation och avsluta\n" +" flera gånger\n" +" -h, --help visa denna hjälptext och avsluta\n" +" --version visa versionsinformation och avsluta\n" "\n" "gitinspector filtrerar statistik så att bara inlämningar som ändrar, lägger\n" "till eller tar bort en av de angivna fil-suffixen tas med; se -f eller\n" @@ -228,61 +319,3 @@ msgstr "" "\n" "gitinspector kräver att den körbara filen för git finns i PATH.\n" "Rapportera fel i gitinspector till gitinspector@ejwa.se." - -msgid "The following files are suspiciously big (in order of severity)" -msgstr "" -"Följande filer är misstänksamt stora (sorterat utefter allvarlighetsgrad)" - -msgid "No metrics violations were found in the repository" -msgstr "Inga överträdelser av kodmetrik hittades i förrådet" - -msgid "" -"The following files were missing in the repository and were therefore not " -"completely included in the statistical analysis. To include them, you can " -"either checkout manually using git or use the -c option in gitinspector" -msgstr "" -"Följande filer saknades i förrådet och var därför inte helt inräknade i den " -"statistiska analysen. För att inkludera dem så kan du antingen checka ut dem " -"manuellt med git eller använda -c flaggan i gitinspector" - -msgid "HTML output not yet supported in" -msgstr "HTML-utmatning stöds inte i" - -msgid "Text output not yet supported in" -msgstr "Textutmatning stöds inte i" - -msgid "XML output not yet supported in" -msgstr "XML-utmatning stöds inte i" - -msgid "" -"The following repsonsibilties, by author, were found in the current revision " -"of the repository (comments are exluded from the line count, if possible)" -msgstr "" -"Följande ansvar, utefter upphovsman, hittades i den nuvarande revisionen av " -"förrådet (kommentarer är uteslutna från radberäkningen, om så möjligt)" - -msgid "is mostly responsible for" -msgstr "är mestandels ansvarig för" - -msgid "The following history timeline has been gathered from the repository" -msgstr "Den följande historiska tidslinjen har samlats in från förrådet" - -msgid "Modified Rows:" -msgstr "Ändrade Rader:" - -msgid "" -"Copyright © 2012-2013 Ejwa Software. All rights reserved.\n" -"License GPLv3+: GNU GPL version 3 or later .\n" -"This is free software: you are free to change and redistribute it.\n" -"There is NO WARRANTY, to the extent permitted by law.\n" -"\n" -"Written by Adam Waldenberg." -msgstr "" -"Upphovsrätt © 2012-2013 Ejwa Software. Alla rättigheter förbehållna.\n" -"Licens GPLv3+: GNU GPL version 3 eller senare .\n" -"Detta är fri programvara: du får lov att ändra och vidaredistribuera den.\n" -"Det finns INGEN GARANTI, så långt lagen tillåter.\n" -"\n" -"Skrivet av Adam Waldenberg."