Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Yea, I think that's what we are going to have to do here. If we don't
setup the directory for the .msg files early enough than we cannot do
translations through [mc]. Unfortunately that means we have to also
break up the library initialization.
I'll try to work up a patch that does this.
...
OK, that works well for me. Nice clean series to apply.
Some of these are internal errors that should never be presented to
an end-user, and some are for reflog entries. Here's a quick run
through of these:
D == internal error message (developer only)
R == reflog message
T == probably should be translated
D "Invalid arguments to git-version",
D "Last arm of $type $name must be default",
D "git-version >= x",
T "git-gui: fatal error",
T "Cannot move to top of working directory:\n\n$err",
D "error: no icon for $w state={$state} $path",
D "error: no desc for state={$state} $path",
T "Unstaging [short_path $path] from commit",
T "Adding [short_path $path]",
T "fatal: cannot stat path $path: No such file or directory",
T "Possible environment issues exist.[...]",
T "Loading$cur_s annotations...",
T "Loading annotation...",
T "Author:\t",
T "Committer:\t",
T "Original File:\t",
T "Originally By:\n",
T "In File: ",
T "Copied Or Moved Here By:\n",
T "fatal: Cannot resolve $l_trck",
R "branch: Created from $new_expr",
R "merge $new_expr: Fast-forward",
T "Updating working directory to '[_name $this]'...",
T "Checked out '$name'.",
D "class $class already declared",
D "wrong # args: field name value?",
D "class $class is sealed (cannot add new fields)",
D "field $name already declared",
D "wrong # args: method name args body (ifdeleted body)?",
D "make_toplevel topvar winvar {options}",
D "unsupported option $name",
T "Commit $PARENT appears to be corrupt",
T "warning: Tcl does not support encoding '$enc'.",
T "This repository currently has approximately [...]",
T "Loading diff of [escape_path $path]...",
T "Unable to display [escape_path $path]",
T "* Binary file (not showing content).",
T "Unable to display [escape_path $path]",
D "error: Unhandled 3 way diff marker: {$op}",
D "error: Unhandled 2 way diff marker: {$op}",
T "Unstaging [short_path $current_diff_path] from commit",
T "Adding [short_path $current_diff_path]", and
T "The following branches are not completely merged into [...]",
Messages that I marked as 'D' shouldn't ever be shown to an end-user
as they represent a Tcl error from incorrect usage of an internal
function. Translating these is fine but since it should never
appear unless there is a serious bug in git-gui its probably not
worth the translation effort.
Messages marked as 'R' appear in the reflog for the corresponding
branch, etc. These are not currently translated by core Git so I
am not sure if we should translate them in git-gui.
Messages marked as 'T' above are most definately shown to
the end-user and should be translated, or at least offered for
translation. I realize some terms have been kept in their English
form even after translation as there isn't a good way to translate
them into every language.
--
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html