Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
87b95799
Commit
87b95799
authored
Apr 17, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d4d36dbb
af7d5a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
weblate/trans/checks.py
weblate/trans/checks.py
+6
-0
No files found.
weblate/trans/checks.py
View file @
87b95799
...
...
@@ -301,6 +301,12 @@ class EndStopCheck(Check):
def
check_single
(
self
,
source
,
target
,
flags
,
language
,
unit
):
if
len
(
source
)
==
1
and
len
(
target
)
==
1
:
return
False
if
self
.
is_language
(
language
,
[
'ja'
]):
# Japanese sentence might need to end with full stop
# in case it's used before list.
if
source
[
-
1
]
==
':'
:
return
self
.
check_chars
(
source
,
target
,
-
1
,
[
u':'
,
u':'
,
u'.'
,
u'。'
])
return
False
return
self
.
check_chars
(
source
,
target
,
-
1
,
[
u'.'
,
u'。'
,
u'।'
,
u'۔'
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment