b5a9eaec75
In general, we can make the translation task somewhat easier for translators, and less prone to error, if we remove non-language-specific newlines from the text strings to be translated. To do this we can in some cases simply drop newlines (e.g., in panic messages), or break multi-line text strings into several separate messages where that makes sense. For the most part we simply append the necessary trailing or intermediate newlines using the formatting tools available, especially those provided in the commands/commands.go file. Note that those tools (i.e., Print(), Exit(), etc.) always append a newline, but some messages are intended to have two final newlines, such as those from the "git lfs status" command. We also add a note to translators regarding some specific spacing required by a message output by the "git lfs dedup" command. |
||
---|---|---|
.. | ||
attribute.go | ||
config_test.go | ||
config.go | ||
diff_index_scanner.go | ||
extension.go | ||
gitfilter_clean.go | ||
gitfilter_smudge.go | ||
gitfilter.go | ||
gitscanner_catfilebatch.go | ||
gitscanner_catfilebatchcheck.go | ||
gitscanner_catfilebatchcheckscanner_test.go | ||
gitscanner_index.go | ||
gitscanner_log.go | ||
gitscanner_pointerscanner_test.go | ||
gitscanner_refs.go | ||
gitscanner_remotes.go | ||
gitscanner_tree.go | ||
gitscanner.go | ||
hook.go | ||
lfs_test.go | ||
lfs.go | ||
pointer_test.go | ||
pointer.go | ||
scanner_git_test.go | ||
scanner_test.go | ||
scanner.go | ||
util_generic.go | ||
util_test.go | ||
util.go |