git-lfs/lfs
Chris Darroch b5a9eaec75 commands,lfs*: remove most newlines from messages
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.
2022-01-29 22:32:58 -08:00
..
attribute.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
config_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
config.go Set package version to v3 2021-09-02 20:41:08 +00:00
diff_index_scanner.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
extension.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
gitfilter_clean.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitfilter_smudge.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
gitfilter.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_catfilebatch.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00
gitscanner_catfilebatchcheck.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00
gitscanner_catfilebatchcheckscanner_test.go lfs: teach gitscanner how to emit lockable files that aren't lfs objects 2017-02-16 16:52:40 -07:00
gitscanner_index.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_log.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00
gitscanner_pointerscanner_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_refs.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_remotes.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_tree.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00
gitscanner.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00
hook.go commands,lfs*: remove most newlines from messages 2022-01-29 22:32:58 -08:00
lfs_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
lfs.go Set package version to v3 2021-09-02 20:41:08 +00:00
pointer_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
pointer.go lfs/pointer.go: uppercase LFS in messages 2022-01-29 22:30:22 -08:00
scanner_git_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
scanner_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
scanner.go Set package version to v3 2021-09-02 20:41:08 +00:00
util_generic.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
util.go lfs: make strings translatable 2022-01-18 17:05:02 +00:00