DarwinNE / FidoCadJ

FidoCadJ is a free user-friendly vector graphic editor for MacOSX, Linux, Windows and Android with a library of electronic symbols.
http://darwinne.github.io/FidoCadJ/
GNU General Public License v3.0
109 stars 38 forks source link

Added German translations #187

Closed crud3 closed 4 years ago

crud3 commented 4 years ago

This PR is work in progress

Fixes #42

I am not sure about the text_hints, I think the English text may be wrong. If this is about Exponentiation, the proper terms are base and exponent, not index. See here. But I couldn't check the exact context of this string, so correct me if I'm wrong.

Also, the example seems incorrect in English. The last exponent (5^2) is not terminated. Is this on purpose? If not, it must be fixed in both German and English.

DarwinNE commented 4 years ago

The context is related to issue #71 on which I am currently working. I think the English text can be certainly improved. You don't need to terminate an exponent, that will not be an issue. The idea is that you can write things such as C_5 and 5 will be written with the 5 in a smaller font and slightly lowered with respect to the baseline.

Things like that are allowed: 2^3^4_×3^2 would yield:

image

Or 2_i,j_B^,t for:

image

Probably, much better terms can be superscripts and subscripts. So maybe this would be an improvement:

Use "_" to introduce an subscript or "^" to introduce a superscript. If needed, end with the opposite command, i.e. "^" to terminate a subscript and "_" to terminate a superscript. Type "__" to get a simple underline symbol "_" and "^^" to get a simple caret "^". For example: "3^2_+4^2_=5^2" or "C_12"

If you think of something better, I will be eager to improve it, that would be great!

crud3 commented 4 years ago

Ah okay, that makes sense then.

I like your subscript and superscript idea, I think that would be less ambigous than index. But that's probably a matter of taste.

I'll remove the WIP, so it could be merged.

crud3 commented 4 years ago

The German translation uses the terms "Basis" and "Exponent" from the classical exponentiation context. If that's not okay, I'll have to think of something else.

DarwinNE commented 4 years ago

Thank you! I will change the English descriptions to

Use "_" to introduce an subscript or "^" to introduce a superscript. If needed, end with the opposite command, i.e. "^" to terminate a subscript and "_" to terminate a superscript. Type "__" to get a simple underline symbol "_" and "^^" to get a simple caret "^". For example: "3^2_+4^2_=5^2" or "C_12"
DarwinNE commented 4 years ago

The German translation uses the terms "Basis" and "Exponent" from the classical exponentiation context. If that's not okay, I'll have to think of something else.

That will do for the moment. In the future, if you think that you can find better words, don't hesitate!

Thank you again!