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
0ef6a727
Commit
0ef6a727
authored
Sep 12, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new Makefile step "merge" and document it.
parent
9734ccde
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
Makefile
Makefile
+4
-0
docs/source/index.rst
docs/source/index.rst
+7
-1
No files found.
Makefile
View file @
0ef6a727
...
...
@@ -37,6 +37,10 @@ help:
pot
:
xgettext
--keyword
=
__
--keyword
=
___
--from-code
=
UTF-8
--output
=
locale/converse.pot converse.js
--package-name
=
Converse.js
--copyright-holder
=
"Jan-Carel Brand"
--package-version
=
0.4
-c
--language
=
"python"
;
merge
:
find ./locale
-maxdepth
1
-mindepth
1
-type
d
-exec
msgmerge
{}
/LC_MESSAGES/converse.po ./locale/converse.pot
-U
\;
release
:
r.js
-o
build.js
...
...
docs/source/index.rst
View file @
0ef6a727
...
...
@@ -604,7 +604,13 @@ You can then create or update the PO file for a specific language by doing the f
msgmerge ./locale/de/LC_MESSAGES/converse.po ./locale/converse.pot -U
This PO file is then what gets translated.
To do this for ALL languages, run:
::
make merge
The resulting PO file is then what gets translated.
If you've created a new PO file, please make sure to add the following
attributes at the top of the file (under *Content-Transfer-Encoding*). They are
...
...
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