diff --git a/XaoS.qrc b/XaoS.qrc index 4a964049..d6ef19ff 100644 --- a/XaoS.qrc +++ b/XaoS.qrc @@ -4,10 +4,11 @@ i18n/XaoS_de.qm i18n/XaoS_es.qm i18n/XaoS_fr.qm + i18n/XaoS_he.qm i18n/XaoS_hi.qm i18n/XaoS_hu.qm - i18n/XaoS_it.qm i18n/XaoS_is.qm + i18n/XaoS_it.qm i18n/XaoS_pt.qm i18n/XaoS_ro.qm i18n/XaoS_ru.qm diff --git a/i18n/XaoS_he.ts b/i18n/XaoS_he.ts new file mode 100644 index 00000000..003cb974 --- /dev/null +++ b/i18n/XaoS_he.ts @@ -0,0 +1,1819 @@ + + + + + Dialog + + + Perturbation: + + + + + Julia-seed: + + + + + Morphing type: + + + + + Startuptime: + + + + + Stoptime: + + + + + Files to render: + + + + + + Basename: + + + + + + Width: + + + + + + Height: + + + + + + Pixel width (cm): + + + + + + Pixel height (cm): + + + + + Framerate: + + + + + + Image type: + + + + + + Antialiasing: + + + + + Always recalculate: + + + + + Center: + + + + + Radius: + + + + + + Angle: + + + + + Mode: + + + + + Start: + + + + + End: + + + + + + Color: + + + + + Rotations per second: + + + + + Letters per second: + + + + + Iterations: + + + + + Text: + + + + + Your command: + + + + + + + + + Filename: + + + + + Formula: + + + + + X center: + + + + + Y center: + + + + + X Radius: + + + + + Y Radius: + + + + + Coordinates: + + + + + continuous rotation + + + + + Fast rotation + + + + + filter + + + + + enable + + + + + Amount: + + + + + Zooming speed: + + + + + Name: + + + + + Bailout: + + + + + Threads: + + + + + Julia mode: + + + + + Horizontal position: + + + + + Vertical position: + + + + + Dynamic resolution: + + + + + Time: + + + + + + Number: + + + + + Algorithm number: + + + + + Seed: + + + + + Shift: + + + + + Load Palette Config + + + + + Save Palette Config + + + + + Frames per second: + + + + + Formula + + + + + Initialization: + + + + + Error + + + + renderanim: Width parameter must be positive integer in the range 0..4096 + + + + + + renderanim: Height parameter must be positive integer in the range 0..4096 + + + + + + renderanim: Invalid real width and height dimensions + + + + + renderanim: invalid framerate + + + + + + renderanim: antialiasing not supported in 256 color mode + + + + + + animateview: Invalid viewpoint + + + + + Invalid viewpoint + + + + + + Unknown palette type + + + + + + Initialization of color cycling failed. + + + + + + Try to enable palette emulation filter + + + + + Algorithm:%i seed:%i size:%i + + + + + line available only in animation replay + + + + + Morphing non existing line! + + + + + linekey not available in this context! + + + + + clear_line available only in animation replay + + + + + clear_lines available only in animation replay + + + + + Catalog file not found + + + + + Replay is already active + + + + + File open failed + + + + + Out of memory + + + + + + + + Missing parameter + + + + + + + + Unexpected end of file + + + + + + Token is too long + + + + + Unknown formula type + + + + + morph available only in animation replay + + + + + morphview: Invalid viewpoint + + + + + move available only in animation replay + + + + + morphjulia available only in animation replay + + + + + morphangle available only in animation replay + + + + + Unknown filter + + + + + sleep available only in animation replay + + + + + Internal program error #12 %i + + + + + + wait available only in animation replay + + + + + No catalog file loaded + + + + + Message not found in catalog file + + + + + load available only in animation replay + + + + + Include level overflow + + + + + File not found + + + + + Too many parameters + + + + + Error: %s + + + + + Cannot create palette + + + + + Cannot create image + + + + + + Cannot create checking buffer! + + + + + + Cannot create context + + + + + + Cannot open animation file + + + + + + + Calculation interrupted + + + + + + Calculation finished + + + + + Tutorial files not found. Reinstall XaoS + + + + + Could not open examples + + + + + Could not open image + + + + + Can not create palette + + + + + + + XaoS is out of memory. + + + + + Can not create image + + + + + Can not allocate tables + + + + + Menu + + + Root menu + + + + + Animation root menu + + + + + Replay only commands + + + + + Line drawing functions + + + + + Line + + + + + Morph line + + + + + Morph last line + + + + + Set line key + + + + + Clear line + + + + + Clear all lines + + + + + Animation functions + + + + + + + + + View + + + + + Morph view + + + + + Morph julia + + + + + Move view + + + + + Morph angle + + + + + Zoom center + + + + + Zoom + + + + + Un-zoom + + + + + Stop zooming + + + + + Smooth morphing parameters + + + + + Timing functions + + + + + Usleep + + + + + Wait for text + + + + + Wait for complete image + + + + + Include file + + + + + + Default palette + + + + + Formula + + + + + Maximal zooming step + + + + + Zooming speedup + + + + + Filter + + + + + + Letters per second + + + + + + Interrupt + + + + + + Status + + + + + + Ministatus + + + + + + Cartesian Grid + + + + + + File + + + + + Edit + + + + + Fractal + + + + + Calculation + + + + + + Filters + + + + + Action + + + + + + + Help + + + + + Tutorials + + + + + Stop replay + + + + + Command + + + + + Play string + + + + + Clear screen + + + + + Display fractal + + + + + Display text + + + + + Text color + + + + + Horizontal text position + + + + + Vertical text position + + + + + Text position + + + + + Message + + + + + New + + + + + Open + + + + + Save + + + + + Save as + + + + + PNG + + + + + Record + + + + + Replay + + + + + Render + + + + + Render Image + + + + + Load random example + + + + + Save configuration + + + + + Undo + + + + + Redo + + + + + Formulae + + + + + More formulae + + + + + User formula + + + + + User initialization + + + + + Incoloring mode + + + + + Outcoloring mode + + + + + Plane + + + + + Palette + + + + + Mandelbrot mode + + + + + Julia mode + + + + + Fast julia mode + + + + + Rotation + + + + + Set angle + + + + + Set plane + + + + + Inside coloring mode + + + + + Outside coloring mode + + + + + Inside truecolor coloring mode + + + + + Outside truecolor coloring mode + + + + + Julia seed + + + + + Random palette + + + + + + Custom palette + + + + + Palette Colors + + + + + Palette Editor + + + + + Load Palette Config + + + + + Save Palette Config + + + + + Color cycling + + + + + Reversed color cycling + + + + + Color cycling speed + + + + + Shift palette + + + + + Shift one forward + + + + + Shift one backward + + + + + Solid guessing + + + + + Disable solid guessing + + + + + Guess 2x2 rectangles + + + + + Guess 3x3 rectangles + + + + + Guess 4x4 rectangles + + + + + Guess 5x5 rectangles + + + + + Guess 6x6 rectangles + + + + + Guess 7x7 rectangles + + + + + Guess 8x8 rectangles + + + + + Guess unlimited rectangles + + + + + Dynamic resolution + + + + + Periodicity checking + + + + + Threads + + + + + Iterations + + + + + Bailout + + + + + + + Perturbation + + + + + Zooming speed + + + + + Fixed step + + + + + Solid guessing range + + + + + Disable rotation + + + + + Continuous rotation + + + + + Rotate by mouse + + + + + Rotation speed + + + + + Automatic rotation + + + + + Fast rotation mode + + + + + Recalculate + + + + + Disable dynamic resolution + + + + + Use only during animation + + + + + Use also for new images + + + + + Dynamic resolution mode + + + + + Autopilot + + + + + Hide Messages + + + + + An introduction to fractals + + + + + XaoS features overview + + + + + Math behind fractals + + + + + + Other fractal types in XaoS + + + + + What's new? + + + + + + Whole story + + + + + Introduction + + + + + Mandelbrot set + + + + + Julia set + + + + + Higher power Mandelbrots + + + + + Newton's method + + + + + Barnsley's formula + + + + + Phoenix + + + + + Octo + + + + + Magnet + + + + + All features + + + + + Outcoloring modes + + + + + Incoloring modes + + + + + True-color coloring modes + + + + + Planes + + + + + Animations and position files + + + + + Random palettes + + + + + Other noteworthy features + + + + + The definition and fractal dimension + + + + + Escape time fractals + + + + + Triceratops and Catseye fractals + + + + + Mandelbar, Lambda, Manowar and Spider + + + + + Sierpinski Gasket, S.Carpet, Koch Snowflake + + + + + What's new in 3.0? + + + + + What's new in 4.0? + + + + + + About + + + + + Quit + + + + + + Message Font... + + + + + Set Language + + + + + System default + + + + + + Fullscreen + + + + + Info on current fractal + + + + + Send Feedback + + + + + Get Updates + + + + + User Forum + + + + + Message + + + + Boundary trace + + + + + Solid guessing 1 + + + + + Solid guessing + + + + + Out of memory + + + + + Unbalanced parentheses + + + + + Unknown function: %s + + + + + Invalid number: %s + + + + + Unknown variable: %s + + + + + Invalid operator: %s + + + + + Internal error occurred in formula: %s + + + + + Function has incorrect parameter count: %s + + + + + Empty formula + + + + + XaoS must restart to change the thread count. + + + + + + Do you want to quit now? + + + + + File %s opened. + + + + + + + + File %s saved. + + + + + Replay disabled at line %i + + + + + Initializing + + + + + + Loading catalogs + + + + + Processing command line options + + + + + Enabling animation replay + + + + + + + + Entering calculation loop! + + + + + Rendering frame %i... + + + + + Linking frame %i to %i... + + + + + Calculation finished + + + + + Preparing first image + + + + + + + File %s loaded. + + + + + Saving image... + + + + + Save interrupted + + + + + Can not open file + + + + + Recording to file %s enabled. + + + + + %s %.2f times (%.1fE) %2.2f frames/sec %c %i %i %i %u + + + + + unzoomed + + + + + zoomed + + + + + framerate:%f + + + + + + Fractal name:%s + + + + + Fractal type:%s + + + + + Mandelbrot + + + + + Julia + + + + + Formula:%s + + + + + View:[%1.12f,%1.12f] + + + + + size:[%1.12f,%1.12f] + + + + + Rotation:%4.2f Screen size:%i:%i + + + + + Iterations:%-4u Palette size:%i + + + + + Bailout:%4.2f + + + + + Autopilot:%-4s Plane:%s + + + + + On + + + + + Off + + + + + incoloring:%s outcoloring:%s + + + + + zoomspeed:%f + + + + + Parameter:none + + + + + Parameter:[%f,%f] + + + + + Thank you for using XaoS + + + + + + XaoS must restart to change the language. + + + + + Enabling: %s. + + + + + Disabling: %s. + + + + + Skipping, please wait... + + + + + Letters per second %i + + + + + Rotation speed:%2.2f degrees per second + + + + + Iterations: %i + + + + + Cycling speed: %i + + + + + speed:%2.2f + + + + + Please wait while calculating %s + + + + + Welcome to XaoS version %s + + + + diff --git a/i18n/i18n.pri b/i18n/i18n.pri index e6c92c7b..3be1f22c 100644 --- a/i18n/i18n.pri +++ b/i18n/i18n.pri @@ -3,6 +3,7 @@ TRANSLATIONS = \ $$PWD/XaoS_de.ts \ $$PWD/XaoS_es.ts \ $$PWD/XaoS_fr.ts \ + $$PWD/XaoS_he.ts \ $$PWD/XaoS_hi.ts \ $$PWD/XaoS_hu.ts \ $$PWD/XaoS_is.ts \ diff --git a/src/include/ui_helper.h b/src/include/ui_helper.h index 663a541e..c6b6e5d2 100644 --- a/src/include/ui_helper.h +++ b/src/include/ui_helper.h @@ -1,4 +1,4 @@ -#ifndef UI_HELPER_H +#ifndef UI_HELPER_H #define UI_HELPER_H #include "timers.h" #include "xio.h" @@ -313,17 +313,18 @@ typedef struct uih_context uih_context; #define UIH_LANG_EN 2 #define UIH_LANG_FR 3 #define UIH_LANG_DE 4 -#define UIH_LANG_HI 5 -#define UIH_LANG_HU 6 -#define UIH_LANG_IS 7 -#define UIH_LANG_IT 8 -#define UIH_LANG_PT 9 -#define UIH_LANG_RO 10 -#define UIH_LANG_RU 11 -#define UIH_LANG_RS 12 -#define UIH_LANG_ES 13 -#define UIH_LANG_SV 14 -#define UIH_LANG_VI 15 +#define UIH_LANG_HE 5 +#define UIH_LANG_HI 6 +#define UIH_LANG_HU 7 +#define UIH_LANG_IS 8 +#define UIH_LANG_IT 9 +#define UIH_LANG_PT 10 +#define UIH_LANG_RO 11 +#define UIH_LANG_RU 12 +#define UIH_LANG_RS 13 +#define UIH_LANG_ES 14 +#define UIH_LANG_SV 15 +#define UIH_LANG_VI 16 #define RANDOM_PALETTE_SIZE 1 #define FULLSCREEN 2 diff --git a/src/ui/main.cpp b/src/ui/main.cpp index 0334b422..daa239ec 100644 --- a/src/ui/main.cpp +++ b/src/ui/main.cpp @@ -1,4 +1,4 @@ -/* +/* * XaoS, a fast portable realtime fractal zoomer * Copyright (C) 1996 by * @@ -394,7 +394,7 @@ static int ui_fullscreenselected(struct uih_context *uih) #endif /* WARNING: Increase this number in case there are new menu items added. */ -#define MAX_MENUITEMS_I18N 33 +#define MAX_MENUITEMS_I18N 34 /* These variables must be global: */ static menuitem *menuitems; static menuitem menuitems_i18n[MAX_MENUITEMS_I18N]; @@ -415,10 +415,10 @@ char languageSetting[6] = ""; bool languageSysDefault = true; // please keep the languages in the same order const char *languages1[] = { - "__", "cs", "en", "fr", "de", "hi", "hu", "is", "it", "pt", "ro", "ru", "rs", "es", "sv", "vi" + "__", "cs", "en", "fr", "de", "he", "hi", "hu", "is", "it", "pt", "ro", "ru", "rs", "es", "sv", "vi" }; const char *languages2[] = { - "_____", "cs_CZ", "en_US", "fr_FR", "de_DE", "hi_HI", "hu_HU", "is_IS", "it_IT", "pt_PT", "ro_RO", "ru_RU", "rs_RS", "es_ES", "sv_SV", "vi_VN" + "_____", "cs_CZ", "en_US", "fr_FR", "de_DE", "he_IL", "hi_HI", "hu_HU", "is_IS", "it_IT", "pt_PT", "ro_RO", "ru_RU", "rs_RS", "es_ES", "sv_SV", "vi_VN" }; const char *lang1(int i) { @@ -496,6 +496,8 @@ static void ui_registermenus_i18n(void) UIH_LANG_FR, ui_languageselected); MENUINTRB_I("setlang", NULL, "German", "de", UI, uih_setlanguage, UIH_LANG_DE, ui_languageselected); + MENUINTRB_I("setlang", NULL, "Hebrew", "he", UI, uih_setlanguage, + UIH_LANG_HE, ui_languageselected); MENUINTRB_I("setlang", NULL, "Hindi", "hi", UI, uih_setlanguage, UIH_LANG_HI, ui_languageselected); MENUINTRB_I("setlang", NULL, "Hungarian", "hu", UI, uih_setlanguage,