Diferencia entre revisiones de «Plantilla discusión:Tprice»

De Stardew Valley Wiki
Ir a la navegación Ir a la búsqueda
(Suggestions to improve!!!)
 
(good news/bad news)
Línea 12: Línea 12:
  
 
[[User:NachoComposer|NachoComposer]] ([[Usuario discusión:NachoComposer|discusión]]) 22:48:30 10 Feb 2023 (UTC -4)
 
[[User:NachoComposer|NachoComposer]] ([[Usuario discusión:NachoComposer|discusión]]) 22:48:30 10 Feb 2023 (UTC -4)
 +
 +
:Hello Nacho! I agree completely, and so did the first group of Spanish translators on the wiki. Unfortunately, as of mediawiki v1.21, the standard is to use a space instead of a dot. It's not easy to find the source for this decision, but I did find this: https://github.com/dantman/mediawiki-core/blob/master/HISTORY (under "Languages updated in 1.21" it says "(bug 34977) Now formatted numbers in Spanish use space as separator for thousands, as mandated by the Real Academia Española.")
 +
 +
:I searched the RAE website and found nothing. I google-searched for "mediawiki number format standards", and again found '''nothing''' (most frustrating!)
 +
 +
:If you refer to https://www.mediawiki.org/wiki/Help:Magic_words/es#Formato and then try it yourself, you will see that <code><nowiki>{{formatnum:1.000.000.000}}</nowiki></code> produces {{formatnum:1.000.000.000}} (not what we want). If we try <code><nowiki>{{formatnum:1000000000}}</nowiki></code>, we get {{formatnum:1000000000}}, and <code><nowiki>{{formatnum:1,000,000,000}}</nowiki></code> produces {{formatnum:1,000,000,000}}.
 +
 +
:If you switch to another language wiki, you'll see different results with the same code. German and Turkish use a dot, but French, Spanish, Italian, Russian, and Portuguese use a space. The other languages use a comma.
 +
 +
:I will keep searching for a solution, but I may not be able to change it.
 +
 +
:I do have some good news, though. In v1.6, the game will use "o" for "oro" instead of "G" for gold. I asked ConcernedApe personally for this change after our last discussion, and he agreed. So, the wiki will also use an "o" instead of ''nothing''.
 +
 +
:I hope this helps a little. 😬 [[Usuario:Margotbean|margotbean]] ([[Usuario discusión:Margotbean|discusión]]) 03:55 11 feb 2023 (UTC)

Revisión del 03:55 11 feb 2023

Esta página de discusión es para hablar sobre Plantilla:Tprice.
  • Pon firma y fecha de tus posts escribiendo 4 virgulillas (~~~~)
  • Pon los nuevos comentarios debajo del viejo
  • Se educado/a
  • Presume buena fe
  • No borres las conversaciones

Suggestions

Hello! I have noticed that the price is "separated" every time a price is set for a value of more than 4 digits. Such as "1 000" "12 000", etc.

I have asked some users and commented with them (Spanish speaking). And we have concluded that it is better to "join" the prices with a "." (which in the Spanish system is not a decimal. The character we use to determine a decimal is ","), resulting in a value of "1.000" "12.000" or "10.000.000".

It is much more pleasing to the "Spanish" eye to see a number in this way, rather than separated by a space (which, although the idea was correct, could be further improved).

Thank you very much!

NachoComposer (discusión) 22:48:30 10 Feb 2023 (UTC -4)

Hello Nacho! I agree completely, and so did the first group of Spanish translators on the wiki. Unfortunately, as of mediawiki v1.21, the standard is to use a space instead of a dot. It's not easy to find the source for this decision, but I did find this: https://github.com/dantman/mediawiki-core/blob/master/HISTORY (under "Languages updated in 1.21" it says "(bug 34977) Now formatted numbers in Spanish use space as separator for thousands, as mandated by the Real Academia Española.")
I searched the RAE website and found nothing. I google-searched for "mediawiki number format standards", and again found nothing (most frustrating!)
If you refer to https://www.mediawiki.org/wiki/Help:Magic_words/es#Formato and then try it yourself, you will see that {{formatnum:1.000.000.000}} produces 1,000,000,000 (not what we want). If we try {{formatnum:1000000000}}, we get 1 000 000 000, and {{formatnum:1,000,000,000}} produces 1 000 000 000.
If you switch to another language wiki, you'll see different results with the same code. German and Turkish use a dot, but French, Spanish, Italian, Russian, and Portuguese use a space. The other languages use a comma.
I will keep searching for a solution, but I may not be able to change it.
I do have some good news, though. In v1.6, the game will use "o" for "oro" instead of "G" for gold. I asked ConcernedApe personally for this change after our last discussion, and he agreed. So, the wiki will also use an "o" instead of nothing.
I hope this helps a little. 😬 margotbean (discusión) 03:55 11 feb 2023 (UTC)