Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
git-manpages-l10n
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yun hwak byeon
git-manpages-l10n
Commits
10881886
Commit
10881886
authored
6 years ago
by
Jean-Noël Avila
Browse files
Options
Downloads
Patches
Plain Diff
Add ignore-translated flag to automatic untranslated content
parent
ac482b0a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
po/documentation.de.po
+1010
-1002
1010 additions, 1002 deletions
po/documentation.de.po
po/documentation.fr.po
+1021
-1002
1021 additions, 1002 deletions
po/documentation.fr.po
scripts/pre-translate-po
+1
-0
1 addition, 0 deletions
scripts/pre-translate-po
with
2032 additions
and
2004 deletions
po/documentation.de.po
+
1010
−
1002
View file @
10881886
This diff is collapsed.
Click to expand it.
po/documentation.fr.po
+
1021
−
1002
View file @
10881886
This diff is collapsed.
Click to expand it.
scripts/pre-translate-po
+
1
−
0
View file @
10881886
...
...
@@ -12,6 +12,7 @@ def main (f):
or
re
.
fullmatch
(
r
'
((linkgit:)?git-[-a-z0-9[\]]+(\[1\]|\(1\))(\n| )?)+
'
,
entry
.
msgid
)
\
or
re
.
fullmatch
(
r
'
`[A-Z-_]+`|(core|branch|diff)\.[a-zA-Z]+
'
,
entry
.
msgid
):
entry
.
msgstr
=
entry
.
msgid
entry
.
flags
.
append
(
"
ignore-translated
"
)
if
'
fuzzy
'
in
entry
.
flags
:
entry
.
flags
.
remove
(
'
fuzzy
'
)
entry
.
previous_msgid
=
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment