Skip to content

Commit cdec483

Browse files
committed
filter-repo: use our own textdomain for translations
git.git wants to move more towards core-only rather than batteries included, and as such, filter-repo will not be part of the git distribution. Therefore, due to keeping the projects apart, there will need to be separate translation files (assuming filter-repo ever gains any translations) and as such we will need a different textdomain definition. Signed-off-by: Elijah Newren <[email protected]>
1 parent 71bb8d2 commit cdec483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-filter-repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def gettext_poison(msg):
6161
_ = gettext_poison
6262

6363
def setup_gettext():
64-
TEXTDOMAIN="git"
64+
TEXTDOMAIN="git-filter-repo"
6565
podir = os.environ.get("GIT_TEXTDOMAINDIR") or "@@LOCALEDIR@@"
6666
if not os.path.isdir(podir): # pragma: no cover
6767
podir = None # Python has its own fallback; use that

0 commit comments

Comments
 (0)