funktechno/kanboard-plugin-wiki

Hardcoded text not translated

tamielbr opened this issue · 2 comments

This issue is:

  • Bug report
  • Feature request
  • Improvement

Actual behaviour

Some text is hardcoded and not in the localisation files.

Expected behaviour

Text should translate to target language for the application.

Steps to reproduce

Screenshots

Example:
screen shot 2018-08-28 at 10 59 56

Logs

Configuration

  • Kanboard version: 1.2.40
  • Database type and version: mysql/10.1.34-MariaDB
  • PHP version: 7.1.19
  • OS: mac
  • Browser: firefox/safari

Ok, I'll check on that, no big plans for updates for a month or so, welcome to make a pull request with the fix

This was a missing translation not hardcoded as it was using the translate function

t('New wikipage')

in create.php. I only support Portuguese translations, but I also made some changes to spanish. Release 0.2.6 has a placeholder for each language in locale now for New wikipage, but it's not translated into every language. I think for your particular language I've now added the translation. #14 .