[solved] Incomplete translations

ngosang
New member
 
Posts: 5
Joined: Sat Jan 17, 2015 22:34
GitHub: ngosang

[solved] Incomplete translations

by ngosang » Sat Jan 17, 2015 22:51

I have checked the translation file (minetest.po) for Spanish language and everything seem translated but in the game there are several incomplete translations. I'm playing stable 0.4.11 in Windows. The red boxes are text in English that should be in Spanish.
Image
Image
Image
Image
Image
Image
Last edited by ngosang on Wed Jan 21, 2015 02:08, edited 2 times in total.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Incomplete translations

by Krock » Sun Jan 18, 2015 08:31

Looks like something changed in the loading text, thus it doesn't translate anymore.

This translation file seems to be outdated:
https://github.com/minetest/minetest/bl ... inetest.po
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

ngosang
New member
 
Posts: 5
Joined: Sat Jan 17, 2015 22:34
GitHub: ngosang

Re: Incomplete translations

by ngosang » Sun Jan 18, 2015 13:29

I checked the translation file again and the translations are there:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Texturepacks"
msgstr "Paquete de texturas"

Shutting down.. is not, Shutting down stuff... instead.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Shutting down stuff..."
msgstr "Apagando cosas..."

Change keys it's with differente case.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "Change keys"
msgstr "Configurar Teclas"

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
msgid "You died."
msgstr "Has muerto."

The "None" word isn`t in the file.
 

ngosang
New member
 
Posts: 5
Joined: Sat Jan 17, 2015 22:34
GitHub: ngosang

Re: Incomplete translations

by ngosang » Sun Jan 18, 2015 13:56

I think te problem is in game.cpp. For example in the line 1054 the following code don't use the translation files.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
   std::string formspec =
      std::string(FORMSPEC_VERSION_STRING) +
      SIZE_TAG
      "bgcolor[#320000b4;true]"
      "label[4.85,1.35;You died.]"
      "button_exit[4,3;3,0.5;btn_respawn;" + gettext("Respawn") + "]"
      ;
 

ngosang
New member
 
Posts: 5
Joined: Sat Jan 17, 2015 22:34
GitHub: ngosang

Re: Incomplete translations

by ngosang » Mon Jan 19, 2015 19:40

I've fixed it myself. I'll upload the changes to GitHub in the next days.
 

User avatar
Linuxdirk
Member
 
Posts: 497
Joined: Wed Sep 17, 2014 11:21
GitHub: dsohler
In-game: Linuxdirk

Re: Incomplete translations

by Linuxdirk » Mon Jan 19, 2015 19:45

… at least you have working translations :(
 

ngosang
New member
 
Posts: 5
Joined: Sat Jan 17, 2015 22:34
GitHub: ngosang

Re: Incomplete translations

by ngosang » Wed Jan 21, 2015 02:07

I uploaded the changes in GitHub. Should work for other languages too.
https://github.com/minetest/minetest/pull/2169
https://github.com/minetest/minetest/co ... 21199878af

Problem solved.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 7 guests

cron