mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +01:00
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:
parent
ccd995a02b
commit
9e39bf8ed2
12 changed files with 358 additions and 289 deletions
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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=" ")
|
||||
|
|
|
@ -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 <adam.waldenberg@ejwa.se>\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 <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 ""
|
||||
|
||||
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 <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."
|
||||
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 ""
|
||||
|
|
Binary file not shown.
|
@ -14,44 +14,27 @@
|
|||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# 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 ""
|
||||
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 <adam.waldenberg@ejwa.se>\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 <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 ""
|
||||
"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 <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."
|
||||
|
|
Loading…
Reference in a new issue