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.
This commit is contained in:
Adam Waldenberg 2013-07-10 13:55:23 +02:00
parent ccd995a02b
commit 9e39bf8ed2
12 changed files with 358 additions and 289 deletions

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
from changes import FileDiff from changes import FileDiff
import comment import comment
@ -75,7 +76,7 @@ class BlameThread(threading.Thread):
git_blame_r.close() git_blame_r.close()
__thread_lock__.release() # Lock controlling the number of threads running __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: class Blame:
def __init__(self, hard): def __init__(self, hard):
@ -145,8 +146,8 @@ def get(hard):
return __blame__ return __blame__
BLAME_INFO_TEXT = ("Below are the number of rows from each author that have survived and are still " BLAME_INFO_TEXT = N_("Below are the number of rows from each author that have survived and are still "
"intact in the current revision") "intact in the current revision")
class BlameOutput(Outputable): class BlameOutput(Outputable):
def __init__(self, hard): def __init__(self, hard):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import extensions import extensions
import filtering import filtering
@ -157,8 +158,8 @@ def get(hard):
return __changes__ return __changes__
HISTORICAL_INFO_TEXT = "The following historical commit information, by author, was found in the repository" HISTORICAL_INFO_TEXT = N_("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" NO_COMMITED_FILES_TEXT = N_("No commited files with the specified extensions were found")
class ChangesOutput(Outputable): class ChangesOutput(Outputable):
def __init__(self, hard): def __init__(self, hard):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import terminal import terminal
import textwrap import textwrap
@ -39,8 +40,8 @@ def add_located(string):
if len(string) > 0: if len(string) > 0:
__located_extensions__.add(string) __located_extensions__.add(string)
EXTENSIONS_INFO_TEXT = "The extensions below were found in the repository history" EXTENSIONS_INFO_TEXT = N_("The extensions below were found in the repository history")
EXTENSIONS_MARKED_TEXT = "(extensions used during statistical analysis are marked)" EXTENSIONS_MARKED_TEXT = N_("(extensions used during statistical analysis are marked)")
class Extensions(Outputable): class Extensions(Outputable):
def output_html(self): def output_html(self):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import re import re
import terminal import terminal
@ -49,7 +50,7 @@ def set_filtered(file_name):
raise ValueError("Invalid regular expression specified") raise ValueError("Invalid regular expression specified")
return False 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): class Filtering(Outputable):
def output_html(self): def output_html(self):

View File

@ -27,6 +27,9 @@ import os
__installed__ = False __installed__ = False
__translation__ = None __translation__ = None
#Dummy function used to handle string constants
def N_(message): return message
def init(): def init():
global __installed__ global __installed__
global __translation__ global __translation__

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
from changes import FileDiff from changes import FileDiff
import comment import comment
@ -64,8 +65,8 @@ class MetricsLogic:
return eloc_counter return eloc_counter
ELOC_INFO_TEXT = "The following files are suspiciously big (in order of severity)" ELOC_INFO_TEXT = N_("The following files are suspiciously big (in order of severity)")
METRICS_MISSING_INFO_TEXT = "No metrics violations were found in the repository" METRICS_MISSING_INFO_TEXT = N_("No metrics violations were found in the repository")
class Metrics(Outputable): class Metrics(Outputable):
def output_text(self): def output_text(self):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import interval import interval
import os import os
@ -42,9 +43,9 @@ def set_checkout_missing(checkout):
global __checkout_missing__ global __checkout_missing__
__checkout_missing__ = checkout __checkout_missing__ = checkout
MISSING_INFO_TEXT = ("The following files were missing in the repository and were therefore not " 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 " "completely included in the statistical analysis. To include them, you can "
"either checkout manually using git or use the -c option in gitinspector") "either checkout manually using git or use the -c option in gitinspector")
class Missing(Outputable): class Missing(Outputable):
def output_html(self): def output_html(self):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import blame import blame
import terminal import terminal
@ -40,10 +41,10 @@ class Responsibilities:
return sorted(author_blames.items()) return sorted(author_blames.items())
RESPONSIBILITIES_INFO_TEXT = ("The following repsonsibilties, by author, were found in the current " 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, " "revision of the repository (comments are exluded from the line count, "
"if possible)") "if possible)")
MOSTLY_RESPONSIBLE_FOR_TEXT = "is mostly responsible for" MOSTLY_RESPONSIBLE_FOR_TEXT = N_("is mostly responsible for")
class ResponsibilitiesOutput(Outputable): class ResponsibilitiesOutput(Outputable):
def __init__(self, hard): def __init__(self, hard):

View File

@ -19,6 +19,7 @@
from __future__ import print_function from __future__ import print_function
from __future__ import unicode_literals from __future__ import unicode_literals
from localization import N_
from outputable import Outputable from outputable import Outputable
import datetime import datetime
import terminal import terminal
@ -103,8 +104,8 @@ class TimelineData:
return False return False
TIMELINE_INFO_TEXT = "The following history timeline has been gathered from the repository" TIMELINE_INFO_TEXT = N_("The following history timeline has been gathered from the repository")
MODIFIED_ROWS_TEXT = "Modified Rows:" MODIFIED_ROWS_TEXT = N_("Modified Rows:")
def __output_row__text__(timeline_data, periods, names): def __output_row__text__(timeline_data, periods, names):
print("\n" + terminal.__bold__ + _("Author").ljust(20), end=" ") print("\n" + terminal.__bold__ + _("Author").ljust(20), end=" ")

View File

@ -18,30 +18,18 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitinspector 0.2.2\n" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Adam Waldenberg <adam.waldenberg@ejwa.se>\n" "Last-Translator: Adam Waldenberg <adam.waldenberg@ejwa.se>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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 "" msgstr ""
msgid "Below are the number of rows from each author that have survived and are still intact in the current revision" msgid "(extensions used during statistical analysis are marked)"
msgstr ""
msgid "Author"
msgstr ""
msgid "% in comments"
msgstr ""
msgid "Rows"
msgstr ""
msgid "Minor Authors"
msgstr "" msgstr ""
msgid "The following historical commit information, by author, was found in the repository" 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" msgid "No commited files with the specified extensions were found"
msgstr "" msgstr ""
msgid "Author"
msgstr ""
msgid "Commits" msgid "Commits"
msgstr "" msgstr ""
msgid "Insertions" msgid "Insertions"
msgstr "" msgstr ""
msgid "% of changes"
msgstr ""
msgid "Deletions" msgid "Deletions"
msgstr "" msgstr ""
msgid "The extensions below were found in the repository history" #, python-format
msgid "% of changes"
msgstr "" msgstr ""
msgid "(extensions used during statistical analysis are marked)" msgid "Minor Authors"
msgstr "" 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 <http://gnu.org/licenses/gpl.html>.\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 "" msgstr ""
msgid "The output has been generated by {0}; the statistical analysis tool for git repositories." 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" msgid "Hide rows with minor work"
msgstr "" 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" msgid "HTML output not yet supported in"
msgstr "" msgstr ""
@ -161,10 +107,15 @@ msgstr ""
msgid "XML output not yet supported in" msgid "XML output not yet supported in"
msgstr "" 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 "" 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 "" msgstr ""
msgid "The following history timeline has been gathered from the repository" msgid "The following history timeline has been gathered from the repository"
@ -173,12 +124,86 @@ msgstr ""
msgid "Modified Rows:" msgid "Modified Rows:"
msgstr "" msgstr ""
msgid "" msgid "Checking how many rows belong to each author (Progress): {0:.0f}%"
"Copyright \302\251 2012-2013 Ejwa Software. All rights reserved.\n"
"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\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 "" 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 ""

View File

@ -14,44 +14,27 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>. # along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
# Adam Waldenberg <adam.waldenberg@ejwa.se>, 2013.
# #
# Adam Waldenberg <adam.waldenberg@ejwa.se>, 2013.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gitinspector 0.2.2\n" "Project-Id-Version: gitinspector 0.2.2\n"
"POT-Creation-Date: 2013-06-26 01:15+CEST\n" "Report-Msgid-Bugs-To: gitinspector@ejwa.se\n"
"PO-Revision-Date: 2013-06-26 02:29+0200\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 <adam.waldenberg@ejwa.se>\n" "Last-Translator: Adam Waldenberg <adam.waldenberg@ejwa.se>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"Language-Team: Svenska <>\n" "Language-Team: Svenska <>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
msgid "Checking how many rows belong to each author (Progress): {0:.0f}%" msgid "The extensions below were found in the repository history"
msgstr "" msgstr "Suffixen nedan hittades i förrådshistoriken"
"Kontrollerar hur många rader som tillhör varje författare (Framsteg): "
"{0:.0f}%"
msgid "" msgid "(extensions used during statistical analysis are marked)"
"Below are the number of rows from each author that have survived and are " msgstr "(suffix som användes vid den statistiska analysen är markerade)"
"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 "" msgid ""
"The following historical commit information, by author, was found in the " "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" msgid "No commited files with the specified extensions were found"
msgstr "Kunde inte hitta några inlämnade filer med det angivna suffixet" msgstr "Kunde inte hitta några inlämnade filer med det angivna suffixet"
msgid "Author"
msgstr "Upphovsman"
msgid "Commits" msgid "Commits"
msgstr "Inlämningar" msgstr "Inlämningar"
msgid "Insertions" msgid "Insertions"
msgstr "Insättningar" msgstr "Insättningar"
msgid "% of changes"
msgstr "% av ändringar"
msgid "Deletions" msgid "Deletions"
msgstr "Borttagningar" msgstr "Borttagningar"
msgid "The extensions below were found in the repository history" #, python-format
msgstr "Suffixen nedan hittades i förrådshistoriken" msgid "% of changes"
msgstr "% av ändringar"
msgid "(extensions used during statistical analysis are marked)" msgid "Minor Authors"
msgstr "(suffix som användes vid den statistiska analysen är markerade)" msgstr "Mindre Upphovsmän"
msgid "" msgid ""
"The following files were excluded from the statistics due to the specified " "The following repsonsibilties, by author, were found in the current revision "
"exclusion patterns" "of the repository (comments are exluded from the line count, if possible)"
msgstr "" msgstr ""
"Följande filer var uteslutna från den statistiska analysen på grund av de " "Följande ansvar, utefter upphovsman, hittades i den nuvarande revisionen av "
"angivna uteslutningsreglerna" "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 <http://gnu.org/licenses/gpl."
"html>.\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 <http://gnu.org/licenses/gpl."
"html>.\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 "" msgid ""
"The output has been generated by {0}; the statistical analysis tool for git " "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" msgid "Hide rows with minor work"
msgstr "Göm rader med lite arbete" 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 "" msgid ""
"gitinspector requires at leat Python 2.6 to run (version {0} was found)." "The following files were missing in the repository and were therefore not "
msgstr "gitinspector kräver åtminstone Python 2.6 (version {} hittades)." "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." msgid "The following files are suspiciously big (in order of severity)"
msgstr "det angivna utmatningsformatet stöds inte." msgstr ""
"Följande filer är misstänksamt stora (sorterat utefter allvarlighetsgrad)"
msgid "Try `{0} --help' for more information." msgid "No metrics violations were found in the repository"
msgstr "Försök med `{0} --help' för mer information." 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 "" msgid ""
"Usage: {0} [OPTION]... [DIRECTORY]\n" "Usage: {0} [OPTION]... [DIRECTORY]\n"
@ -122,47 +198,56 @@ msgid ""
"given, information will be fetched from the last directory specified.\n" "given, information will be fetched from the last directory specified.\n"
"\n" "\n"
"Mandatory arguments to long options are mandatory for short options too.\n" "Mandatory arguments to long options are mandatory for short options too.\n"
" -c, --checkout-missing try to checkout any missing files\n" "Boolean arguments can only be given to long options.\n"
" -f, --file-types=EXTENSIONS a comma separated list of file extensions to\n" " -c, --checkout-missing[=BOOL] try to checkout any missing files\n"
" include when computing statistics. The\n" " -f, --file-types=EXTENSIONS a comma separated list of file extensions "
" default extensions used are:\n" "to\n"
" {1}\n" " include when computing statistics. The\n"
" -F, --format=FORMAT define in which format output should be\n" " default extensions used are:\n"
" generated; the default format is 'text' " " {1}\n"
" -F, --format=FORMAT define in which format output should be\n"
" generated; the default format is 'text' "
"and\n" "and\n"
" the available formats are:\n" " the available formats are:\n"
" {2}\n" " {2}\n"
" --grading show statistics and information in a way " " --grading[=BOOL] show statistics and information in a way "
"that\n" "that\n"
" is formatted for grading of student " " is formatted for grading of student\n"
"projects;\n" " projects; this is the same as supplying "
" this is the same as supplying -HlmrTw\n" "the\n"
" -H, --hard track rows and look for duplicates harder;\n" " options -HlmrTw\n"
" this can be quite slow with big " " -H, --hard[=BOOL] track rows and look for duplicates harder;\n"
" this can be quite slow with big "
"repositories\n" "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" "the\n"
" current branch of the repository\n" " current branch of the repository\n"
" -m --metrics include checks for certain metrics during " " -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" "the\n"
" analysis of commits\n" " analysis of commits\n"
" -r --responsibilities show which files the different authors seem\n" " -r --responsibilities[=BOOL] show which files the different authors "
" most responsible for\n" "seem\n"
" --since=DATE only show statistics for commits more recent\n" " most responsible for\n"
" than a specific date\n" " --since=DATE only show statistics for commits more "
" -T, --timeline show commit timeline, including author names\n" "recent\n"
" --until=DATE only show statistics for commits older than " " 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" "a\n"
" specific date\n" " specific date\n"
" -w, --weeks show all statistical information in weeks\n" " -w, --weeks[=BOOL] show all statistical information in weeks\n"
" instead of in months\n" " instead of in months\n"
" -x, --exclude=PATTERN an exclusion pattern describing file names " " -x, --exclude=PATTERN an exclusion pattern describing file names\n"
"that\n" " that should be excluded from the "
" should be excluded from the statistics; " "statistics;\n"
"can\n" " can be specified multiple times\n"
" be specified multiple times\n" " -h, --help display this help and exit\n"
" -h, --help display this help and exit\n" " --version output version information and exit\n"
" --version output version information and exit\n"
"\n" "\n"
"gitinspector will filter statistics to only include commits that modify,\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" "add or remove one of the specified extensions, see -f or --file-types for\n"
@ -178,49 +263,55 @@ msgstr ""
"\n" "\n"
"Obligatoriska argument till långa flaggor är obligatoriska även för de " "Obligatoriska argument till långa flaggor är obligatoriska även för de "
"korta.\n" "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" " -f, --file-types=FILSUFFIX en komma-separerad lista av fil-suffix som\n"
" ska inkluderas vid statistikberäkning. De\n" " ska inkluderas vid statistikberäkning. "
" förvalda suffixen är följande:\n" "De\n"
" {1}\n" " förvalda suffixen är följande:\n"
" -F, --format=FORMAT ange i vilket format den genererade " " {1}\n"
"utmatningen\n" " -F, --format=FORMAT ange i vilket format den genererade\n"
" ska vara; det förvalda formatet är 'text', " " utmatningen ska vara; det förvalda "
"de\n" "formatet\n"
" tillgängliga formaten är:\n" " är 'text', de tillgängliga formaten är:\n"
" {2}\n" " {2}\n"
" --grading visa statistik och information anpassad för\n" " --grading[=BOOL] visa statistik och information anpassad "
" rättning av studentprojekt; detta är " "för\n"
"detsamma\n" " rättning av studentprojekt; detta är\n"
" som att ange flaggorna -HlmrTw\n" " detsamma som att ange flaggorna -HlmrTw\n"
" -H, --hard spåra rader och leta efter dubbletter " " -H, --hard[=BOOL] spåra rader och leta efter dubbletter "
"hårdare;\n" "hårdare;\n"
" detta kan ta lång tid på väldigt stora " " detta kan ta lång tid på stora förråd\n"
"förråd\n" " -l, --list-file-types[=BOOL] lista alla fil-suffix som hittades i den\n"
" -l, --list-file-types lista alla fil-suffix som hittades i den\n" " nuvarande grenen i förrådet\n"
" nuvarande grenen i förrådet\n" " -L --localize-output[=BOOL] Översätt den genererade utmatningen till "
" -m --metrics inkludera kontroller för kodmetrik vid " "det\n"
"analysen\n" " nuvarande systemspråket om en "
" av inlämningar\n" "översättning\n"
" -r --responsibilities visa vilka filer olika upphovsmän verkar " " 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" "mest\n"
" ansvariga för\n" " ansvariga för\n"
" --since=DATUM beräkna endast statistik för inlämningar " " --since=DATUM beräkna endast statistik för inlämningar "
"nyare\n" "nyare\n"
" än ett angivet datum\n" " än ett angivet datum\n"
" -T, --timeline visa en inlämningstidslinje för alla funna\n" " -T, --timeline[=BOOL] visa en inlämningstidslinje för alla funna\n"
" upphovsmän\n" " upphovsmän\n"
" --until=DATUM beräkna endast statistik för inlämningar " " --until=DATUM beräkna endast statistik för inlämningar "
"äldre\n" "äldre\n"
" än ett angivet datum\n" " än ett angivet datum\n"
" -w, --weeks visa statistisk information indelad i veckor\n" " -w, --weeks[=BOOL] visa statistisk information indelad i "
" istället för månader\n" "veckor\n"
" -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de filnamn\n" " istället för månader\n"
" som ska uteslutas ur statistiken; kan " " -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de "
"filnamn\n"
" som ska uteslutas ur statistiken; kan "
"anges\n" "anges\n"
" flera gånger\n" " flera gånger\n"
" -h, --help visa denna hjälptext och avsluta\n" " -h, --help visa denna hjälptext och avsluta\n"
" --version visa versionsinformation och avsluta\n" " --version visa versionsinformation och avsluta\n"
"\n" "\n"
"gitinspector filtrerar statistik så att bara inlämningar som ändrar, lägger\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" "till eller tar bort en av de angivna fil-suffixen tas med; se -f eller\n"
@ -228,61 +319,3 @@ msgstr ""
"\n" "\n"
"gitinspector kräver att den körbara filen för git finns i PATH.\n" "gitinspector kräver att den körbara filen för git finns i PATH.\n"
"Rapportera fel i gitinspector till gitinspector@ejwa.se." "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 <http://gnu.org/licenses/gpl."
"html>.\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 <http://gnu.org/licenses/gpl."
"html>.\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."