Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#36051 closed defect (bug) (invalid)

Error translate on wp-login.php

Reported by: Xam1311 Owned by:
Priority: normal Milestone:
Component: Login and Registration Version:
Severity: normal Keywords:
Cc: Focuses: ui

Description

There is two slots where the sentence Username or email are not translate :

<?php
<label for="user_login"><?php _e('Username or Email') ?><br />

You should have

<?php
<label for="user_login"><?php _e('Username or Email:') ?><br />

Line 532 et 891

Attachments (1)

wp-login.php​ (33.0 KB ) - added by Xam1311 11 years ago.
File wp-login.php corrected

Download all attachments as: .zip

Change History (11)

#1 follow-up: @ocean90
11 years ago

  • Keywords reporter-feedback added

Hello @Xam1311, welcome to Trac!

What do you mean by "are not translate"?

Related: [36617]

#2 follow-up: @Xam1311
11 years ago

Easy, i've the correct po/mo in languages for french, all the sentences are in french except this one on the login page and the recover password step.
The sentence stay with User or email instead being in "Identifiant ou adresse de messagerie&nbsp;:"
++

@Xam1311
11 years ago

File wp-login.php corrected

#3 @Xam1311
11 years ago

  • Keywords has-patch added
  • Resolution → invalid
  • Status new → closed

For me the resolution is ok, if you add the ":" on the two lines

Last edited 11 years ago by Xam1311 (previous) (diff)

#4 in reply to: ↑ 1 @Xam1311
11 years ago

  • Resolution invalid
  • Status closed → reopened

Replying to ocean90:

Hello @Xam1311, welcome to Trac!

What do you mean by "are not translate"?

Related: [36617]

Sorry i've closed the ticket by error in fact it's just a small patch :D
++

#5 follow-up: @ocean90
11 years ago

  • Keywords reporter-feedback has-patch removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status reopened → closed

There is nothing wrong with the label and it's translated in French, see ​https://translate.wordpress.org/projects/wp/4.4.x/fr/default?filters[status]=either&filters[original_id]=2352496&sort[by]=translation_date_added&sort[how]=asc.

In WordPress 4.5 you'll be able to log in with your email address too, so the password reset form and the login form will have the same label.

#6 in reply to: ↑ 2 @SergeyBiryukov
11 years ago

Replying to Xam1311:

Easy, i've the correct po/mo in languages for french, all the sentences are in french except this one on the login page and the recover password step.

Where did the po/mo files come from? Make sure they're up-to-date and for the same version of WordPress that you have installed.

#7 in reply to: ↑ 5 @Xam1311
11 years ago

  • Resolution invalid
  • Status closed → reopened

Replying to ocean90:

There is nothing wrong with the label and it's translated in French, see ​https://translate.wordpress.org/projects/wp/4.4.x/fr/default?filters[status]=either&filters[original_id]=2352496&sort[by]=translation_date_added&sort[how]=asc.

In WordPress 4.5 you'll be able to log in with your email address too, so the password reset form and the login form will have the same label.

Please the problem is not in the tranlation in french, the problem is that the key for call the tranlation is not correct for have the translation in french ( and the other languages)
The mo/po was download automatically when i start my installation in my developpement stack, the wordpress was download on your github on the master branc ( 4.5-beta1-36797)
Open ​https://github.com/WordPress/WordPress/blob/master/wp-login.php and see lines 532 and 891 The ":" is missing, so the the translate can't work.

#8 follow-up: @ocean90
11 years ago

  • Resolution → invalid
  • Status reopened → closed
  • Version 4.4.2

4.5 is still in development and there is no new language pack for 4.5 yet. WordPress is loading an older pack which means that not all strings will be translated.

#9 in reply to: ↑ 8 ; follow-up: @Xam1311
11 years ago

Replying to ocean90:

4.5 is still in development and there is no new language pack for 4.5 yet. WordPress is loading an older pack which means that not all strings will be translated.

Ok so it's not a bug/error all the new Languages packages 4.5 will have not the ":" on this sentence, right ?
Ps: when we clone your github on the master branch, we don't know that we have a dev version
Pps: github is useless in that case ( create a branch dev i will help...)

#10 in reply to: ↑ 9 @SergeyBiryukov
11 years ago

Replying to Xam1311:

Ok so it's not a bug/error all the new Languages packages 4.5 will have not the ":" on this sentence, right ?

Correct. New or changed strings go from code to language packs, not vice versa.

Last edited 11 years ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.