[#754] Translation of account/login.php tabs

Description

Summary:

Detailed description
When using an authentication plugin such as authcas for instance, the account/login.php page appears in several tabs, a one for the local account authentication and the others for the authentication plugins. These tabs have names that can not be translated into the current language of the user.<br />

<br /> I propose to format the name of the tabs in order to be able to use the gettext php function as for other translated messages in fusionforge.<br /> <br /> * In the file /usr/share/gforge/plugins/authcas/include/AuthCASPlugin.class.php, one may add the following line to the function displayAuthForm(&$params) :<br /> <br /> $this->text = _("CAS authentication");<br /> <br /> This may be done at the line 84 for instance. <br /> <br /> <br /> * In the file /usr/share/gforge/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php, one may add the following line to the function displayAuthForm(&$params) :<br /> <br /> $this->text = _("Built-in authentication");<br /> <br /> This may be done at the line 64 for instance.<br /> <br /> * The following lines could be added to fusionforge-5.3.fr.po in order to translate it accordingly in french for instance :<br /> <br />

: plugins/authbuiltin/common/AuthBuiltinPlugin.class.php:64<br />

msgid "Built-in authentication"<br /> msgstr "Authentification sur compte local"<br /> <br />

: plugins/authcas/include/AuthCASPlugin.class.php:84<br />

msgid "CAS authentication"<br /> msgstr "Authentification avec CAS"

General Information
Submitted by:
Arnaud Beaumont
Date Submitted: 2015-02-09 08:47
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2015-05-22 13:14
Permalink: https://fusionforge.org/tracker/a_follow.php/754
Actions
Internal Fields
Data Type: Bugs
Assigned to: Nobody (None)
State: Closed
Priority: 3
Extra Fields
Resolution:
Fixed
Severity:
minor
Target Release:
6.0
Follow-up tabs
Message  ↓
Date: 2015-06-04 09:34
Sender: Sylvain Beucler

This translation is marked as "fuzzy" and is not used (it will stay in English). It's meant to prepare close translations for the translator to review and possibly edit, see msgmerge(1) for details :)

To contribute, you download the French .po from translationproject.org, preferrably join the French team there (there's another person there who recently contributed to the FusionForge translation), edit the .po with POEdit or Emacs or any other PO editor, and you submit the .po by e-mail.

Cheers!

Date: 2015-06-04 09:17
Sender: Arnaud Beaumont

I consider contributing and I looked at the page you specified in your answer. I don't get how to contribute for the moment, but I saw that in the 6.0rc4 po file :

: plugins/authbuiltin/common/AuthBuiltinPlugin.class.php:38

, fuzzy

| msgid "CAS authentication"

msgid "Built-in authentication" msgstr "Authentification CAS"

I believe this is a very confusing typo and it should read as follows:

msgid "Built-in authentication" msgstr "Authentification sur compte local"

or something similar.

Arnaud

Date: 2015-05-22 13:14
Sender: Sylvain Beucler

CAS was already marked for translation. I just marked authbuiltin similarly : 6e341aadffdcd30803bdd662ba07f6bcc01f500f

The translation happens at https://translationproject.org/domain/fusionforge.html , feel free to contribute :)

No attached documents

No related commits.

Field Old Value Date By
detailsWhen using an authentication plugin such as authcas for instance, the account/login.php page appears in several tabs, a one for the local account authentication and the others for the authentication plugins. These tabs have names that can not be translated into the current language of the user. I propose to format the name of the tabs in order to be able to use the gettext php function as for other translated messages in fusionforge. * In the file /usr/share/gforge/plugins/authcas/include/AuthCASPlugin.class.php, one may add the following line to the function displayAuthForm(&$params) : $this->text = _("CAS authentication"); This may be done at the line 84 for instance. * In the file /usr/share/gforge/plugins/authbuiltin/common/AuthBuiltinPlugin.class.php, one may add the following line to the function displayAuthForm(&$params) : $this->text = _("Built-in authentication"); This may be done at the line 64 for instance. * The following lines could be added to fusionforge-5.3.fr.po in order to translate it accordingly in french for instance : #: plugins/authbuiltin/common/AuthBuiltinPlugin.class.php:64 msgid "Built-in authentication" msgstr "Authentification sur compte local" #: plugins/authcas/include/AuthCASPlugin.class.php:84 msgid "CAS authentication" msgstr "Authentification avec CAS"2015-06-04 09:34
Sylvain Beucler
status_idOpen2015-05-22 13:14
Sylvain Beucler
close_dateNone2015-05-22 13:14
Sylvain Beucler
Target Release5.3.32015-05-22 13:14
Sylvain Beucler
ResolutionWorks For Me2015-05-22 13:14
Sylvain Beucler

No relations found.