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
02bcc0ad
Commit
02bcc0ad
authored
Nov 05, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix links to check docs
parent
6d2ef5ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
docs/usage.rst
docs/usage.rst
+14
-14
weblate/trans/checks.py
weblate/trans/checks.py
+1
-1
No files found.
docs/usage.rst
View file @
02bcc0ad
...
...
@@ -175,21 +175,21 @@ The source and translated strings are same at least in one of plural forms.
This checks ignores some strings which are quite usually same in all
languages.
.. _check-begin
_
newline:
.. _check-begin
-
newline:
Starting newline
~~~~~~~~~~~~~~~~
Source and translated do not both start with a newline.
.. _check-end
_
newline:
.. _check-end
-
newline:
Trailing newline
~~~~~~~~~~~~~~~~
Source and translated do not both end with a newline.
.. _check-begin
_
space:
.. _check-begin
-
space:
Starting spaces
~~~~~~~~~~~~~~~
...
...
@@ -198,14 +198,14 @@ Source and translation do not both start with same number of spaces. Space in
beginning is usually used for indentation in the interface and thus is
important.
.. _check-end
_
space:
.. _check-end
-
space:
Trailing space
~~~~~~~~~~~~~~
Source and translated do not both end with a space.
.. _check-end
_
stop:
.. _check-end
-
stop:
Trailing stop
~~~~~~~~~~~~~
...
...
@@ -213,7 +213,7 @@ Trailing stop
Source and translated do not both end with a full stop. Full stop is also
checked in various language variants (Chinese, Japanese, Devanagari or Urdu).
.. _check-end
_
colon:
.. _check-end
-
colon:
Trailing colon
~~~~~~~~~~~~~~
...
...
@@ -222,7 +222,7 @@ Source and translated do not both end with a colon or colon is not correctly
spaced. This includes spacing rules for French or Breton. Colon is also
checked in various language variants (Chinese or Japanese).
.. _check-end
_
question:
.. _check-end
-
question:
Trailing question
~~~~~~~~~~~~~~~~~
...
...
@@ -232,7 +232,7 @@ correctly spaced. This includes spacing rules for French or Breton. Question
mark is also checked in various language variants (Armenian, Arabic, Chinese,
Korean, Japanese, Ethiopic, Vai or Coptic).
.. _check-end
_
exclamation:
.. _check-end
-
exclamation:
Trailing exclamation
~~~~~~~~~~~~~~~~~~~~
...
...
@@ -242,7 +242,7 @@ correctly spaced. This includes spacing rules for French or Breton.
Exclamation mark is also check in various langauge variants (Chinese,
Japanese, Korean, Armenian, Limbu, Myanmar or Nko).
.. _check-end
_
ellipsis:
.. _check-end
-
ellipsis:
Trailing ellipsis
~~~~~~~~~~~~~~~~
...
...
@@ -250,21 +250,21 @@ Trailing ellipsis
Source and translation do not both end with an ellipsis. This only checks for
real ellipsis (`\u2026`) not for three commas (`...`).
.. _check-python
_
format:
.. _check-python
-
format:
Python format
~~~~~~~~~~~~~
Python format string does not match source.
.. _check-php
_
format:
.. _check-php
-
format:
PHP format
~~~~~~~~~~
PHP format string does not match source.
.. _check-c
_
format:
.. _check-c
-
format:
C format
~~~~~~~~
...
...
@@ -295,7 +295,7 @@ Invalid text direction
Text direction can be either ``LTR`` or ``RTL``.
.. _check-escaped
_
newline:
.. _check-escaped
-
newline:
Mismatched \\n
~~~~~~~~~~~~~~
...
...
@@ -311,7 +311,7 @@ Mismatched BBcode
BBcode in translation does not match source. The method for detecting BBcode is
currently quite simple.
.. _check-optional
_
plural:
.. _check-optional
-
plural:
Source checks
+++++++++++++
...
...
weblate/trans/checks.py
View file @
02bcc0ad
...
...
@@ -238,7 +238,7 @@ class Check(object):
'''
Returns link to documentation.
'''
return weblate.get_doc_url('
usage
', '
check
-%
s
' % self.check_id)
return weblate.get_doc_url('
usage
', '
check
-%
s
' % self.check_id
.replace('
_
', '
-
')
)
class TargetCheck(Check):
'''
...
...
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