X-Git-Url: https://git.tokkee.org/?p=git.git;a=blobdiff_plain;f=Documentation%2FCodingGuidelines;h=483008699f923be17926e8ed938ae17868f6ddf5;hp=fe1c1e5bc26e683540cb9fe5f43320192be9185d;hb=v1.7.8-rc2-1-g5e9637c;hpb=bc1bbe0c19a6ff39522b4fa3259f34150e308e1f diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index fe1c1e5bc..483008699 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -81,6 +81,10 @@ For shell scripts specifically (not exhaustive): are ERE elements not BRE (note that \? and \+ are not even part of BRE -- making them accessible from BRE is a GNU extension). + - Use Git's gettext wrappers in git-sh-i18n to make the user + interface translatable. See "Marking strings for translation" in + po/README. + For C programs: - We use tabs to indent, and interpret tabs as taking up to @@ -144,6 +148,9 @@ For C programs: - When we pass pair to functions, we should try to pass them in that order. + - Use Git's gettext wrappers to make the user interface + translatable. See "Marking strings for translation" in po/README. + Writing Documentation: Every user-visible change should be reflected in the documentation.