Page MenuHomePhabricator

"create this page" link in pt-br message file broken
Closed, ResolvedPublic

Description

Author: logandark666

Description:
Hi. I'm configuring an internal wiki to my company, and I've found a bug: When I change the language to "portuguese"(We're from Brazil) in "my preferences", and I search for a page, if this page don't exist, the "create this page" link disappear. I have no problem to use it in english, but I don't know about the other employees.

Thank's for your attention!

Bruno

PS: The link upthere isn't the link of the wiki. As I said, the company wiki is internal(runs on intranet). It's my Blog(in portuguese) about technology.


Version: 1.11.x
Severity: trivial
URL: http://computerscience.terapad.com

Details

Reference
bz10313

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:54 PM
bzimport set Reference to bz10313.
bzimport added a subscriber: Unknown Object (MLST).

I assume you changed to 'pt-br'? There is a bug in the messagefile, parameter $1 is missing:

'noexactmatch' => 'Nenhum artigo com um título exatamente igual a este foi encontrado, tentando na pesquisa completa por texto.',

We can fix this bug if you can give us an appropriate translation.

For help, the 'pt' message is:

'noexactmatch' => "'''Não existe uma página com o título "$1".''' Você pode [[:\$1|criar tal página]].",

logandark666 wrote:

(In reply to comment #1)

I assume you changed to 'pt-br'? There is a bug in the messagefile, parameter
$1 is missing:

'noexactmatch' => 'Nenhum artigo com um título exatamente igual a
este foi encontrado, tentando na pesquisa completa por texto.',

We can fix this bug if you can give us an appropriate translation.

For help, the 'pt' message is:

'noexactmatch' => "'''Não existe uma página com o título "$1".'''
Você pode [[:\$1|criar tal página]].",

Hi Raimond. Yes, I changed the language to 'pt-br'. To fix it, you can keep the same message used in 'pt' language, because in this case, both phrases means the same.

Thank you for the help, and sorry for my terrible english! =P

ayg wrote:

Maybe we should periodically run checkLanguage.php on all the files to ensure no problems like this occur?

(In reply to comment #2)

Hi Raimond. Yes, I changed the language to 'pt-br'. To fix it, you can keep the
same message used in 'pt' language, because in this case, both phrases means
the same.

Fixed with r23106.

(In reply to comment #3)

Maybe we should periodically run checkLanguage.php on all the files to ensure
no problems like this occur?

This occurs, see [[meta:Localization statistics]]. But if nobody from the devs speak the language it's impossible to fix :-(

A lot of languages are badly maintained :-(