You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by lmrv <gi...@git.apache.org> on 2016/12/23 19:55:28 UTC
[GitHub] cloudstack-docs-admin pull request #41: 50% of the doc strings are translate...
GitHub user lmrv opened a pull request:
https://github.com/apache/cloudstack-docs-admin/pull/41
50% of the doc strings are translated into French language
50% des chaines sont traduites en FR
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lmrv/cloudstack-docs-admin master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack-docs-admin/pull/41.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #41
----
commit 90ae7fbf97b86217bc4905ad51a4b8437f12b84d
Author: Antoine Le Morvan <an...@le-morvan.com>
Date: 2016-08-19T22:03:28Z
50% des chaines sont traduites en FR
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi @pdion891
Good news. It's nice that the build work fine.
I am waiting for your confirmation about the licence terms to modify my work.
Antoine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Also, I think we need to keep the `Makefile` with an empty `SPHINXOPS` So the default build will be for english version and RTD.org will detect the translation files and will do them automatically. from what I can see with the Chinese translation.
Please just fix those 2 things and it's a LGTM for me!
Thanks again!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
@lmrv , I've quickly reviewed the translated content. but I'm wondering why the `make.sh` file is removed?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
@lmrv I've extract the PR diff file from github, but there is no information about you in the git commis, you name and email address.
I think you just need to do follow:
```
git config --global user.name "your_name"
git config --global user.email "your_email@example.com"
```
Then you will need to amend all commits of the PR so it will be commit under your name, refer to : http://stackoverflow.com/questions/4981126/how-to-amend-several-commits-in-git-to-change-author seams good information.
ex: `git rebase -i YOUR_SHA -x "git commit --amend --reset-author -CHEAD"`
I can merge the PR as is but your name will not figure it the `git log`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi @lmrv, since the last commit, if I try to build the project in `fr` there is an issue with `virtual_machines.mo`:
I've run `make gettext` which worked fined but not sphinx-intl:
```
$ sphinx-intl build --locale-dir source/locale
Project name loaded from .tx/config: apache-cloudstack-administration-rtd
Build: source/locale/fr/LC_MESSAGES/networking_and_traffic.mo
Build: source/locale/fr/LC_MESSAGES/projects.mo
Build: source/locale/fr/LC_MESSAGES/networking2.mo
Build: source/locale/fr/LC_MESSAGES/troubleshooting.mo
Build: source/locale/fr/LC_MESSAGES/systemvm.mo
Build: source/locale/fr/LC_MESSAGES/hosts.mo
Build: source/locale/fr/LC_MESSAGES/ui.mo
Build: source/locale/fr/LC_MESSAGES/administration.mo
Build: source/locale/fr/LC_MESSAGES/virtual_machines.mo
Traceback (most recent call last):
File "/usr/local/bin/sphinx-intl", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/commands.py", line 247, in build
basic.build(locale_dir, output_dir, languages)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/basic.py", line 101, in build
cat = c.load_po(po_file)
File "/usr/local/lib/python2.7/dist-packages/sphinx_intl/catalog.py", line 17, in load_po
cat = pofile.read_po(f)
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 212, in read_po
_add_message()
File "/usr/lib/python2.7/dist-packages/babel/messages/pofile.py", line 165, in _add_message
catalog[msgid] = message
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 619, in __setitem__
self.mime_headers = _parse_header(message.string).items()
File "/usr/lib/python2.7/dist-packages/babel/messages/catalog.py", line 415, in _set_mime_headers
value, tzoffset, _ = re.split('([+-]\d{4})$', value, 1)
ValueError: need more than 1 value to unpack
```
Do you have the same behavior on your side?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi,
Licence terms are now modified.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
That's strange. I got this error :
locale/fr/LC_MESSAGES/virtual_machines.mo
Encoding error:
'utf-8' codec can't decode byte 0xf4 in position 1804: invalid continuation byte
The full traceback has been saved in /tmp/sphinx-err-hvqr7pdf.log, if you want to report the issue to the developers.
I found accentuate charactere in the file with bad interpretation.
I got an older version of this file, and everything is ok.
I will push this modification.
Antoine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin pull request #41: 50% of the doc strings are translate...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/cloudstack-docs-admin/pull/41
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
It should be ok now.
Antoine.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin pull request #41: 50% of the doc strings are translate...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on a diff in the pull request:
https://github.com/apache/cloudstack-docs-admin/pull/41#discussion_r98378667
--- Diff: source/locale/fr/LC_MESSAGES/virtual_machines.po ---
@@ -0,0 +1,2188 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: Apache CloudStack Administration RTD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2016-08-22 13:55+0200\n"
+"PO-Revision-Date: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: fr\n"
+"X-Generator: Poedit 1.8.11\n"
+
+#: ../../virtual_machines.rst:18
+msgid "Working with Virtual Machines"
+msgstr "Travailler avec les Machines Virtuelles"
+
+#: ../../virtual_machines.rst:21
+msgid "About Working with Virtual Machines"
+msgstr "A propos du travail avec les Machines Virtuelles"
+
+#: ../../virtual_machines.rst:23
+msgid ""
+"CloudStack provides administrators with complete control over the lifecycle of all "
+"guest VMs executing in the cloud. CloudStack provides several guest management "
+"operations for end users and administrators. VMs may be stopped, started, rebooted, "
+"and destroyed."
+msgstr ""
+"CloudStack fournit aux administrateurs le contr\ufffdle complet du cycle de vie de toutes "
+"les VM invit\ufffdes s'ex\ufffdcutant dans le cloud. CloudStack fournit plusieurs op\ufffdrations "
+"de gestion des invit\ufffds aux utilisateurs finaux et aux administrateurs. Les VM "
+"peuvent \ufffdtre arr\ufffdt\ufffdes, d\ufffdmarr\ufffdes, red\ufffdmarr\ufffdes et d\ufffdtruites."
+
+#: ../../virtual_machines.rst:28
+msgid ""
+"Guest VMs have a name and group. VM names and groups are opaque to CloudStack and "
+"are available for end users to organize their VMs. Each VM can have three names for "
+"use in different contexts. Only two of these names can be controlled by the user:"
+msgstr ""
+"Les VM invit\ufffdes ont un nom et un groupe. Les noms et groupes de VM sont opaques \ufffd "
+"CloudStack et sont disponibles pour que les utilisateurs finaux organisent leurs VM. "
+"Chaque VM peut avoir trois noms \ufffd utiliser dans diff\ufffdrents contextes. Seuls deux de "
+"ces noms peuvent \ufffdtre contr\ufffdl\ufffds par l'utilisateur :"
+
+#: ../../virtual_machines.rst:33
+msgid ""
+"Instance name \u2013 a unique, immutable ID that is generated by CloudStack and can not "
+"be modified by the user. This name conforms to the requirements in IETF RFC 1123."
+msgstr ""
+"Nom de l'instance - un ID unique et non modifiable qui est g\ufffdn\ufffdr\ufffd par CloudStack et "
+"ne peut pas \ufffdtre modifi\ufffd par l'utilisateur. Ce nom est conforme aux exigences de la "
+"RFC 1123 de l'IETF."
+
+#: ../../virtual_machines.rst:37
+msgid ""
+"Display name \u2013 the name displayed in the CloudStack web UI. Can be set by the user. "
+"Defaults to instance name."
+msgstr ""
+"Nom affich� - le nom affich� dans l'interface web CloudStack. Peut �tre fix� par "
+"l'utilisateur. Prend par d�faut le nom de l'instance."
+
+#: ../../virtual_machines.rst:40
+msgid ""
+"Name \u2013 host name that the DHCP server assigns to the VM. Can be set by the user. "
+"Defaults to instance name"
+msgstr ""
+"Nom - nom de machine que le serveur DHCP assigne � la VM. Peut �tre fix� par "
--- End diff --
@lmrv is it normal to see weird character such as these?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Thanks @asfgit for merging.
There is an "Permission Denied
You don't have the proper permissions to view this page. Please contact the owner of this project to request permission."
on http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/ website when asking for french pages.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Done !
I added make.sh and modifying the Makefile.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by lmrv <gi...@git.apache.org>.
Github user lmrv commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi @pdion891
You can merge like this.
Next time I will do better ;-).
Git drives me crazy as I add binaries files long time ago and I cannot rebase due to this...
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
Hi @lmrv, I've built the site in FR and reviewing the doc... So far I've only found a minor issue: header of .po files are improper, it should be the apache2 license.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
LGTM, I'll merge this PR this week...
Thanks a lot @lmrv for the translation !
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] cloudstack-docs-admin issue #41: 50% of the doc strings are translated into ...
Posted by pdion891 <gi...@git.apache.org>.
Github user pdion891 commented on the issue:
https://github.com/apache/cloudstack-docs-admin/pull/41
@rhtyd @swill @jburwell,
Does any of you would know if the header file is correct, for .po files?
I think the copyright line must be removed,
```
# SOME DESCRIPTIVE TITLE.
# Copyright (C)
# This file is distributed under the same license as the Apache CloudStack Administration Documentation package.
#
```
And should be replace by something like this:
```
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
```
Am I right or it's ok in the current state ?
Thanks,
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---