Tue Jan 4 23:58:44 CET 2000
(Saur) * Corrected a couple of spelling errors in the code. * Added localization of a few messages in the E.h file. SVN revision: 1843
This commit is contained in:
parent
0e37082102
commit
41d7438547
|
@ -4133,3 +4133,11 @@ Wed Dec 29 14:14:29 PST 1999
|
|||
(KainX)
|
||||
|
||||
Fixed that weird background setting behavior that E-Slides revealed.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Tue Jan 4 23:58:44 CET 2000
|
||||
(Saur)
|
||||
|
||||
* Corrected a couple of spelling errors in the code.
|
||||
* Added localization of a few messages in the E.h file.
|
||||
|
|
25
src/E.h
25
src/E.h
|
@ -91,10 +91,10 @@
|
|||
#endif /* !WITH_TARTY_WARP */
|
||||
|
||||
#define RESET_ALERT \
|
||||
AssignTitleText("Enlightenment Message Dialog"); \
|
||||
AssignIgnoreText("Ignore this"); \
|
||||
AssignRestartText("Restart Enlightenment"); \
|
||||
AssignExitText("Quit Enlightenment");
|
||||
AssignTitleText(_("Enlightenment Message Dialog")); \
|
||||
AssignIgnoreText(_("Ignore this")); \
|
||||
AssignRestartText(_("Restart Enlightenment")); \
|
||||
AssignExitText(_("Quit Enlightenment"));
|
||||
|
||||
#define ASSIGN_ALERT(a, b, c, d) \
|
||||
AssignTitleText(a); \
|
||||
|
@ -118,7 +118,7 @@ ApplySclass(FindItem((sclass), 0, LIST_FINDBY_NAME, LIST_TYPE_SCLASS));
|
|||
__d = CreateDialog("DIALOG"); \
|
||||
DialogSetTitle(__d, title); \
|
||||
DialogSetText(__d, text); \
|
||||
DialogAddButton(__d, "OK", NULL, 1); \
|
||||
DialogAddButton(__d, _("OK"), NULL, 1); \
|
||||
ShowDialog(__d); \
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ DialogSetParamText(__d,
|
|||
|
||||
#define DIALOG_PARAM_END \
|
||||
); \
|
||||
DialogAddButton(__d, "OK", NULL, 1); \
|
||||
DialogAddButton(__d, _("OK"), NULL, 1); \
|
||||
ShowDialog(__d); \
|
||||
}
|
||||
|
||||
|
@ -248,13 +248,18 @@ int Esnprintf(va_alist);
|
|||
|
||||
/* This is a start to providing internationalization by means */
|
||||
/* of gettext */
|
||||
/* #ifdef HAVE_GETTEXT */
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#include <libintl.h>
|
||||
#define _(String) gettext (String)
|
||||
#endif
|
||||
|
||||
/* #endif */
|
||||
#include <libintl.h>
|
||||
#define _(String) gettext(String)
|
||||
#ifdef gettext_noop
|
||||
#define N_(String) gettext_noop(String)
|
||||
#else
|
||||
#define N_(String) (String)
|
||||
#endif
|
||||
|
||||
#define TT_VALID( handle ) ( ( handle ).z != NULL )
|
||||
#ifndef MAX
|
||||
|
|
|
@ -3777,7 +3777,7 @@ doZoom(void *params)
|
|||
"Server and thus isn't tested much.\n" "\n"
|
||||
"It is possible your X Server does not deal well with being\n"
|
||||
"asked to switch modes quickly and it may hang, glitch,\n"
|
||||
"display artifacts or perhaps simply refuse to work.\n" "\n"
|
||||
"display artefacts or perhaps simply refuse to work.\n" "\n"
|
||||
"This is a warning and will only be displayed this one time.\n"
|
||||
"If your Server does not behave well then you will probably\n"
|
||||
"have to avoid using this feature.\n"));
|
||||
|
|
6
src/fx.c
6
src/fx.c
|
@ -256,7 +256,7 @@ FX_ripple_timeout(int val, void *data)
|
|||
"You have just started the Ripples Effect.\n"
|
||||
"\n"
|
||||
"If you look closely on your desktop background, and if it\n"
|
||||
"doesn't have a solid colour (ie has a background texture or\n"
|
||||
"doesn't have a solid colour (i.e. has a background texture or\n"
|
||||
"image), you will see a pool of water at the bottom of your\n"
|
||||
"screen that reflects everything above it and \"ripples\".\n"
|
||||
"\n"
|
||||
|
@ -425,7 +425,7 @@ FX_raindrops_timeout(int val, void *data)
|
|||
"You have just started the Raindrops Effect.\n"
|
||||
"\n"
|
||||
"If you look closely on your desktop background, and if it\n"
|
||||
"doesn't have a solid colour (ie has a background texture or\n"
|
||||
"doesn't have a solid colour (i.e. has a background texture or\n"
|
||||
"image), you will see \"raindrops\" hit the background and\n"
|
||||
"make little splashes. This Effect can be VERY CPU intensive.\n"
|
||||
"\n"
|
||||
|
@ -720,7 +720,7 @@ FX_Wave_timeout(int val, void *data)
|
|||
"You have just started the Waves Effect.\n"
|
||||
"\n"
|
||||
"If you look closely on your desktop background, and if it\n"
|
||||
"doesn't have a solid color (ie has a background texture or\n"
|
||||
"doesn't have a solid colour (i.e. has a background texture or\n"
|
||||
"image), you will see a pool of water at the bottom of your\n"
|
||||
"screen that reflects everything above it and \"waves\".\n"
|
||||
"\n"
|
||||
|
|
|
@ -220,7 +220,7 @@ EHandleXError(Display * d, XErrorEvent * ev)
|
|||
"You will have to quit your current Window Manager first before\n"
|
||||
"you can successfully run Enlightenment.\n"
|
||||
"\n"
|
||||
"If you haven't edited your user startup files, Enlightenment\n"
|
||||
"If you haven't edited your user start-up files, Enlightenment\n"
|
||||
"can do that now for you, so when you log in again after\n"
|
||||
"quitting your current window manager, you will have\n"
|
||||
"Enlightenment running.\n"
|
||||
|
@ -236,8 +236,8 @@ EHandleXError(Display * d, XErrorEvent * ev)
|
|||
"", _("NO (do not edit)"));
|
||||
Alert(_
|
||||
("Are you absolutely sure you want to have Enlightenment\n"
|
||||
"edit your startup files for you?\n" "\n"
|
||||
"If your startup files are highly customised this may not\n"
|
||||
"edit your start-up files for you?\n" "\n"
|
||||
"If your start-up files are highly customised this may not\n"
|
||||
"work.\n" "\n" "Are you ABSOLUTELY sure?\n"));
|
||||
RESET_ALERT;
|
||||
AddE();
|
||||
|
|
|
@ -300,7 +300,7 @@ __Erealloc(void *ptr, int size, const char *file, int line)
|
|||
_("Quit Enlightenment"));
|
||||
Alert(_("WARNING!!!!!!\n"
|
||||
"\n"
|
||||
"Re-allocation for %i bytes (%3.0f Kb or %3.1f Mb) did not succeed.\n"
|
||||
"Re-allocation for %i bytes (%3.0f kB or %3.1f MB) did not succeed.\n"
|
||||
"\n"
|
||||
"Either this is a bug where ridiculous amounts of memory\n"
|
||||
"are being allocated, or your system has run out of both\n"
|
||||
|
@ -405,7 +405,7 @@ __Efree(void *ptr, const char *file, int line)
|
|||
"It is safe to ignore this error and continue running Enlightenment.\n"
|
||||
"\n"
|
||||
"The pointer value was %x.\n"
|
||||
"The error occured at %s, line %d.\n"), ptr, file, line);
|
||||
"The error occurred at %s, line %d.\n"), ptr, file, line);
|
||||
RESET_ALERT;
|
||||
EDBUG_RETURN_;
|
||||
}
|
||||
|
|
|
@ -508,7 +508,7 @@ SettingsFocus(void)
|
|||
DialogItemSetPadding(di, 2, 2, 2, 2);
|
||||
DialogItemSetFill(di, 1, 0);
|
||||
DialogItemSetColSpan(di, 2);
|
||||
DialogItemCheckButtonSetText(di, _("Display and use focuslist"));
|
||||
DialogItemCheckButtonSetText(di, _("Display and use focus list"));
|
||||
DialogItemCheckButtonSetState(di, tmp_display_warp);
|
||||
DialogItemCheckButtonSetPtr(di, &tmp_display_warp);
|
||||
|
||||
|
@ -3024,7 +3024,7 @@ SettingsBackground(Background * bg)
|
|||
di = DialogAddItem(table, DITEM_TEXT);
|
||||
DialogItemSetPadding(di, 2, 2, 2, 2);
|
||||
DialogItemSetFill(di, 1, 0);
|
||||
DialogItemTextSetText(di, _("BG Color\n"));
|
||||
DialogItemTextSetText(di, _("BG Colour\n"));
|
||||
|
||||
di = DialogAddItem(table, DITEM_NONE);
|
||||
|
||||
|
@ -3218,7 +3218,7 @@ SettingsBackground(Background * bg)
|
|||
DialogItemSetPadding(di, 2, 2, 2, 2);
|
||||
DialogItemSetFill(di, 1, 0);
|
||||
DialogItemSetColSpan(di, 2);
|
||||
DialogItemCheckButtonSetText(di, _("Use dithering in Hi-Color"));
|
||||
DialogItemCheckButtonSetText(di, _("Use dithering in Hi-Colour"));
|
||||
DialogItemCheckButtonSetState(di, tmp_hiq);
|
||||
DialogItemCheckButtonSetPtr(di, &tmp_hiq);
|
||||
|
||||
|
@ -3282,7 +3282,7 @@ SettingsBackground(Background * bg)
|
|||
di = DialogAddItem(table, DITEM_BUTTON);
|
||||
DialogItemSetPadding(di, 2, 2, 2, 2);
|
||||
DialogItemSetFill(di, 0, 0);
|
||||
DialogItemButtonSetText(di, _("Prescan BG's"));
|
||||
DialogItemButtonSetText(di, _("Pre-scan BG's"));
|
||||
DialogItemSetCallback(di, CB_BGScan, 0, NULL);
|
||||
|
||||
di = table2 = DialogAddItem(table, DITEM_TABLE);
|
||||
|
|
|
@ -331,7 +331,7 @@ SetupX()
|
|||
"\n"
|
||||
"Enlightenment is unable to initialise Imlib.\n"
|
||||
"\n"
|
||||
"This is unusual. Unable to contiune.\n" "Exiting.\n"));
|
||||
"This is unusual. Unable to continue.\n" "Exiting.\n"));
|
||||
RESET_ALERT;
|
||||
EExit((void *)1);
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ SetupX()
|
|||
"\n"
|
||||
"Enlightenment is unable to initialise Fnlib.\n"
|
||||
"\n"
|
||||
"This is unusual. Unable to contiune.\n" "Exiting.\n"));
|
||||
"This is unusual. Unable to continue.\n" "Exiting.\n"));
|
||||
RESET_ALERT;
|
||||
EExit((void *)1);
|
||||
}
|
||||
|
|
|
@ -262,7 +262,7 @@ SoundInit()
|
|||
ASSIGN_ALERT(_("Error initialising sound"),
|
||||
_("OK"), " ", " ");
|
||||
Alert(_
|
||||
("Audio was enabled for Enlightenemnt but there was an error\n"
|
||||
("Audio was enabled for Enlightenment but there was an error\n"
|
||||
"communicating with the audio server (Esound). Audio will\n"
|
||||
"now be disabled.\n"));
|
||||
RESET_ALERT;
|
||||
|
|
Loading…
Reference in New Issue