WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#4428 closed defect (bug) (wontfix)

In Manager Pages, Update time is not translated

Reported by: TheDarkness Owned by:
Milestone: Priority: lowest
Severity: trivial Version: 2.2.1
Component: Administration Keywords:
Focuses: Cc:

Description

in /wp-admin/edit.php , line 180 , have this:

<td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>

I propose change to:

<td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(__('Y-m-d g:i a')); ?></td>

the translate will work fine...

Change History (9)

#1 @TheDarkness
13 years ago

  • Milestone set to 2.2.1
  • Version set to 2.2.1

#2 @rob1n
13 years ago

It doesn't work now?

#3 @rob1n
13 years ago

  • Milestone changed from 2.2.1 to 2.2.2

#4 @nbachiyski
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in both 2.2 branch and trunk.

#5 follow-up: @foolswisdom
13 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

nbachiyski, sorry, I don't understand, neither of the changes TheDarkness recommends (remove br tag and s; though a patch would be much easier to review) are in http://trac.wordpress.org/browser/branches/2.2/wp-admin/edit.php

#6 @rob1n
13 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

I see no reason to change it.

#7 @Nazgul
13 years ago

  • Milestone 2.2.2 deleted

#8 in reply to: ↑ 5 ; follow-up: @thedarkness
13 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Replying to foolswisdom:

nbachiyski, sorry, I don't understand, neither of the changes TheDarkness recommends (remove br tag and s; though a patch would be much easier to review) are in http://trac.wordpress.org/browser/branches/2.2/wp-admin/edit.php

Is that... if apply a language to WP this column will not translated...

In my case, I use brazilian date (d/m/Y H:i)... and with 'br' tag in the middle it's not work here...

#9 in reply to: ↑ 8 @Nazgul
13 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

Replying to thedarkness:

In my case, I use brazilian date (d/m/Y H:i)... and with 'br' tag in the middle it's not work here...

I don't see any reason to change this as well. You don't have to 'translate' the <br>. Just leave it out in the translated string.

Note: See TracTickets for help on using tickets.