*/
#include "clip.h"
+#include "language.h"
#include "renderprofiles.h"
#include "mwindow.h"
#include "theme.h"
#include "errorbox.h"
#include "mwindowgui.h"
-#include <libintl.h>
-#define _(String) gettext(String)
-#define gettext_noop(String) String
-#define N_(String) gettext_noop (String)
-
#define LISTWIDTH 200
RenderProfileItem::RenderProfileItem(const char *text, int value)
sprintf(string_name, "RENDER_%i_PROFILE_NAME", profile_slot);
mwindow->defaults->update(string_name, profile_name);
- sprintf(string_name, "RENDER_%i_STRATEGY", profile_slot);
- mwindow->defaults->update(string_name, rwindow->render->strategy);
+ sprintf(string_name, "RENDER_%i_FILE_PER_LABEL", profile_slot);
+ mwindow->defaults->update(string_name,
+ rwindow->render->use_labels ? FILE_PER_LABEL : SINGLE_PASS);
sprintf(string_name, "RENDER_%i_LOADMODE", profile_slot);
mwindow->defaults->update(string_name, rwindow->render->load_mode);
sprintf(string_name, "RENDER_%i_RANGE_TYPE", profile_slot);
sprintf(string_name, "RENDER_%i_", profile_slot);
rwindow->asset->save_defaults(mwindow->defaults,
- string_name,
- 1,
- 1,
- 1,
- 1,
- 1);
+ string_name, 1, 1, 1, 1, 1);
mwindow->save_defaults();
return 0;