yeah that actually worked what did you do???
Beiträge von dawnkilla
-
-
well just try put the word "Συνδεση" in some button and check if it works
-
well i have no idea i almost tried everything is suppose this python files do not like greek letters
-
Sure thanks!
Try this
Add this to locale_interface.txt
If this doesnt work download this files a translate it how you want and test it
Well thanks for the effort but nothing changed the script dosent work and the file i donwloaded is also not possible to translate
Bitte melden Sie sich an, um diesen Link zu sehen.
-
Sure thanks!
-
well i have not defined it how do i do so?
Code- import uiScriptLocale
- ACCOUNT_MANAGER_START_X = 30
- ACCOUNT_MANAGER_X = 30
- ACCOUNT_MANAGER_Y = 12
- window = {
- "name": "LoginWindow",
- "sytle": ("movable",),
- "x": 0,
- "y": 0,
- "width": SCREEN_WIDTH,
- "height": SCREEN_HEIGHT,
- "children":
- (
- {
- "name": "BackGround",
- "type": "expanded_image",
- "x": 0,
- "y": 0,
- "image": "d:/ymir work/ui/intro/pattern/Line_Pattern.tga",
- "x_scale": float(SCREEN_WIDTH) / 800.0,
- "y_scale": float(SCREEN_HEIGHT) / 600.0,
- },
- {
- "name": "ConnectBoard",
- "type": "thinboard",
- "x": (SCREEN_WIDTH - 330) / 2,
- "y": SCREEN_HEIGHT - 290,
- "width": 330,
- "height": 50,
- "children":
- (
- {
- "name": "Channel1Button",
- "type": "radio_button",
- "x": 13,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 1",
- },
- {
- "name": "Channel2Button",
- "type": "radio_button",
- "x": 65,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 2",
- },
- {
- "name": "Channel3Button",
- "type": "radio_button",
- "x": 117,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 3",
- },
- {
- "name": "Channel4Button",
- "type": "radio_button",
- "x": 169,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 4",
- },
- {
- "name": "Channel5Button",
- "type": "radio_button",
- "x": 221,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 5",
- },
- {
- "name": "Channel6Button",
- "type": "radio_button",
- "x": 273,
- "y": 12,
- "default_image": "d:/ymir work/ui/public/small_button_01.sub",
- "over_image": "d:/ymir work/ui/public/small_button_02.sub",
- "down_image": "d:/ymir work/ui/public/small_button_03.sub",
- "text": "CH 6",
- },
- {
- "name": "Channel1Status",
- "type": "text",
- "x": 33,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- {
- "name": "Channel2Status",
- "type": "text",
- "x": 85,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- {
- "name": "Channel3Status",
- "type": "text",
- "x": 137,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- {
- "name": "Channel4Status",
- "type": "text",
- "x": 189,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- {
- "name": "Channel5Status",
- "type": "text",
- "x": 241,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- {
- "name": "Channel6Status",
- "type": "text",
- "x": 293,
- "y": 33,
- "text_horizontal_align": "center",
- "color": 4294281095L,
- "text": ".....",
- },
- ),
- },
- {
- "name": "LoginBoard",
- "type": "image",
- "x": (SCREEN_WIDTH - 215) / 2 - 1,
- "y": SCREEN_HEIGHT - 230,
- "image": "locale/tr/ui/login/login_interface.tga",
- "children":
- (
- {
- "name": "ID_EditLine",
- "type": "editline",
- "x": 77,
- "y": 18,
- "width": 300,
- "height": 300,
- "input_limit": 16,
- "enable_codepage": 0,
- "r": 1.0,
- "g": 1.0,
- "b": 1.0,
- "a": 1.0,
- },
- {
- "name": "Password_EditLine",
- "type": "editline",
- "x": 77,
- "y": 45,
- "width": 300,
- "height": 300,
- "input_limit": 16,
- "secret_flag": 1,
- "enable_codepage": 0,
- "r": 1.0,
- "g": 1.0,
- "b": 1.0,
- "a": 1.0,
- },
- {
- "name": "LoginSaveButton",
- "type": "button",
- "x": 10,
- "y": 68,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "Save Login",
- },
- {
- "name": "LoginButton",
- "type": "button",
- "x": 110,
- "y": 68,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "Login",
- },
- {
- "name": "AccountDeleteButton",
- "type": "button",
- "x": 10,
- "y": 90,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "Remove Account",
- },
- {
- "name": "AccountDeleteAbort",
- "type": "button",
- "x": 10,
- "y": 90,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "Abort Remove Account",
- },
- {
- "name": "LoginExitButton",
- "type": "button",
- "x": 110,
- "y": 90,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "Exit",
- },
- ),
- },
- {
- "name": "ChannelAccountManager",
- "type": "thinboard",
- "x": (SCREEN_WIDTH - 415) / 2,
- "y": SCREEN_HEIGHT - 100,
- "width": 415,
- "height": 43,
- "children":
- (
- {
- "name": "Acc1Login",
- "type": "button",
- "x": ACCOUNT_MANAGER_START_X,
- "y": ACCOUNT_MANAGER_Y,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "",
- },
- {
- "name": "Acc2Login",
- "type": "button",
- "x": ACCOUNT_MANAGER_X + ACCOUNT_MANAGER_START_X * 3,
- "y": ACCOUNT_MANAGER_Y,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "",
- },
- {
- "name": "Acc3Login",
- "type": "button",
- "x": ACCOUNT_MANAGER_X + ACCOUNT_MANAGER_START_X * 6,
- "y": ACCOUNT_MANAGER_Y,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "",
- },
- {
- "name": "Acc4Login",
- "type": "button",
- "x": ACCOUNT_MANAGER_X + ACCOUNT_MANAGER_START_X * 9,
- "y": ACCOUNT_MANAGER_Y,
- "default_image": "d:/ymir work/ui/public/large_button_01.sub",
- "over_image": "d:/ymir work/ui/public/large_button_02.sub",
- "down_image": "d:/ymir work/ui/public/large_button_03.sub",
- "text": "",
- },
- {
- "name": "Warning",
- "type": "text",
- "x": ACCOUNT_MANAGER_X + ACCOUNT_MANAGER_START_X * 6,
- "y": ACCOUNT_MANAGER_Y * 4,
- "text": "Hesap bilgileriniz client/accounts.ini dosyasýna kaydeder (?frelenmemiþ) bi?de tutulur.",
- "text_horizontal_align": "center",
- },
- ),
- },
- ),
- }
-
Thanks for the anwser but nazox suggested it already
Backup..
1 - create new file example.py
2 - convert ansi
3 - paste full code and script
4 - rename and save or replace
Enjoy
I tried it but nothing happened it stayed the same
Thanks for the anwser EnZi but when i try it my client not works anymore i just get this in the sysser
Code- 1022 11:05:01238 :: ============================================================================================================
- 1022 11:05:01238 :: Abort!!!!
- 1022 11:05:01239 ::
- introLogin.py(line:298) __LoadScript
- ui.py(line:6468) LoadScriptFile
- exception.py(line:54) Abort
- LoginWindow.__LoadScript.LoadObject - <type 'exceptions.SystemExit'>:
- 1022 11:05:01239 :: ============================================================================================================
- 1022 11:05:01239 :: Abort!!!!
-
Thanks for the anwser but nazox suggested it already
-
well you are right there is UI_DEF_FONT it was set to Tahoma i changed it but its still not readable
-
well i checked and i dont have something like a localeInfo.UI_DEF_FONT in my locale_game.txt i also checkd the localeinfo.py but nothing there
-
well i will try my best maybe also somebody else has some thoughts but thank you!
-
Yes i know what you mean but i tried every coding possible but it wont work maybe ansi has the spanish letters but not the greek
thats what i am looking actually this days if there is a option to import something like the greek letters
-
Thanks nazox for the answer i changed it to ansi but my client crashes after this and the text is not readable anymore.
The code looks like this in Utf-8
Bitte melden Sie sich an, um diesen Link zu sehen.Bitte melden Sie sich an, um diesen Link zu sehen.
And when i change to ansi
Bitte melden Sie sich an, um diesen Link zu sehen.And this is my syser
Bitte melden Sie sich an, um diesen Link zu sehen. -
Hey, und zwar wollte ich meinen Client übersetzen und was in kyrillischer Schrift schreiben das Problem ist nur der Text wird mir nicht richtig angezeigt es kommt nur so etwas wie "S??des?" das selbe passiert auch im Client. Ich habe auch schon versucht die Kodierung zu wechseln zu UTF-8 usw. das zeigt mir die Schrift dann in notepad++ an aber nicht im Client.
Hat da jemand einen plan??
-
Ich weiß ja nicht wie es euch geht aber wenn ich was in das Forum schreibe dann hab ich safe schon mehrmals gegoogelt und nichts dazu gefunden was mir hilft klar kann das sein ich vielleicht etwas zu schnell mit der Antwort gehandelt habe aber in dem moment wollte ich nur mein problem fixen... und ob ihr es glaubt oder nicht ich will keinen server eröffnen ich wollte erstmal etwas daran herumbasteln mal sehen was dabei raus kommt.. und wenn das Ergebnisses gut ist wurde ich es mir überlegen aber auf keinen Fall innerhalb der nächsten Monate weil mir die zeit dazu sowieso fehlt...
Und wenn ihr denkt ich will alles fertig bekommen dann antwortet bitte nicht das thema hat mir sowieso nicht wirklich geholfen außerdem hab ich meinen Server sowieso schon 10 mal gelöscht und wieder von Anfang an gemacht und hab das problem auch nicht mehr weil ich auf Freebsd 12 gegangen bin trotzdem wollte ich aber gerne wissen was die Losung dazu ist...
Aber trotzdem danke für eure Antworten ich hab auch keine lust mehr mich hier irgendwie zu rechtfertigen also ist das thema für mich erledigt.
Viel Erfolg weiterhin!
-
Das ich denn command update verwendet habe ist auch klar natürlich kam mir dann auch in den sin das davor zu benutzen man weiss ja nie ist aber auch egal.
Ich finde es einfach nur etwas traurig wie viel zeit man sich nimmt Creative antworten zu schreiben, anstatt einfach auf denn waren Fehler zu deuten der für Leute die sich länger damit befassen halt offensichtlich ist....
Außerdem ist es schon ziemlich krass wie viel Hass und Traurigkeit manche in sich tragen um in Forums zu dissen...
-
ach so ok sorry ja mein Fehler ich dachte das Forum ist für fragen und nicht für dumme antworten
-
Sorry aber ich hab wirklich keine ahnung was du meinst sonst wurde ich mich ja nicht ans forum wenden.....
-
kommt nur das zuruck.
root@host:~ # pkg update davor
Usage: pkg update [-fq] [-r reponame]
For more information, see 'pkg help update'.
root@host:~ #
-