This commit is contained in:
Sanel Zukan
2008-10-07 08:17:16 +00:00
parent bc68297a78
commit a8dd672951
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,459 @@
/*
* $Id$
*
* Application for setting system date, time and local timezone
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2007 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
// This is the Calendar widget class inspired by the Calendar originally
// developed by Alexey Parshin for SPTK and later imported into efltk.
#include "EDE_Calendar.h"
#include <FL/Fl.H>
#include <FL/fl_draw.H>
#include <edelib/Nls.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// TODO: replace this with a simple loop when operator++ is implemented in edelib::Date
long date_distance(edelib::Date da1, edelib::Date da2) {
if (da1 > da2) {
edelib::Date tmp = da2;
da2=da1;
da1=tmp;
}
int d1=da1.day(), m1=da1.month(), y1=da1.year(), d2=da2.day(), m2=da2.month(), y2=da2.year();
long result=0;
while (d1!=d2 || m1!=m2 || y1!=y2) {
result++;
d1++;
if (!da1.is_valid(y1,m1,d1)) {
d1=1;
m1++;
if (m1>12) {
m1=1;
y1++;
}
}
}
return result;
}
// Constants
static const char *switchLabels[4] = {
"@-1<<","@-1<","@-1>","@-1>>"
};
static const int monthChanges[4] = {
-12,-1,1,12
};
// TODO: read this from locale
const bool weekStartsOnMonday = false;
// Callback function for fwd / back buttons
void EDE_Calendar::cbSwitchButtonClicked(Fl_Widget *button, long month_change) {
EDE_Calendar* thecalendar = (EDE_Calendar*)button->parent();
edelib::Date d = thecalendar->active_date();
int year = d.year();
int month = d.month()+month_change;
int day = d.day();
// Fix month
while (month<1) { year--; month+=12; }
while (month>12) { year++; month-=12; }
// Switch to closest valid day
while (day>27 && !d.is_valid(year, month, day)) day--;
if (d.is_valid(year, month, day)) {
d.set(year, month, day);
thecalendar->active_date(d);
}
}
// ctor
EDE_Calendar::EDE_Calendar(int x,int y,int w,int h,const char *lbl)
: Fl_Group(x,y,w,h,lbl) {
unsigned int i;
// Calendar contents, correct size and position is set by layout()
// Header box
m_monthNameBox = new Fl_Box(x,y,w,16);
m_monthNameBox->box(FL_NO_BOX);
// Weekday headers
for (i = 0; i < 7; i++) {
m_dayNameBoxes[i] = new Fl_Box(x+i*16,y+16,16,16);
m_dayNameBoxes[i]->box(FL_FLAT_BOX);
m_dayNameBoxes[i]->color(fl_color_average(color(), FL_GREEN, 0.8));
// get first two letters of day name
edelib::Date d;
d.set(1900,1,7+i); // 1.1.1900 was Monday
char tmp[3];
snprintf(tmp,3,"%s", d.day_name());
m_dayNameBoxes[i]->copy_label(tmp);
}
// Fillers (parts of calendar without day buttons)
for (int i=0; i<3; i++) {
m_filler[i] = new Fl_Box(x,y,16,16);
m_filler[i]->box(FL_FLAT_BOX);
m_filler[i]->color(fl_color_average(color(), FL_BLACK, 0.95)); // very mild grayish
}
// Day buttons
for (i = 0; i < 31; i++) {
m_dayButtons[i] = new Fl_Box(0,0,16,16);
char tmp[3];
snprintf(tmp,3, "%d", (i+1));
m_dayButtons[i]->copy_label(tmp);
}
// Switch buttons
for (i = 0; i < 4; i++) {
Fl_Repeat_Button* o;
m_switchButtons[i] = o = new Fl_Repeat_Button(x,y,16,16,switchLabels[i]);
o->callback(EDE_Calendar::cbSwitchButtonClicked, (long)monthChanges[i]);
o->labelcolor(fl_darker(FL_BACKGROUND_COLOR));
o->selection_color(fl_lighter(FL_BACKGROUND_COLOR));
}
end();
reset(); // this will eventually call layout()
}
// Number of rows and columns
#define CAL_ROWS 9
#define CAL_COLS 7
// Calculate positions and sizes of various boxes and buttons
// NOTE: This method is costly! Avoid calling it unless calendar is actually resized
void EDE_Calendar::layout(int X, int Y, int W, int H) {
unsigned int i;
// Leave some room for edges
int x_ = X+2;
int y_ = Y+2;
int w_ = W-4;
int h_ = H-4;
// Precalculate button grid
// By doing this we try to avoid floating point math while
// having coords without holes that add up to a desired width
int bx[CAL_COLS], bw[CAL_COLS], by[CAL_ROWS], bh[CAL_ROWS];
bx[0] = x_; by[0] = y_;
for (i=1; i<CAL_COLS; i++) {
bx[i] = x_ + (w_*i)/CAL_COLS;
bw[i-1] = bx[i]-bx[i-1];
}
bw[CAL_COLS-1] = x_ + w_ - bx[CAL_COLS-1];
for (i=1; i<CAL_ROWS; i++) {
by[i] = y_ + (h_*i)/CAL_ROWS;
bh[i-1] = by[i]-by[i-1];
}
bh[CAL_ROWS-1] = y_ + h_ - by[CAL_ROWS-1];
// Title
m_monthNameBox->resize( x_,y_,w_, bh[0] );
// Labels
for (i=0; i<7; i++)
m_dayNameBoxes[i]->resize( bx[i], by[1], bw[i], bh[1] );
// Find first day of week
edelib::Date d=active_date_;
d.set(d.year(), d.month(), 1);
uint day_of_week = d.day_of_week()-1;
// First filler
if (day_of_week>0) {
int k=0;
for (i=0; i<day_of_week; i++) k += bw[i];
m_filler[0]->resize( x_, by[2], k, bh[2] );
}
// Days
int row=2;
for (i=0; i<d.days_in_month(); i++) {
m_dayButtons[i]->resize( bx[day_of_week], by[row], bw[day_of_week], bh[row] );
day_of_week++;
if (day_of_week==7) { day_of_week=0; row++; }
}
// Second filler
if (day_of_week<6) {
int k=0;
for (i=day_of_week; i<7; i++) k += bw[i];
m_filler[1]->resize( bx[day_of_week], by[row], k, bh[row] );
}
// Third filler
if (row<7)
m_filler[2]->resize( x_, by[7], w_, bh[7] );
// Switch buttons
m_switchButtons[0]->resize ( x_, by[8], bw[0], bh[8] );
m_switchButtons[1]->resize ( bx[1], by[8], bw[1], bh[8] );
m_switchButtons[2]->resize ( bx[5], by[8], bw[5], bh[8] );
m_switchButtons[3]->resize ( bx[6], by[8], bw[6], bh[8] );
}
// Overloaded resize (used to call layout)
void EDE_Calendar::resize(int X, int Y, int W, int H) {
// avoid unnecessary resizing
static int oldw=0, oldh=0;
if (W==oldw && H==oldh) return Fl_Group::resize(X,Y,W,H);
oldw=W; oldh=H;
layout(X,Y,W,H);
Fl_Widget::resize(X,Y,W,H); // avoid Fl_Group resizing because we already resized everything
}
// Set visual appearance & colors of day buttons and tooltip
void EDE_Calendar::update_calendar() {
unsigned int i;
// Find first day of week
edelib::Date d=active_date_;
d.set(d.year(), d.month(), 1);
int day_of_week = d.day_of_week()-1;
// Show/hide first filler
if (day_of_week>0)
m_filler[0]->show();
else
m_filler[0]->hide();
// Days
int row=2;
for (i=0; i<d.days_in_month(); i++) {
Fl_Box* btn = m_dayButtons[i]; // shortcut
btn->show();
// Set button color
Fl_Color daycolor = color(); // base color is the color of calendar
if (day_of_week==0) // Special color for sunday
daycolor = fl_color_average(daycolor, FL_BLUE, 0.8);
if (i==(uint)today_date_.day()-1 && d.month()==today_date_.month() && d.year()==today_date_.year())
btn->color(fl_color_average(daycolor, FL_RED, 0.5)); // today
else if (i==(uint)active_date_.day()-1)
btn->color(fl_lighter(daycolor));
else
btn->color(daycolor);
// Set downbox for active day
if (i==(uint)active_date_.day()-1)
btn->box(FL_DOWN_BOX);
else
btn->box(FL_FLAT_BOX);
day_of_week++;
if (day_of_week==7) { day_of_week=0; row++; }
}
// Hide remaining buttons
for (i=d.days_in_month(); i<31; i++)
m_dayButtons[i]->hide();
// Show/hide second filler
if (day_of_week<6)
m_filler[1]->show();
else
m_filler[1]->hide();
// Show/hide third filler
if (row<7)
m_filler[2]->show();
else
m_filler[2]->hide();
// Set title
static char title[30]; // No month name should be larger than 24 chars, even when localized
// and we can't show it anyway cause the box is too small
snprintf (title, 30, "%s, %d", d.month_name(), d.year());
m_monthNameBox->copy_label(title);
// Calculate tooltip (distance between today and active date)
static char tooltip_str[1024];
tooltip_str[0] = '\0';
if (today_date_ != active_date_) {
long dist = date_distance(today_date_, active_date_);
long weeks = dist/7;
int wdays = dist%7;
int months=0;
int mdays=0;
int years=0;
int ymonths=0;
// Find lower date, first part of tooltip
edelib::Date d1,d2;
if (today_date_ < active_date_) {
d1=today_date_;
d2=active_date_;
snprintf(tooltip_str, 1023, _("In %ld days"), dist);
} else {
d2=today_date_;
d1=active_date_;
snprintf(tooltip_str, 1023, _("%ld days ago"), dist);
}
// If necessary, calculate distance in m/d and y/m/d format
if (dist>30) {
months = d2.month() - d1.month() + (d2.year() - d1.year())*12;
mdays = d2.day() - d1.day();
if (mdays<1) {
mdays += d2.days_in_month();
months--;
}
}
if (months>11) {
years = months/12;
ymonths = months%12;
}
// Append those strings using snprintf
if (weeks) {
char* tmp = strdup(tooltip_str);
snprintf(tooltip_str, 1023, _("%s\n%ld weeks and %d days"), tmp, weeks, wdays);
free(tmp);
}
if (months) {
char* tmp = strdup(tooltip_str);
snprintf(tooltip_str, 1023, _("%s\n%d months and %d days"), tmp, months, mdays);
free(tmp);
}
if (years) {
char* tmp = strdup(tooltip_str);
snprintf(tooltip_str, 1023, _("%s\n%d years, %d months and %d days"), tmp, years, ymonths, mdays);
free(tmp);
}
}
tooltip(tooltip_str);
layout(x(),y(),w(),h()); // relayout buttons if neccessary
redraw();
}
int EDE_Calendar::handle(int e) {
// Forward events to switch buttons
for (int i=0; i<4; i++)
if (Fl::event_inside(m_switchButtons[i])) return m_switchButtons[i]->handle(e);
// Accept focus
if (e==FL_FOCUS) return 1;
if (e==FL_PUSH || e==FL_ENTER) return 1;
// Click on date to set active, doubleclick to set as today
if (e==FL_RELEASE) {
for (int i=0; i<31; i++)
if (Fl::event_inside(m_dayButtons[i])) {
edelib::Date d = active_date_;
d.set(d.year(), d.month(), i+1);
if (Fl::event_clicks() == 1)
today_date(d);
else
active_date(d);
return 1;
}
take_focus();
} else if (e==FL_KEYBOARD) {
int k=Fl::event_key();
// arrow navigation
if (k==FL_Up || k==FL_Down || k==FL_Left || k==FL_Right) {
edelib::Date ad = active_date_;
int d = ad.day();
int m = ad.month();
int y = ad.year();
if (k==FL_Up) d -= 7;
else if (k==FL_Down) d += 7;
else if (k==FL_Left) d--;
else if (k==FL_Right) d++;
if (d < 1) {
m--;
if (m<1) {
y--;
m+=12;
}
d += ad.days_in_month(y,m);
}
if (d > ad.days_in_month(y,m)) {
d -= ad.days_in_month(y,m);
m++;
if (m>12) {
y++;
m-=12;
}
}
ad.set(y,m,d);
active_date(ad);
return 1;
}
// Return to today with Home
if (k==FL_Home) {
active_date(today_date());
return 1;
}
// Set active day as today with Space
if (k==' ') {
today_date(active_date());
return 1;
}
// Allow moving focus with Tab key
if (k==FL_Tab) return Fl_Group::handle(e);
}
return Fl_Group::handle(e);
}

103
ede-timedate/EDE_Calendar.h Normal file
View File

@@ -0,0 +1,103 @@
/*
* $Id$
*
* Application for setting system date, time and local timezone
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2007 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
// This is the Calendar widget class inspired by the Calendar originally
// developed by Alexey Parshin for SPTK and later imported into efltk.
#ifndef _EDE_CALENDAR_H_
#define _EDE_CALENDAR_H_
#include <FL/Fl_Group.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Repeat_Button.H>
#include <edelib/DateTime.h>
#include <stdio.h>
/** EDE_Calendar */
class EDE_Calendar : public Fl_Group {
private:
static void cbSwitchButtonClicked(Fl_Widget *,long);
Fl_Group *m_headerBox;
Fl_Group *m_buttonBox;
Fl_Box *m_monthNameBox;
Fl_Box *m_dayNameBoxes[7];
Fl_Box *m_dayButtons[31];
Fl_Repeat_Button *m_switchButtons[4];
Fl_Box *m_filler[3];
edelib::Date today_date_;
edelib::Date active_date_;
// Update color and appearance of boxes and buttons
void update_calendar();
// Resize various boxes and buttons
void layout(int X, int Y, int W, int H);
// Debugging:
void printdate(const char* c, edelib::Date d) { fprintf(stderr, "%s: %d.%d.%d\n", c, d.day(), d.month(), d.year()); }
public:
/** The traditional constructor creates the calendar using the position, size, and label. */
EDE_Calendar(int x,int y,int w,int h,const char *lbl=0L);
/** Reset active and current date to system date */
virtual void reset() {
today_date_.set(edelib::Date::YearNow, edelib::Date::MonthNow, edelib::Date::DayNow);
edelib::Date d1 = active_date_;
active_date_.set(edelib::Date::YearNow, edelib::Date::MonthNow, edelib::Date::DayNow);
if (d1.month()!= edelib::Date::MonthNow || d1.year()!=edelib::Date::YearNow)
layout(x(),y(),w(),h());
update_calendar();
}
/** Change active date */
void active_date(const edelib::Date d) {
edelib::Date d1 = active_date_;
active_date_ = d;
// turn calendar to another page
if (d1.month()!=d.month() || d1.year()!=d.year())
layout(x(),y(),w(),h());
update_calendar();
}
const edelib::Date active_date() const { return active_date_; }
/** Change today date */
void today_date(const edelib::Date d) {
today_date_ = d;
update_calendar();
}
const edelib::Date today_date() const { return today_date_; }
// Keyboard and mouse handling
int handle(int e);
// Overload resize to call our layout()
void resize(int X, int Y, int W, int H);
// Since box colors are based on Calendar color, we need to
// overload color changing methods
void color(Fl_Color c) { Fl_Widget::color(c); update_calendar(); }
void color(Fl_Color c1, Fl_Color c2) { Fl_Widget::color(c1,c2); update_calendar(); }
Fl_Color color() { return Fl_Widget::color(); }
};
#endif

View File

@@ -0,0 +1,111 @@
/*
* $Id$
*
* Application for setting system date, time and local timezone
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2007 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#ifndef _FL_TIME_INPUT_H_
#define _FL_TIME_INPUT_H_
#include <FL/Fl_Input.H>
#include <string.h>
#include <stdlib.h>
#include <time.h>
class Fl_Time_Input : public Fl_Input {
int h,m,s;
// Parse time into variables h,m,s
// Return true if time is valid, else returns false
bool parse_time(const char* time) {
if (!time) return false;
h=m=s=0;
char* p = (char*)time;
while (*p != ':') {
if (*p<'0' || *p>'9') return false;
h=h*10+(*p++-48);
}
p++;
while (*p != ':') {
if (*p<'0' || *p>'9') return false;
m=m*10+(*p++-48);
}
p++;
while (*p != '\0') {
if (*p<'0' || *p>'9') return false;
s=s*10+(*p++-48);
}
if (h>23 || m>59 || s>59) return false;
return true;
}
public:
Fl_Time_Input(int x, int y, int w, int h, const char *l = 0) : Fl_Input(x,y,w,h,l) { value("00:00:00"); }
void value(const char* l) {
int p = position(), m = mark();
if (parse_time(l)) Fl_Input::value(l);
else Fl_Input::value("00:00:00");
position(p,m);
}
const char* value() { return Fl_Input::value(); }
int handle(int e) {
char* oldvalue = strdup(Fl_Input::value());
int ret = Fl_Input::handle(e);
if (!parse_time(Fl_Input::value())) Fl_Input::value(oldvalue);
free(oldvalue);
return ret;
}
int hour() { parse_time(value()); return h; }
int minute() { parse_time(value()); return m; }
int second() { parse_time(value()); return s; }
void hour(int val) {
parse_time(value());
char tmp[10];
snprintf(tmp, 10, "%02d:%02d:%02d", val, m, s);
value(tmp);
}
void minute(int val) {
parse_time(value());
char tmp[10];
snprintf(tmp, 10, "%02d:%02d:%02d", h, val, s);
value(tmp);
}
void second(int val) {
parse_time(value());
char tmp[10];
snprintf(tmp, 10, "%02d:%02d:%02d", h, m, val);
value(tmp);
}
void epoch(time_t val) {
struct tm* t = localtime(&val);
char tmp[10];
snprintf(tmp, 10, "%02d:%02d:%02d", t->tm_hour, t->tm_min, t->tm_sec);
value(tmp);
}
time_t epoch() {
time_t ep = time(0);
struct tm* t = localtime(&ep);
t->tm_hour = hour();
t->tm_min = minute();
t->tm_sec = second();
return mktime(t);
}
};
#endif

17
ede-timedate/Jamfile Normal file
View File

@@ -0,0 +1,17 @@
#
# $Id$
#
# Part of Equinox Desktop Environment (EDE).
# Copyright (c) 2000-2007 EDE Authors.
#
# This program is licenced under terms of the
# GNU General Public Licence version 2 or newer.
# See COPYING for details.
SubDir TOP etimedate ;
SOURCE = etimedate.cpp EDE_Calendar.cpp ;
EdeProgram etimedate : $(SOURCE) ;
TranslationStrings locale : $(SOURCE) ;

14
ede-timedate/TODO Normal file
View File

@@ -0,0 +1,14 @@
TODO with etimedate:
* calendar
- Add text box for direct date entry
- Make month and year display into Fl_Choice
- Display number of week (within current year) somewhere... (probably in
tooltip)
* clock
- redesign clock - use bitmaps for background and possibly hands
- make hands movable with mouse
* timezones
- add city coordinates (find in evolution / kde), draw current zone on map
- make map sensitive / hotspots on city coordinates

538
ede-timedate/etimedate.cpp Normal file
View File

@@ -0,0 +1,538 @@
/*
* $Id$
*
* Application for setting system date, time and local timezone
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#include "etimedate.h"
#include <edelib/Nls.h>
#include <edelib/MessageBox.h>
#include <edelib/Run.h>
#include <edelib/StrUtil.h>
#include <edelib/Config.h>
#include <edelib/IconTheme.h>
#include <FL/Fl_Pixmap.H>
#include <FL/Fl_Shared_Image.H>
#include <FL/Fl_Repeat_Button.H>
#define FL_PATH_MAX 1024
#include <sys/stat.h>
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#include "icons/world2.xpm"
static Fl_Double_Window *timedateWindow=(Fl_Double_Window *)0;
EDE_Calendar *calendar=(EDE_Calendar *)0;
Fl_Time_Input *timeBox=(Fl_Time_Input*)0;
Fl_Choice *timeFormat=(Fl_Choice *)0;
Fl_Menu_Item menu_timeFormat[] = {
{_("12 hour")},
{_("24 hour")},
{0}
};
static Fl_Pixmap image_world(world2_xpm);
Fl_Choice* timeZonesList=(Fl_Choice *)0;
Fl_Button* applyButton;
Fl_Input_Choice* serverList;
Fl_Clock_Output* clk;
// Status variables
bool time_changed, format_changed, tz_changed, date_changed;
// config file for workpanel (time format)
edelib::Config config_file;
char* zonetab_dir = 0;
// Time servers - all in one string, so that translators can easily add new servers
const char* time_servers = _("International (pool.ntp.org)\nEurope (europe.pool.ntp.org)\nAsia (asia.pool.ntp.org)\nNorth America (north-america.pool.ntp.org)\nAustralia and Oceania (oceania.pool.ntp.org)");
// --------------------------------------------
// Timezone funcs
// --------------------------------------------
// Return string describing current timezone
const char* get_current_timezone() {
static char current_tz[100] = "";
char tmp[100];
FILE *f;
if(readlink("/etc/localtime", tmp, sizeof(tmp)-1)>0) {
char *tz = strstr(tmp, "/zoneinfo/") + strlen("/zoneinfo/");
strncpy(current_tz, tz, 99);
current_tz[99]='\0';
// timeZonesList->value(tz);
// timeZonesList->text(tz);
} else {
// some distros just copy the file instead of symlinking
// But /etc/sysconfig/clock should contain ZONE=Continent/City
if((f = fopen("/etc/sysconfig/clock", "r")) != NULL) {
while (fgets(tmp,99,f) != NULL) {
// last char is newline, let's strip that:
if (tmp[strlen(tmp)-1] == '\n')
tmp[strlen(tmp)-1] = '\0';
if (strstr(tmp,"ZONE=") == tmp) {
strncpy(current_tz, tmp+5, 99);
current_tz[99]='\0';
// timeZonesList->value(tempstring+5);
// timeZonesList->text(tempstring+5);
}
}
} else {
// timeZonesList->value(_("Zone information not found."));
timeZonesList->add(_("Zone information not found."));
}
}
return current_tz;
}
// Fill timeZonesList widget with time zones
void fill_timezones(const char* current) {
FILE *f;
char tempstring[101] = "";
struct stat s;
if(stat("/usr/share/zoneinfo/zone.tab",&s)==0) {
edelib::run_program("cat /usr/share/zoneinfo/zone.tab | grep -e ^[^#] | cut -f 3 |sort > /tmp/_tzone_.txt");
zonetab_dir = "/usr/share/zoneinfo/";
}
else if(stat("/usr/local/share/zoneinfo/zone.tab",&s)==0) {
edelib::run_program("cat /usr/local/share/zoneinfo/zone.tab | grep -e ^[^#] | cut -f 3 | sort > /tmp/_tzone_.txt");
zonetab_dir = "/usr/local/share/zoneinfo/";
} else {
timeZonesList->add(_("Zone information not found."));
return;
}
if((f = fopen("/tmp/_tzone_.txt", "r")) != NULL)
{
timeZonesList->clear();
while(fgets(tempstring, 100, f) != NULL)
{
timeZonesList->add(edelib::str_trim(tempstring));
}
fclose(f);
timeZonesList->value(timeZonesList->find_item(current));
} else {
timeZonesList->add(_("Zone information not found."));
}
remove("/tmp/_tzone_.txt");
// TODO: Group::current()->array().sort(sort_f);
}
// Change time zone
char* apply_timezone() {
static char cmd[FL_PATH_MAX] = "";
char tz[FL_PATH_MAX];
if(!zonetab_dir) { // this should be set by fill_timezones
// although, if there are no timezones, tz_changed should never become true
edelib::alert(_("Zone information not found."));
return 0;
}
timeZonesList->item_pathname(cmd, sizeof(cmd)-1);
snprintf(tz, sizeof(tz)-1, "%s%s", zonetab_dir, cmd);
snprintf(cmd, sizeof(cmd)-1, "rm /etc/localtime; ln -s %s /etc/localtime; ", tz);
char val[FL_PATH_MAX];
snprintf(val, sizeof(val)-1, "TZ=%s", tz);
putenv(val);
tz_changed=false;
return cmd;
}
// --------------------------------------------
// Time format
// --------------------------------------------
// Get current time format
int get_format() {
if (config_file.load("ede.conf")) {
char timeformatstr[5];
config_file.get("Clock", "TimeFormat", timeformatstr, 5);
if (strcmp(timeformatstr,"24") == 0)
return 1;
}
//Default to 12 hour is there's a problem
return 0;
}
// Set time format
void apply_format(int format) {
if (config_file.load("ede.conf")) {
if (format == 1)
config_file.set("Clock", "TimeFormat", "24");
else
config_file.set("Clock", "TimeFormat", "12");
config_file.save("ede.conf");
}
format_changed = false;
}
// --------------------------------------------
// Apply
// --------------------------------------------
char* apply_date_time() {
static char cmd2[FL_PATH_MAX] = "";
edelib::Date date = calendar->today_date();
int mmonth = date.month();
int mday = date.day();
int myear = date.year();
int mhour = 0; //timeBox->hour();
int mminute = 0; //timeBox->minute();
snprintf(cmd2, sizeof(cmd2)-1, "date %.2d%.2d%.2d%.2d%.2d", mmonth, mday, mhour, mminute, (myear-2000));
time_changed=false;
date_changed=false;
return cmd2;
}
// Little helper func
char* strdupcat(char* dest, char* src) {
if (!src) return dest;
if (!dest) return strdup(src);
dest = (char*)realloc(dest, strlen(dest)+strlen(src)+1);
dest = strcat(dest, src);
return dest;
}
// Apply all changes
void apply_all() {
// Combine results into a single string so that we can run all those commands as root
char *cmd = 0;
if (format_changed) apply_format(timeFormat->value()); // don't need root for this
if (tz_changed) cmd = strdupcat(cmd, apply_timezone());
if (time_changed || date_changed) cmd = strdupcat (cmd, apply_date_time());
int ret = 0;
if (cmd) ret = edelib::run_program(cmd, /*wait=*/true , /*root=*/true );
if (ret != 0) {
edelib::MessageBox mb;
mb.set_theme_icon(MSGBOX_ICON_ERROR); // specified in edelib/MessageBox.h
mb.set_text(_("Error setting date or time."));
mb.add_button(_("&Close"));
mb.set_modal();
mb.run();
}
// Funcs should reset *_changed to false
else if (!time_changed && !format_changed && !tz_changed && !date_changed)
applyButton->deactivate();
}
// --------------------------------------------
// Synchronize
// --------------------------------------------
void synchronize(const char* server) {
char buffer[1024];
snprintf(buffer, 1024, "ntpdate %s", server);
fprintf(stderr, "run: %s\n", buffer);
long ret = edelib::run_program(buffer, /*wait=*/true, /*root=*/true);
if (ret == edelib::RUN_NOT_FOUND)
edelib::alert(_("Program <b>ntpdate</b> is required for time synchronization feature."));
else if (ret>=edelib::RUN_USER_CANCELED)
edelib::alert(_("Internal error: %d."), ret);
else if (ret != 0)
edelib::alert(_("ntpdate failed with the following return value: %d\nPlease consult ntpdate manual for details."), ret);
}
void populate_servers() {
char* tmp = strdup(time_servers);
char* server = strtok(tmp, "\n");
while (server) {
serverList->add(server);
server = strtok(NULL, "\n");
}
free(tmp);
serverList->value(0);
}
// --------------------------------------------
// Callbacks
// --------------------------------------------
static void cb_Apply(Fl_Button*, void*) {
apply_all();
}
static void cb_Close(Fl_Button*, void*) {
if (time_changed || format_changed || tz_changed || date_changed) {
edelib::MessageBox mb;
mb.set_theme_icon(MSGBOX_ICON_WARNING); // specified in edelib/MessageBox.h
mb.set_text(_("You have unsaved changes in this window!\nDo you want to close it anyway?"));
mb.add_button(_("Go &back"));
mb.add_button(_("&Discard changes"));
mb.set_modal();
if (mb.run() != 1) return;
}
exit(0);
}
static void cb_timeChanged(Fl_Widget*, void*) {
clk->value(timeBox->hour(),timeBox->minute(),timeBox->second());
if (time_changed) return;
time_changed=true;
applyButton->activate();
}
static void cb_timeFormatChanged(Fl_Widget*, void*) {
if (format_changed) return;
format_changed=true;
applyButton->activate();
}
static void cb_tzChanged(Fl_Widget*, void*) {
if (tz_changed) return;
tz_changed=true;
applyButton->activate();
}
static void cb_dateChanged(Fl_Widget*, void*) {
if (date_changed) return;
date_changed=true;
applyButton->activate();
}
static void cb_sync(Fl_Widget*, void*) {
char buffer[1024];
strncpy(buffer, serverList->value(), 1024);
buffer[1023]='\0';
// If part of string is in braces (), take just that
char* k1 = strchr(buffer,'(');
char* k2;
if (k1) k2 = strchr(k1, ')');
if (k1 && k2) {
int i=0;
for (char* p=k1+1; p!=k2; p++, i++)
buffer[i]=*p;
buffer[i]='\0';
}
synchronize(buffer);
}
static void cb_hour(Fl_Widget*, void*) {
int k = timeBox->hour()-1;
if (k==-1) k=23;
timeBox->hour(k);
timeBox->do_callback();
}
static void cb_hour1(Fl_Widget*, void*) {
int k = timeBox->hour()+1;
if (k==24) k=0;
timeBox->hour(k);
timeBox->do_callback();
}
static void cb_minute(Fl_Widget*, void*) {
int l = timeBox->minute()-1;
if (l==-1) {
l = 59;
int k = timeBox->hour()-1;
if (k==-1) k=23;
timeBox->hour(k);
}
timeBox->minute(l);
timeBox->do_callback();
}
static void cb_minute1(Fl_Widget*, void*) {
int l = timeBox->minute()+1;
if (l==60) {
l = 0;
int k = timeBox->hour()+1;
if (k==24) k=0;
timeBox->hour(k);
}
timeBox->minute(l);
timeBox->do_callback();
}
static void tick(void *v) {
if (time_changed) {
clk->value(clk->value()+1-3600);
} else {
clk->value(time(0));
if (timeBox) timeBox->epoch(time(0));
}
Fl::add_timeout(1.0, tick, v);
}
// --------------------------------------------
// Main window design
// --------------------------------------------
int main(int argc, char **argv) {
fl_register_images();
edelib::IconTheme::init("crystalsvg");
FL_NORMAL_SIZE=12;
// Required by the new edelib::MessageBox class
edelib::themed_dialog_icons(MSGBOX_ICON_INFO, MSGBOX_ICON_WARNING, MSGBOX_ICON_QUESTION, MSGBOX_ICON_QUESTION, MSGBOX_ICON_PASSWORD);
time_changed = format_changed = tz_changed = date_changed = false;
{ timedateWindow = new Fl_Double_Window(415, 320, _("Time and date"));
{ Fl_Tabs* o = new Fl_Tabs(5, 5, 405, 270);
{ Fl_Group* o = new Fl_Group(5, 30, 405, 245, _("&Time/date"));
{ calendar = new EDE_Calendar(10, 35, 220, 202);
calendar->box(FL_DOWN_BOX);
calendar->color(FL_BACKGROUND2_COLOR);
calendar->callback(cb_dateChanged);
} // EDE_Calendar* calendar
{ clk = new Fl_Clock_Output(235, 35, 170, 177);
clk->box(FL_DOWN_BOX);
clk->color(FL_BACKGROUND2_COLOR);
tick(clk);
} // Fl_Clock* o
{ Fl_Repeat_Button* o = new Fl_Repeat_Button(235, 212, 25, 23);
o->callback(cb_hour);
o->label("@-1<<");
o->labelcolor(fl_darker(FL_BACKGROUND_COLOR));
o->selection_color(fl_lighter(FL_BACKGROUND_COLOR));
} // TimeBox* timeBox
{ Fl_Repeat_Button* o = new Fl_Repeat_Button(260, 212, 25, 23);
o->callback(cb_minute);
o->label("@-1<");
o->labelcolor(fl_darker(FL_BACKGROUND_COLOR));
o->selection_color(fl_lighter(FL_BACKGROUND_COLOR));
} // TimeBox* timeBox
{ timeBox = new Fl_Time_Input(285, 212, 70, 23);
timeBox->box(FL_DOWN_BOX);
timeBox->callback(cb_timeChanged);
timeBox->when(FL_WHEN_CHANGED);
timeBox->epoch(time(0));
} // TimeBox* timeBox
{ Fl_Repeat_Button* o = new Fl_Repeat_Button(355, 212, 25, 23);
o->callback(cb_minute1);
o->label("@-1>");
o->labelcolor(fl_darker(FL_BACKGROUND_COLOR));
o->selection_color(fl_lighter(FL_BACKGROUND_COLOR));
} // TimeBox* timeBox
{ Fl_Repeat_Button* o = new Fl_Repeat_Button(380, 212, 25, 23);
o->callback(cb_hour1);
o->label("@-1>>");
o->labelcolor(fl_darker(FL_BACKGROUND_COLOR));
o->selection_color(fl_lighter(FL_BACKGROUND_COLOR));
} // TimeBox* timeBox
{ timeFormat = new Fl_Choice(305, 240, 100, 25, _("Time format:"));
timeFormat->down_box(FL_BORDER_BOX);
timeFormat->menu(menu_timeFormat);
timeFormat->callback(cb_timeFormatChanged);
timeFormat->value(get_format());
} // Fl_Choice* timeFormat
o->end();
} // Fl_Group* o
{ Fl_Group* o = new Fl_Group(5, 30, 405, 245, _("Time &zones"));
o->hide();
{ Fl_Group* o = new Fl_Group(15, 40, 385, 190);
o->box(FL_DOWN_BOX);
o->color(FL_FOREGROUND_COLOR);
{ Fl_Box* o = new Fl_Box(25, 55, 350, 160);
o->box(FL_FLAT_BOX);
o->color(FL_FOREGROUND_COLOR);
o->image(image_world);
} // Fl_Box* o
o->end();
} // Fl_Group* o
{ timeZonesList = new Fl_Choice(120, 235, 280, 25, _("Time zone:"));
timeZonesList->down_box(FL_BORDER_BOX);
timeZonesList->callback(cb_tzChanged);
fill_timezones(get_current_timezone());
} // Fl_Choice* timeZonesList
o->end();
} // Fl_Group* o
{ Fl_Group* o = new Fl_Group(5, 30, 405, 245, _("&Synchronize"));
o->hide();
{ Fl_Box* o = new Fl_Box(15, 55, 385, 50, _("Select the server with which you want to synhronize your system clock:"));
o->align(FL_ALIGN_INSIDE|FL_ALIGN_LEFT|FL_ALIGN_WRAP);
o->box(FL_NO_BOX);
} // Fl_Box* o
{ serverList = new Fl_Input_Choice(15, 115, 250, 25, "");
populate_servers();
} // Fl_Input_Choice* serverList
{ Fl_Button* o = new Fl_Button(55, 150, 90, 25, _("Synchronize"));
o->callback(cb_sync);
}
} // Fl_Group* o
o->end();
} // Fl_Tabs* o
{ Fl_Group* o = new Fl_Group(5, 285, 405, 25);
{ applyButton = new Fl_Button(220, 285, 90, 25, _("&Apply"));
applyButton->tooltip(_("Set system time"));
applyButton->callback((Fl_Callback*)cb_Apply);
applyButton->deactivate();
} // Fl_Button* applyButton
{ Fl_Button* o = new Fl_Button(320, 285, 90, 25, _("&Close"));
o->callback((Fl_Callback*)cb_Close);
} // Fl_Button* o
o->end();
} // Fl_Group* o
timedateWindow->end();
} // Fl_Double_Window* timedateWindow
calendar->take_focus();
timedateWindow->show(argc, argv);
return Fl::run();
}

View File

@@ -0,0 +1,86 @@
# data file for the FLTK User Interface Designer (FLUID)
version 2,0003
images_dir ./
i18n
header_name {.h}
code_name {.cpp}
gridx 5
gridy 5
snap 3
decl {// Time and date for EDE is (C) Copyright 2001-2002 by Martin Pekar, this program is provided under the terms of GNU GPL v.2, see file COPYING for more information.} {}
decl {\#include <efltk/Fl_Locale.h>} {}
Function {} {open
} {
code {fl_init_locale_support("etimedate", PREFIX"/share/locale");} {}
Fl_Window timedateWindow {
label {Time and date} open
private xywh {21 381 413 279} visible
} {
Fl_Group {} {open
xywh {0 245 413 33}
} {
Fl_Button {} {
label {&OK}
callback {saveTimeZone();
timeBox->settime();
exit(0);}
private xywh {154 4 80 25}
}
Fl_Button {} {
label {&Apply}
callback {saveTimeZone();
timeBox->settime();}
tooltip {Set system time. ->Just root user!<-}
xywh {241 4 80 25}
}
Fl_Button {} {
label {&Cancel}
callback {exit(0);}
private xywh {328 4 80 25}
}
}
Fl_Tabs {} {open
xywh {3 5 405 240}
} {
Fl_Group {} {
label {Time/date} open
xywh {0 20 405 220}
} {
Fl_Group {} {open
xywh {5 5 220 200} box DOWN_BOX color 7
} {
Fl_Calendar {} {selected
xywh {10 5 200 190} text_font 9 color 0xffffff00 text_color 18 label_size 10 text_size 14
}
}
Fl_Clock {} {
private xywh {235 5 165 165}
}
Fl_Input timeBox {
xywh {235 180 165 25}
extra_code {\#include "fl_time.h"}
class Fl_Time
}
}
Fl_Group {} {
label Timezones open
xywh {0 20 405 220} hide
} {
Fl_Group {} {open
xywh {10 5 385 170} box DOWN_BOX color 0x7b00
} {
Fl_Box {} {
xywh {10 5 350 160} box FLAT_BOX image {icons/world.xpm} color 0x8000
}
}
Fl_Input_Browser timeZonesList {open
xywh {12 185 383 25}
extra_code {o->type(1); fillTimeZones();
getCurrentTimeZone();}
} {}
}
}
}
}

44
ede-timedate/etimedate.h Normal file
View File

@@ -0,0 +1,44 @@
/*
* $Id$
*
* Application for setting system date, time and local timezone
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2000-2006 EDE Authors.
*
* This program is licenced under terms of the
* GNU General Public Licence version 2 or newer.
* See COPYING for details.
*/
#ifndef etimedate_h
#define etimedate_h
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Tabs.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Clock.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Input_Choice.H>
#include "EDE_Calendar.h"
#include "Fl_Time_Input.h"
//#define Fl_Time_Input Fl_Input
extern EDE_Calendar *calendar;
extern Fl_Time_Input *timeBox;
extern Fl_Choice *timeFormat;
extern Fl_Choice *timeZonesList;
extern Fl_Menu_Item menu_timeFormat[];
extern Fl_Button *applyButton;
extern Fl_Input_Choice* serverList;
extern Fl_Clock_Output* clk;
#endif

View File

@@ -0,0 +1,190 @@
/* XPM */
const char *world[] = {
"356 184 3 1",
". c #000078",
"# c #007800",
"a c #0000f8",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"...................................................................................................................................................................................................................................................................................................................................................############.....",
"................................................................................................................................................................................................................................................................................................................................................################....",
".........................................................................................................................................................................................................................................................................................................###############....................#######################.",
".......................................................................................................................................................................................................................................................................................................##################...............############################",
"..................................................................................................................................................................................................................................................................................................########################.......###################################",
"...####.....................................................................##...................................................................................................................................................................................................................########################...####################################.###",
".#######...................................................................###....##.............................#.............................................................................................................................................................................#########################..#########################################.",
"########.........................................................#####....###..#.###............................####........................................................................................................................................................................##..####.##################..###########################################",
"######................................###.###...................######...#..#.###.............................####.....................................................................................................................................................................#...####..####......##########..#############################################",
"#####..........................#....#.#########...................###..##..##..#..............................###..##.................................................................................................................................................................###..######.....##############...#############################################",
"####..........................########...####................................................................##..#####...........................................................................................................................................................####..##...#######..############.....##############################################",
"##.............................########...........................................................................####...##.....................................................................................................................................................######.......######..##########.....################################################",
"##.............................##.######..........................................................................###..#####...............................................................................................................................................##....######.##....#####..##########...##################################################",
"##................................#####.##.............................................................................####.............................................................................................................................................#####.....##########.#####.#.##########..###################################################",
"##...............................######.###...............................................................................#............................................................................................................................................######....#.###..#####.###..#.#########...###################################################",
"###................................###...##..........................................##................................#####......................................................................................................................................####....##......#........#......##.#######........################################################",
"###.................................#...............................................####...............................#######..................................................................................................................................#####..................#...##..#.###.#######.......#################################################",
"#...............................................................................##.#####.......................##.#..#############..............................................................................................................................#####...##..####.########.#######.###..####..........######.########################################",
"#.............................................................................######........................#########################......................#####...............................................................................................####....##########.#######....####...#.##..............##.....#######################################",
"##...........................................................................######.......................###########################.....................#######...###...............................................................................................###########..######.##.#######.#####.....................#####################################",
"#..........................................................................#####.........................##########################........................#####....###.................................................................................................######......###...###.######.####.......................####################################",
"##.........................................................................####..........................########################...........................##.................................................................................................#######.................#...........##............................###################################",
"#.........................................................................####.....................###.######################.#..##............................#..............................................................................................#########.........#...######..####.......##.###....................###################################",
".........................................................................####............#.........##########################...#########....###..............###.............................................................................................########.........###..#####..#####..##..########...................###################################",
"........................................................................####.............##..###...##########################.#############.#######.............#.............................................................................................######..############..######..###..##############..................##################################.",
"........................................................................###.............####.#####..#################################################.........###..#.........................................................................................######.##############..######......####..##########.................##################################.",
"........................................................................####...........############..################################################........##########.............................#..........................................................###################....###..##....###...###########................#################################.",
"............................................##.##.......................####..........#####.###############################################################.##############.........................####.......................###.##.............................###################......####...###.#.#############.................##############################.",
"........................................##########.........................##.##.....#######.####################################################################################...................##.....................############..............................################.....#####..###.##.##############.............###############################..",
".....................................#############............................####...#######.######################################################################################.........#.............................##################...........##.##..........################..#######....##...###############............##############################...",
"...................................###################.#.......................#####..######..######################################################################################.#####.########...................###########################..################...##########.####..###.#####.....#.......##########............##############################...",
"...................................######################..............###..##.#####...#####..#######################################################################################################................##################################################.######..#.###..####.######...####.....########.................#########################....",
".................................##########################.....##...##################.####..############################################################################################################...........###################################################.##....###.#######.########..####....############...........########################.##.....",
"..................................###########################..###..########################.##############################################################################################################..........###################################################################################....####.#########.........######################.#.........",
".................................############################..###.##########################################################################################################################################...........#################################################################################...###.##########.#.......#####################............",
"...###...........................####################...####...##################################################################################################################################################....############################################.#.###################################........##############.......###################...........#.",
"#######.........................######################......######################################################################################################################################################..#############################################..##################################..........#######..####........##################...........###",
"########.......................##########..############.....######################################################################################################################################################..####################################################################################....############.#...........#############..#............###",
"#######........................##########...###########..############################################################################################################################################...#####.##.....####################################################################################..##############.............###########.................##",
"######.......................############...############..#########################################################################################################################################...................####################################################################################..##..#########.............###########..................#",
".##........................############...##########################################################################################################################################################..................##########################################################################....#...##........#####.#..............#########....................",
".............#............############...############################################################################################################################################################.................##########################################################################......##..#..........###................#######.....................",
"............##...........#############..###########################################################################################################################################################..................#####################################################.###################.......###..#.######....#.................#######.....................",
".........................############...##########.#################################################################################################################################..#########.......................#######################################################################...............#######......................######.....................",
".........................#############..######..##..###########################################################################################################################..##a#########.........................#######################################################################...............#########....#.................####.....................",
".........................##############..####..##############################################################################################################################.....#####..##............................################...##################################################................#########....#...................#......................",
".................#........############....#...#########################################################################################################################.#####....#####....................................########.##...........############################..##############...............###########.####.........................................",
".............#...#........##...#######......#######################################################################################################################.##...###....#####.....................................########...............#############################################.............#################........................................",
".............#.##...........##.######....#.#######################################################################################################################.............#####.........................................####.#...............############################################..............################........................................",
"..............###..........###.######...#######################################################################################################################.#.............#######.......................................####..#...............#################################################..........################.......................................",
"..............###..........####.####....#####################################################################################################################.................#######....................................#####...##.................#################################################....##.#################.......................................",
"...............###..........##..........####################################################################################################################.................#######....................................######........................##############################################.......##################.......................................",
"............###.###.........###.##..######################################################################################################################...................######....##..............................###.#...........................#################################################...#####################....................................",
"...........####..###........#############################################################################################################################....................######......#...........................#.##.............................#.################################################..#######################...................................",
"..........####..#####.....#################################################################################################################################..#..#............#####..................................##................................##################################################...#######################..................................",
"..........####..#####...#########################################################################################################################################.............###...............#.....................................................###################################################..#######################..................................",
"..........####.######..#########################################################################################################################################..............##.......................................................................#..################################################.########################.................................",
"...........##..######..##########################################################################################################################################.............#.............................................................................#############################################.#######################...................................",
".....................#############################################################################################################################################............#............................................................................####################################################################.....................................",
"..................################################################################################################################################################..........................................................................................###########################################################.....##...##.................................",
"...............##################################################################################################################################################..........#................................................................................###.##################################.##################.####.#....##..................................",
"................################################################################################################################################################..........##..................................................................................###################################...################.#####.....####.................................",
".................###############################################################################################################################################.......####...................................................................................####################################...###################......#####.................................",
"..................##########################################################################################################################################..........####....................................................................................#####################################...###############.#.......######................................",
"...................################################.#######################################################################################################..........####......................................................................................#####################################...#.############........#######................................",
"...................##############.################...##...#################################################################################################....##...###........................................................................................####################################.###..############............#.#................................",
".............####.##########..####.##############..........#############..#######.########################################################################.....###.............................................................................................####################################.###.###...######................................................",
"............#############.#....####.############............###########..#######..#######################################################################......####............................................................................................####################################.################................................................",
"............###########......#..####..#########.....###......##########.########..######################################################################......####.............................................................................................####################################.#####.##########................................................",
"............###########.....##...####..#########..#####################.#############################################################################.........###.............................................................................................######################################################................................................",
"............#########.......##.....###.########.#######################..###########################################################################..........#...............................................................................................###################################################...................................................",
"............#########.##.....#.....##...###############################..#########################################################################...........###...............................................................................................#################################################....................................................",
".............#######.............#.##....####.##########################..###############################################################...#..####..........###...............................................................................................################################################.............................................##......",
"..............#####.............##.......###..#########################...##############################################################.......####.........###.................................................................................................###############################################..............................................###....",
"...............###...#####.####.###......##.#..########################....#################################################################....####.......####.................................................................................................##############################################................................................##....",
"...................############............###..##...#.#####################################################################################....####....#######..................................................................................................##############################################.....................................................",
"...............#################............##....#.##.###################################################################################.......##..#########...................................................................................................##############################################.....................................................",
".............##################.............##...####..####################################################################################.....###..#######......................................................................................................###########################################.......................................................",
"............###################.........##........##..#####################################################################################.........#..####.........................................................................................................########################################........................................................",
"...........########################.....###..#........######################################################################################.......#######...........................................................................................................#####################################..........................................................",
"...........##########################..########.############################################################################################.......###.......##.......................................................................................................####################################..........................................................",
"...........#################################################################################################################################........#.........##......................................................................................................###.###############################...........................................................",
"...........###########################################.#####################################################################################..................#........................................................................................................######################.###...######..........................................................",
"..........############################################.#####################################################################################...................#........................................##..............................................................##.#################...#.......###..........................................................",
".........#############################################.##############.######################################################################.......#...........#.........................................###............................................................###.###############............###..#.......................................................",
".......###############################################..##############.###...##############################################################......#.............##........................................###..............................................................##.#############..............###.##......................................................",
"......#################################################.###############....#..############################################################......###.............##........................................................................................................###.############..............##...##.....................................................",
"......#################################################..##############...##...#.###########################..############################.##....#.............###...............................................####......................................................##.############..............##...###....................................................",
".....##################################################...#############..####.........#####################....##########################.###...................#..................................................###......................................................##.##########....................###....................................................",
".....###################################################..####################.........####################....#########################..##........................................................................####........................................................#########..............####....#....................................................",
"....#####################################################..####################.........###################....#######################....#............................................................................##.###.#...................................................########............######........................................................",
"....######################################################.###################..........###################...#################.###.......#.............................................................................####..###.................................................########.......###...########.....................................................",
"....#######################################################.##################...........#.##############.....################.##..............................................................................................##.................................................#########.....####........##...###................................................",
".....######################################################.#################..............#############.......###################..............................................................................................##.................................................#########...####..............####...............................................",
".....#######################################################.###############...............#############........#############..##.........#..........................................................................................................................................##############........####.######.##...........................................",
".....######################################################...##############...............###########...........############............###.......................#...................................................................................................................############..........#.........#..##........................................",
".....#######################################################..###########...................#########............#############...........###.......................#.....................................................................................................................########...##....................#.#.....................................#.",
".....########################################################.########......................#######..............#..###########...........##..............................................................................................................................................#.###########.....................##...................................##.",
".....########################################################..####..........................######............##...###########............##................................................................................................................................................##########......................#....................................#.",
".....##########################################################.##...........................#######..........###...############............#......................#...........................................................................................................................########......................#......................................",
".....###########################################################.............................#######...........##...###..#######...........#.#.....................#...............................................................................................................................###............###........#......................................",
"......#############################################################.####......................######..........##....###..######..........#..#.##....................................................................................................................................................###.........#######......#......................................",
"......#################################################################.......................####.............#...####...###...........##.#.#...........#..........................................................................................................................................###....#..###############.......................................",
".......################################################################........................##..#................###....##...........#...............##............................................................................................................................................#########################.....................................",
".......###############################################################............................###...............###................#....####.......###............................................................................................................................................#####.###################.....................................",
"........##############################################################............................####...............###.....................####......##........................#..........................................................................................................................###################.....................................",
".........##############.#############################################.............................###.................##..............##......###......#........................###.........................................................................................................................####################....................................",
"............########.....###########################################...............................#.............###..###...........#####........................................##.........................................................................................................................##########################..............................",
"...........................########################################...............................................#####.##.........######........................................##.........................................................................................................................###########################.............................",
"............................#######################################................................................####..##.......######..........................................#.........................................................................................................................###########################.............................",
".............................####################################...................................................###..###.....########......................................................................................................................................................#...........############################.............................",
"..............................###################################....................................................###..##....##########..###............................................................##..................................................................................##..........############################.............................",
".............................##################################......................................................####.......#########.####.......##....................................................##.................................................................................###.........#############################.............................",
"............................##################################........................................................######....#######..####.......####...................................................##..................................................................................##........###################################........................",
".............................################################..........................................................######...#######..####...##...####.###..................................................................................................................................##........####################################.......................",
"..............................###############################.............##...........................................######....######.#####.....##..########............................................................................................................................................#####################################.....................",
"...............................#############################.............###............................................#####......####..###...##.###.##########........##...............................................................................................................................##########################################.................",
"................................###########################.............###...............................................###............###.......#....############...####..........................##........###.......................................................................................##########################################.................",
".................................##########################.............##.................................................####........................###.##########.####.##........................##........###........................................................................................############################################..............",
"................................###########################.................................................................######..................#..##...#########.......#.........................##......####.........................................................................................###########################################..............",
".................................##########################..................................................................########.#....###.##...##......#########........####......................#.......##..........................................................................................###########################################..............",
".................................###########################...................................................................######.#######..#..............###..###........####.........................................................................................................................##########################################...............",
".................................############################..##.....................................................................#..###.###....................###..........###........................................................................................................................#########################################...............",
"..................................###########################..##................................................................................................................###.........................................................................................................................#######################################................",
"..................................###########################.......#................................................................................###........#...............................................###..........................................................................................######################################.................",
".................................############################.......###.............................................................................######.....###.....................................##......####...........................................................................................#####################################.................",
".................................############################......####............................................................................#######.....###......................................#.......##............................................................................................#####################################.................",
"................................#############################....#####.........................................................................############....####.....................#......................................................................................................................####################################.................",
"................................#############################...######........................................................................###############..#####...................###......................................................................................................................##################################..................",
"................................############################....######........................................................................###############.######.....................#.........#.#............................................................................................................################################..................",
".................................##########################....#######......................................................................########################..............................###...............................................................................................................###############################.................",
".................................########################......######........#.............................................................#########################..............................####..............................................................................................................###############################.................",
"..................................######################........#####.....##.#...........................................................#############################............................................................................#.................................................................##############################..................",
"..................................#####################........######.....##...........................................................################################..............##..........................................................####...............................................................#############################...................",
"..................................######################.......#####..................................................................##################################..............##..........................................................####..............................................................#############################...................",
"...................................#####################.......#####.................................................................###################################..............###...........................................................#...............................................................###########################.....................",
"...................................#####################.......#####................................................................#####################################..............................................................................##...........................................................#########################.......................",
"...................................####################..........##.................................................................######################################............................................................................####.........................................................##########################.......................",
"...................................###################..............................................................................#######################################.............................................................................##.........................................................#######################..........................",
"...................................##################..............................................................................########################################........................................................................................................................................#######################..........................",
"...................................##################...............................................................................########################################.......................................................................................................................................#######################..........................",
"....................................#################...............................................................................########################################.......................................................................................................................................######################...........................",
"....................................################.................................................................................#######################################.......................................................................................................................................#####################............................",
"....................................###############...................................................................................#####################################........................................................................................................................................#####################............................",
".....................................##############...................................................................................#####################################........................................................................................................................................####################.............................",
"......................................#############...................................................................................############....####################.........................................................................................................................................##################...............................",
"......................................###########.....................................................................................############......###.##############.........................................................................................................................................##################...............................",
"......................................#########.......................................................................................#######............#..#############..........................................................................................................................................###############.#................................",
"........................................####.........................................................................................####..................##############.....................#....................................................................................................................##############...................................",
"......................................................................................................................................##..................###############.....................##..................................................................................................................###############...................................",
".............................................................................................................................................................###########......................###.................................................................................................................###############...................................",
"..............................................................................................................................................................##########.......................###...............................................................................................................###############....................................",
"...............................................................................................................................................................#..###.#.........................####.............................................................................................................##############.....................................",
"...................................................................................................................................................................##..........................#####.............................................................................................................############.......................................",
"...............................................................................................................................................................................................####..............................................................................................................###########........................................",
"...................................................................................................................................................................#............................##..............................................................................................................###########.........................................",
"..................................................................................................................................................................###........................###.#................................................................................................................########..........................................",
"...................................................................................................................................................................####......................###..................................................................................................................#######...........................................",
"....................................................................................................................................................................##.....................####...................................................................................................................#######...........................................",
"..........................................................................................................................................................................................#####..................................................................................................................########...........................................",
".........................................................................................................................................................................................#####..................................................................................................................########............................................",
"........................................................................................................................................................................................#####...................................................................................................................#######.............................................",
"........................................................................................................................................................................................####....................................................................................................................#########...........................................",
"........................................................................................................................................................................................###.....................................................................................................................#########...........................................",
"................................................................................................................................................................................................................................................................................................................#########...........................................",
".......................................................................................##.......................................................................................................................................................................................................................########............................................",
"........................................................................................#.......................................................................................................................................................................................................................#######.............................................",
"................................................................................................................................................................................................................................................................................................................######.......####...................................",
".................................................................................................................................................................................................................................................................................................................#####......#####...................................",
"..........................................................................................#......................................................................................................................................................................................................................######......#......................................",
".........................................................................................###......................................................................................................................................................................................................................######............................................",
"..........................................................................................##.......................................................................................................................................................................................................................######...........................................",
"...................................................................................................................................................................................................................................................................................................................#######..........................................",
".....................................................................................................................................................................................................................................................................................................................####...........................................",
"......................................................................................................................................................................................................................................................................................................................##............................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"....................................................................................................................................................................................................................................................................................................................................................................",
"...................................................................................................................................................................................................................................................................................................................................................................."};

View File

@@ -0,0 +1,176 @@
/* XPM */
static char * world2_xpm[] = {
"395 170 3 1",
" c None",
". c #00017A",
"+ c #007900",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"........................................................................................................................................................................................................................................................................................................................................................................................+++++++++++++......",
".....................................................................................................................................................................................................................................................................................................................................................................................++++++++++++++++++....",
".......................................................................................................................................................................................................................................................................................................................................++++++++++++++++++++.................+++++++++++++++++++++++++++++++",
"..................................................................................................................................................................................................................................................................................................................................++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++",
"...+++++............................................................................+++..........................................................................................................................................................................................................................................++++++++++++++++++++++++++....++++++++++++++++++++++++++++++++++++++++.+++",
".++++++++..........................................................................++++....++................................+................................................................................................................................................................................................++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++.",
"+++++++++...............................................................++++++....+++...+.+++...............................+++++..........................................................................................................................................................................................++...++++.++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++",
"+++++++...................................+++..+++.....................+++++++...+..+..+++................................++++........................................................................................................................................................................................+...++++...++++.......+++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++++............................++....+.++++++++++.....................++++..++..++...+.................................+++...++..................................................................................................................................................................................++++..+++++++.....++++++++++++++++...++++++++++++++++++++++++++++++++++++++++++++++++++",
"++++.............................+++++++++...+++++.......................................................................++..++++++............................................................................................................................................................................++++...++...++++++++..+++++++++++++......+++++++++++++++++++++++++++++++++++++++++++++++++++",
"++................................+++++++++...................................................................................+++++...++......................................................................................................................................................................++++++........+++++++..+++++++++++......+++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++................................+++.++++++..................................................................................++++..++++++..............................................................................................................................................................++.....+++++++.++....++++++..+++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++....................................+++++.+++.....................................................................................++++.............................................................................................................................................................+++++......+++++++++++.++++++.+.+++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"++...................................++++++.++++.......................................................................................+............................................................................................................................................................++++++.....+.+++...+++++.++++..+.++++++++++...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"+++.....................................+....................................................+++++..................................++++++++................................................................................................................................................++++++....................+...++..++.+++.++++++++........++++++++++++++++++++++++++++++++++++++++++++++++++++++",
"+........................................................................................++.++++++.........................++.++..++++++++++++++............................................................................................................................................++++++...++..+++++.+++++++++.++++++++.+++..+++++...........+++++++.++++++++++++++++++++++++++++++++++++++++++++",
"+......................................................................................++++++...........................++++++++++++++++++++++++++++........................++++++.........................................................................................................++++.....+++++++++++.++++++++....+++++...+.++................++......+++++++++++++++++++++++++++++++++++++++++++",
"++...................................................................................+++++++..........................++++++++++++++++++++++++++++++.......................++++++++...+++..........................................................................................................++++++++++++..+++++++.++.++++++++.++++++.......................+++++++++++++++++++++++++++++++++++++++++",
"+..................................................................................++++++............................++++++++++++++++++++++++++++...........................++++++....+++............................................................................................................+++++++......++++...+++.+++++++.+++++.........................++++++++++++++++++++++++++++++++++++++++",
"++.................................................................................+++++.............................++++++++++++++++++++++++++..............................++............................................................................................................++++++++...................+............++...............................+++++++++++++++++++++++++++++++++++++++",
"+.................................................................................+++++.......................+++.+++++++++++++++++++++++++.+..++...............................++........................................................................................................++++++++++..........+...+++++++..+++++.......+++.+++......................+++++++++++++++++++++++++++++++++++++++",
".................................................................................++++..............+..........+++++++++++++++++++++++++++++...++++++++++....++++...............++++.......................................................................................................+++++++++..........+++..++++++..++++++..++..+++++++++.....................+++++++++++++++++++++++++++++++++++++++",
"................................................................................++++...............++..++++...+++++++++++++++++++++++++++++.++++++++++++++.++++++++...............+.......................................................................................................++++++...+++++++++++++..+++++++..+++...+++++++++++++++....................++++++++++++++++++++++++++++++++++++++.",
"................................................................................+++...............++++.++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++..........++++..+...................................................................................................++++++.++++++++++++++++..+++++++.......++++..+++++++++++...................++++++++++++++++++++++++++++++++++++++.",
"................................................................................++++.............+++++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++.........+++++++++++................................++................................................................+++++++++++++++++++++....++++..++.....+++...+++++++++++++.................+++++++++++++++++++++++++++++++++++++.",
".................................................++.++..........................++++...........++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++...........................+++++.........................++++.++................................+++++++++++++++++++++.......++++....+++.+.+++++++++++++++...................+++++++++++++++++++++++++++++++++.",
".........................................++++++++++++++................................++++...++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........+................................++++++++++++++++++++............++.+++...........+++++++++++++++++...+++++++.....++...+++++++++++++++++.............++++++++++++++++++++++++++++++++++...",
".......................................+++++++++++++++++++++.+..........................+++++..+++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++.+++++++++.....................++++++++++++++++++++++++++++++...+++++++++++++++++....+++++++++++.++++...+++.++++++.....+........+++++++++++.............++++++++++++++++++++++++++++++++++...",
".......................................++++++++++++++++++++++++................+++..+++.+++++....+++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.................++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++..+.+++...++++.+++++++...+++++.....+++++++++...................++++++++++++++++++++++++++++....",
".....................................++++++++++++++++++++++++++++......++....++++++++++++++++++++.++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++.....+++.++++++++.+++++++++..+++++....+++++++++++++............+++++++++++++++++++++++++++.++......",
"......................................++++++++++++++++++++++++++++++..+++..+++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++.++++++++++..........+++++++++++++++++++++++++.+..........",
".....................................+++++++++++++++++++++++++++++++..+++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.............++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...+++.+++++++++++..+.......++++++++++++++++++++++++.............",
"...++++..............................++++++++++++++++++++++...+++++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++++.+.+++++++++++++++++++++++++++++++++++++++.........++++++++++++++++.......++++++++++++++++++++++............+.",
"++++++++............................++++++++++++++++++++++++.......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++...........++++++++..+++++........++++++++++++++++++++.............+++",
"+++++++++.........................+++++++++++...+++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....+++++++++++++.+.............++++++++++++++..+..............+++",
"++++++++..........................+++++++++++....++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...+++++..++.....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++...............++++++++++++...................++",
"+++++++.........................+++++++++++++....+++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++..++++++++++...............++++++++++++....................+",
".++...........................+++++++++++++....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....+...+++.........+++++.+................++++++++++......................",
".............+++............++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++........+++...+.+++++++....+...................++++++++.......................",
"............................+++++++++++++...+++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++.........................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.................++++++++........................+++++++.......................",
"............................++++++++++++++..+++++++..++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++.++++++++++...........................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.................++++++++++....+...................+++++.......................",
"............................+++++++++++++++..+++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++++..++................................+++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++++++++++..................++++++++++....+.....................++........................",
"...................+.........+++++++++++++.....+...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++....++++++........................................+++++++++.++............+++++++++++++++++++++++++++++++...+++++++++++++++.................++++++++++++.+++++.............................................",
"..............++...+.........++...++++++++.......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++....+++....++++++.........................................+++++++++................++++++++++++++++++++++++++++++++++++++++++++++++++...............+++++++++++++++++++............................................",
"..............++.++............++.+++++++....++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..............++++++.............................................+++++.+.................++++++++++++++++++++++++++++++++++++++++++++++++................++++++++++++++++++............................................",
"................+++...........+++.+++++++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+..............++++++++...........................................+++++..+.................++++++++++++++++++++++++++++++++++++++++++++++++++++++...........++++++++++++++++++...........................................",
"................+++...........++++..++++....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...................++++++++........................................+++++....++...................++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++.+++++++++++++++++++...........................................",
".................+++...........++...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...................++++++++........................................++++++...........................+++++++++++++++++++++++++++++++++++++++++++++++++++........++++++++++++++++++++...........................................",
".............++++.+++..........+++..++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................+++++++....++..................................+++.+..............................++++++++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++........................................",
"............+++++..+++.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......................+++++++......+..............................+..++................................+.+++++++++++++++++++++++++++++++++++++++++++++++++++++...+++++++++++++++++++++++++.......................................",
"...........+++++..+++++......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+...+.............+++++......................................++....................................+++++++++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++......................................",
"...........+++++.++++++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...............++...............................................................................+..++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++.....................................",
"............++...++++++...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..............+......................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++.......................................",
".......................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.............+....................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.........................................",
"....................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......++...++.....................................",
".................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........+.........................................................................................+++.++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++.++++..+....++......................................",
"..................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........++...........................................................................................+++++++++++++++++++++++++++++++++++++++...++++++++++++++++++.+++++......++++.....................................",
"...................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......+++++............................................................................................++++++++++++++++++++++++++++++++++++++++...+++++++++++++++++++++.......+++++.....................................",
"....................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........+++++.............................................................................................+++++++++++++++++++++++++++++++++++++++++...+++++++++++++++++.+........++++++....................................",
".....................++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........+++++...............................................................................................+++++++++++++++++++++++++++++++++++++++++...+..+++++++++++++.........+++++++....................................",
".....................++++++++++++++++.+++++++++++++++++....++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....+++...+++..................................................................................................++++++++++++++++++++++++++++++++++++++++.+++...+++++++++++++.............+.+....................................",
"..............+++++.+++++++++++..+++++.+++++++++++++++...........+++++++++++++++..++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++.......................................................................................................++++++++++++++++++++++++++++++++++++++++.+++.++++...+++++++.....................................................",
".............+++++++++++++++.+....+++++.+++++++++++++..............++++++++++++..++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......+++++......................................................................................................++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++.....................................................",
".............+++++++++++++.....++....++++..++++++++++..++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........++++.......................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................................................",
".............++++++++++........++......+++.+++++++++.++++++++++++++++++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...........+..........................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++.........................................................",
".............++++++++++.+++.....+......++...+++++++++++++++++++++++++++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++............++++.........................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++..........................................................",
"..............++++++++...............+.++....+++++.+++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...+...++++...........++++.........................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++++++++..................................................++.......",
"................+++++...............++.......++++..++++++++++++++++++++++++++++...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........++++..........+++............................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++...................................................++++....",
".................+++...++++++.++++..+++......+++.+..+++++++++++++++++++++++++++....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++........++++............................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++++++.....................................................+++....",
".....................+++++++++++++..............+++..++....+.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++.....+++++++.............................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++++++...........................................................",
".................+++++++++++++++++++.............++....++.++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........++..++++++++++..............................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++++++...........................................................",
"..............++++++++++++++++++++...............++...+++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......+++..++++++++.................................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++.............................................................",
".............+++++++++++++++++++++..........+++........+++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........+...++++....................................................................................................................+++++++++++++++++++++++++++++++++++++++++++++..............................................................",
"............+++++++++++++++++++++++++++.....++++..+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........++++++++.......................................................................................................................+++++++++++++++++++++++++++++++++++++++++................................................................",
"............+++++++++++++++++++++++++++++..+++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........+++........++...................................................................................................................++++++++++++++++++++++++++++++++++++++++................................................................",
"............++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................+....................................................................................................................++++++++++++++++++++++++.++++...+++++++................................................................",
"...........+++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................++............................................++.....................................................................++.+++++++++++++++++++...++.......++++................................................................",
"..........++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........+............++.............................................+++...................................................................+++.+++++++++++++++++.............++++..+.............................................................",
"........++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++.+++...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......+..............+++............................................+++.....................................................................++.+++++++++++++++...............++++.++............................................................",
".......++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++....+...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......+++...............++...................................................................................................................+++..+++++++++++++...............+++...++...........................................................",
".......++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++...++....+.++++++++++++++++++++++++++++++..+++++++++++++++++++++++++++++++.++.....+..............++++....................................................++++............................................................++..+++++++++++++...............+++...+++..........................................................",
"......+++++++++++++++++++++++++++++++++++++++++++++++++++++++...+++++++++++++++..++++..........++++++++++++++++++++++++....+++++++++++++++++++++++++++++.+++......................+.......................................................+++............................................................+++.+++++++++++......................+++..........................................................",
"......++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++++++++++..........++++++++++++++++++++++....++++++++++++++++++++++++++++..++................................................................................+++++..............................................................++++++++++...............+++++....+..........................................................",
"....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++++++++++..........+++++++++++++++++++++....++++++++++++++++++++++++++....+.....................................................................................++.+++.+.........................................................+++++++++.............+++++++..............................................................",
"....++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++...........+++++++++++++++++++++...+++++++++++++++++++.+++........+......................................................................................++++..++++......................................................+++++++++........+++...+++++++++...........................................................",
"....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++............+.++++++++++++++++.....++++++++++++++++++.++........................................................................................................+++......................................................++++++++++......++++.........++...++++.....................................................",
"......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++................++++++++++++++........+++++++++++++++++++++.........................................................................................................++......................................................++++++++++...+++++...............+++++....................................................",
"......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++.................++++++++++++............++++++++++++++.............+++..........................+................................................................................................................................+++++++++++++...........+..........+..+++............................................",
"......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++.....................++++++++++.............+++++++++++++++............+++..........................+..................................................................................................................................+++++++++...++......................++.+.........................................+.",
"......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++........................++++++++...............+...++++++++++++............++..............................................................................................................................................................+.++++++++++++........................++.......................................++.",
"......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++.............................+++++++.............++....++++++++++++.............++................................................................................................................................................................+++++++++++.........................+........................................+.",
"......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++..............................++++++++...........+++....+++++++++++++.............+.........................+........................................................................................................................................+++++++++.........................+..........................................",
"......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++................................++++++++............++....+++..++++++++............+.++.......................+.............................................................................................................................................+++..............+++.........+..........................................",
".......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++........................+++++++...........++.....+++..+++++++...........+..+..++....................................................................................................................................................................+++..........++++++++.......+..........................................",
".......++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.........................+++++..............+....++++...++++............++.+.++............+.........................................................................................................................................................+++.....+..+++++++++++++++++...........................................",
"........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........................+++..+..................+++....+++............+.................++...........................................................................................................................................................++++++++++++++++++++++++++++.........................................",
"........++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...............................+++.................+++..................+....+++++........+++...........................................................................................................................................................++++++.+++++++++++++++++++++.........................................",
".........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...............................++++.................+++.......................+++++.......++..........................+........................................................................................................................................+++++++++++++++++++++.........................................",
"..........++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++................................+++...................++................++.......+++.......+..........................++++......................................................................................................................................++++++++++++++++++++++........................................",
"..............................++++++++++++++++++++++++++++++++++++++++++++....................................................++++++.++..........+++++++............................................+++......................................................................................................................................++++++++++++++++++++++++++++++................................",
"...............................+++++++++++++++++++++++++++++++++++++++++++......................................................++++..++........+++++++..............................................++......................................................................................................................................++++++++++++++++++++++++++++++................................",
"................................++++++++++++++++++++++++++++++++++++++++.........................................................+++..++++.....+++++++++......................................................................................................................................................................++............+++++++++++++++++++++++++++++++................................",
".................................+++++++++++++++++++++++++++++++++++++++..........................................................+++..+++....+++++++++++..++++..................................................................++...........................................................................................+++...........+++++++++++++++++++++++++++++++................................",
"................................++++++++++++++++++++++++++++++++++++++............................................................++++........++++++++++.+++++.......+++.........................................................++..........................................................................................++++..........++++++++++++++++++++++++++++++++................................",
"...............................++++++++++++++++++++++++++++++++++++++..............................................................+++++++....++++++++..++++........+++++........................................................++...........................................................................................+++.........++++++++++++++++++++++++++++++++++++++...........................",
"................................++++++++++++++++++++++++++++++++++++................................................................+++++++...++++++++..++++....++...+++++.+++................................................................................................................................................+++.........+++++++++++++++++++++++++++++++++++++++..........................",
".................................+++++++++++++++++++++++++++++++++++..............++................................................+++++++....+++++++.+++++......++..+++++++++............................................................................................................................................................+++++++++++++++++++++++++++++++++++++++++.......................",
"..................................+++++++++++++++++++++++++++++++++..............+++.................................................++++++......+++++..+++....++.+++.++++++++++++........+++.............................................................................................................................................++++++++++++++++++++++++++++++++++++++++++++++...................",
"....................................+++++++++++++++++++++++++++++...............+++....................................................++++.............+++........+.....+++++++++++++...+++++.............................++.........+++.................................................................................................++++++++++++++++++++++++++++++++++++++++++++++...................",
".....................................++++++++++++++++++++++++++++...............++......................................................+++++...........................+++.+++++++++++.+++++.++...........................++.........+++..................................................................................................++++++++++++++++++++++++++++++++++++++++++++++++................",
"....................................+++++++++++++++++++++++++++++.........................................................................++++++....................+...++...++++++++++........+............................++.......++++...................................................................................................+++++++++++++++++++++++++++++++++++++++++++++++................",
".....................................++++++++++++++++++++++++++++++..........................................................................+++++++.+++++++...+...............++++..+++.........++++.......................................................................................................................................++++++++++++++++++++++++++++++++++++++++++++++.................",
".....................................+++++++++++++++++++++++++++++++..++.............................................................................+..+++.++++......................+++...........++++.....................................................................................................................................+++++++++++++++++++++++++++++++++++++++++++++.................",
"......................................++++++++++++++++++++++++++++++..++............................................................................................................................++++......................................................................................................................................+++++++++++++++++++++++++++++++++++++++++++..................",
"......................................++++++++++++++++++++++++++++++.......++........................................................................................++++.........+....................................................+++....................................................................................................++++++++++++++++++++++++++++++++++++++++++...................",
".....................................+++++++++++++++++++++++++++++++.......++++.....................................................................................+++++++.....++++.........................................++.......++++.....................................................................................................+++++++++++++++++++++++++++++++++++++++++...................",
".....................................+++++++++++++++++++++++++++++++......+++++....................................................................................++++++++.....++++..........................................+........++......................................................................................................+++++++++++++++++++++++++++++++++++++++++...................",
"....................................++++++++++++++++++++++++++++++++....++++++.................................................................................+++++++++++++....+++++.......................+...................................................................................................................................++++++++++++++++++++++++++++++++++++++++...................",
"....................................++++++++++++++++++++++++++++++++...+++++++................................................................................++++++++++++++++..++++++.....................+++...................................................................................................................................++++++++++++++++++++++++++++++++++++++....................",
"....................................+++++++++++++++++++++++++++++++....+++++++................................................................................++++++++++++++++.+++++++.......................+..........+..+........................................................................................................................+++++++++++++++++++++++++++++++++++....................",
".....................................++++++++++++++++++++++++++++.....++++++++.............................................................................+++++++++++++++++++++++++++.................................++++...........................................................................................................................++++++++++++++++++++++++++++++++++...................",
".....................................++++++++++++++++++++++++++.......+++++++........++...................................................................++++++++++++++++++++++++++++.................................+++++..........................................................................................................................++++++++++++++++++++++++++++++++++...................",
"......................................++++++++++++++++++++++++.........++++++.....++.++.................................................................++++++++++++++++++++++++++++++++.....................................................................................+........................................................................+++++++++++++++++++++++++++++++++....................",
"......................................++++++++++++++++++++++++........+++++..........................................................................+++++++++++++++++++++++++++++++++++++................++.................................................................++++.....................................................................++++++++++++++++++++++++++++++++.....................",
".......................................+++++++++++++++++++++++........+++++.........................................................................++++++++++++++++++++++++++++++++++++++................+++..................................................................+......................................................................++++++++++++++++++++++++++++++.......................",
".......................................+++++++++++++++++++++++........+++++.......................................................................++++++++++++++++++++++++++++++++++++++++++......................................................................................++..................................................................+++++++++++++++++++++++++++..........................",
".......................................++++++++++++++++++++++...........++........................................................................+++++++++++++++++++++++++++++++++++++++++++....................................................................................++++................................................................++++++++++++++++++++++++++++..........................",
".......................................+++++++++++++++++++++......................................................................................++++++++++++++++++++++++++++++++++++++++++++.....................................................................................++................................................................+++++++++++++++++++++++++.............................",
".......................................++++++++++++++++++++......................................................................................+++++++++++++++++++++++++++++++++++++++++++++.......................................................................................................................................................+++++++++++++++++++++++++.............................",
".......................................++++++++++++++++++++.......................................................................................+++++++++++++++++++++++++++++++++++++++++++++......................................................................................................................................................+++++++++++++++++++++++++.............................",
"........................................+++++++++++++++++++.......................................................................................+++++++++++++++++++++++++++++++++++++++++++++......................................................................................................................................................++++++++++++++++++++++++..............................",
"........................................++++++++++++++++++..........................................................................................+++++++++++++++++++++++++++++++++++++++++++......................................................................................................................................................+++++++++++++++++++++++...............................",
"........................................+++++++++++++++++............................................................................................+++++++++++++++++++++++++++++++++++++++++.......................................................................................................................................................+++++++++++++++++++++++...............................",
".........................................++++++++++++++++............................................................................................+++++++++++++++++++++++++++++++++++++++++.......................................................................................................................................................++++++++++++++++++++++................................",
"..........................................+++++++++++++++............................................................................................+++++++++++++....+++++++++++++++++++++++........................................................................................................................................................++++++++++++++++++++..................................",
"..........................................++++++++++++...............................................................................................+++++++++++++.......+++.++++++++++++++++........................................................................................................................................................++++++++++++++++++++..................................",
"............................................+++++...................................................................................................++++....................++++++++++++++++.......................+.................................................................................................................................+++++++++++++++.......................................",
".....................................................................................................................................................++....................+++++++++++++++++.......................++...............................................................................................................................++++++++++++++++.......................................",
"..............................................................................................................................................................................++++++++++++.........................+++..............................................................................................................................++++++++++++++++.......................................",
"...............................................................................................................................................................................+++++++++++..........................+++...........................................................................................................................+++++++++++++++++........................................",
"................................................................................................................................................................................++..+++.+............................++++.........................................................................................................................++++++++++++++++.........................................",
".....................................................................................................................................................................................++.............................+++++.........................................................................................................................++++++++++++++...........................................",
"....................................................................................................................................................................................................................++++..........................................................................................................................+++++++++++++............................................",
".....................................................................................................................................................................................+...............................++..........................................................................................................................+++++++++++++.............................................",
"....................................................................................................................................................................................+++...........................+++.+.............................................................................................................................++++++++...............................................",
".....................................................................................................................................................................................++++.........................+++...............................................................................................................................+++++++................................................",
"......................................................................................................................................................................................++.......................+++++................................................................................................................................+++++++................................................",
"..............................................................................................................................................................................................................++++++..............................................................................................................................+++++++++................................................",
"............................................................................................................................................................................................................++++++...............................................................................................................................++++++++..................................................",
"............................................................................................................................................................................................................+++++................................................................................................................................++++++++++................................................",
"............................................................................................................................................................................................................+++..................................................................................................................................++++++++++................................................",
".................................................................................................................................................................................................................................................................................................................................................++++++++++................................................",
".................................................................................................++..............................................................................................................................................................................................................................................+++++++++.................................................",
"..................................................................................................+..............................................................................................................................................................................................................................................++++++++..................................................",
".................................................................................................................................................................................................................................................................................................................................................+++++++........++++.......................................",
"..................................................................................................................................................................................................................................................................................................................................................++++++.......+++++.......................................",
"....................................................................................................+.............................................................................................................................................................................................................................................+++++++.......+..........................................",
"...................................................................................................+++..............................................................................................................................................................................................................................................++++++.................................................",
"....................................................................................................++...............................................................................................................................................................................................................................................++++++................................................",
".....................................................................................................................................................................................................................................................................................................................................................+++++++...............................................",
"........................................................................................................................................................................................................................................................................................................................................................++.................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"...........................................................................................................................................................................................................................................................................................................................................................................................................",
"..........................................................................................................................................................................................................................................................................................................................................................................................................."};

53
ede-timedate/locale/hu.po Normal file
View File

@@ -0,0 +1,53 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2005-02-09 11:22+0100\n"
"Last-Translator: Nemeth Otto <otto_nemeth@freemail.hu>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr "Dátum és Idő"
#: etimedate.cpp:230
msgid "&OK"
msgstr "&OK"
#: etimedate.cpp:233
msgid "&Apply"
msgstr "&Alkalmaz"
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr "Rendszeridő beállítása. ->Csak rendszergazdának!<-"
#: etimedate.cpp:237
msgid "&Cancel"
msgstr "Mégs&em"
#: etimedate.cpp:243
msgid "Time/date"
msgstr "Dátum/idő"
#: etimedate.cpp:261
msgid "Timezones"
msgstr "Időzónák"
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr "Hiba az idő beállítása közben. Valószínűleg nem vagy rendszergazda!"
#: fl_time.cpp:397
#: fl_time.cpp:405
#: fl_time.cpp:442
msgid "Zone information not found."
msgstr "A zóna információkat nem találom."
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr "Időzóna beállítása sikertelen!"

146
ede-timedate/locale/id.po Normal file
View File

@@ -0,0 +1,146 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: etimedate\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 12:00+0100\n"
"PO-Revision-Date: 2002-11-29 15:44+0700\n"
"Last-Translator: Bambang Purnomosidi D. P. <i-am-the-boss@bpdp.org>\n"
"Language-Team: id <i-am-the-boss@bpdp.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-2\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr "Jam dan tanggal"
#: etimedate.cpp:230
msgid "&OK"
msgstr "&OK"
#: etimedate.cpp:233
msgid "&Apply"
msgstr "&Terapkan"
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr "Set waktu sistem. ->Hanya root!<-"
#: etimedate.cpp:237
msgid "&Cancel"
msgstr "&Batal"
#: etimedate.cpp:243
msgid "Time/date"
msgstr "Jam/tanggal"
#: etimedate.cpp:261
msgid "Timezones"
msgstr "Zone waktu"
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr "Salah seting jam. Anda mungkin bukan superuser!"
#: fl_time.cpp:397 fl_time.cpp:405 fl_time.cpp:442
msgid "Zone information not found."
msgstr ""
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr "Tidak bisa mensetup zone waktu!"
#~ msgid "H-"
#~ msgstr "H-"
#~ msgid "H+"
#~ msgstr "H+"
#~ msgid "M-"
#~ msgstr "M-"
#~ msgid "M+"
#~ msgstr "M+"
#~ msgid "Su"
#~ msgstr "Mg"
#~ msgid "Mo"
#~ msgstr "Sn"
#~ msgid "Tu"
#~ msgstr "Sl"
#~ msgid "We"
#~ msgstr "Rb"
#~ msgid "Th"
#~ msgstr "Km"
#~ msgid "Fr"
#~ msgstr "Jm"
#~ msgid "St"
#~ msgstr "St"
#~ msgid "Y-"
#~ msgstr "Y-"
#~ msgid "Previous year."
#~ msgstr "Tahun sebelumnya."
# msgid "M-"
# msgstr "M-"
#~ msgid "Previous month."
#~ msgstr "Bulan sebelumnya."
# msgid "M+"
# msgstr "M+"
#~ msgid "Next month."
#~ msgstr "Bulan berikutnya."
#~ msgid "Y+"
#~ msgstr "Y+"
#~ msgid "Next year."
#~ msgstr "Tahun berikutnya."
#~ msgid "January"
#~ msgstr "Januari"
#~ msgid "Febuary"
#~ msgstr "Februari"
#~ msgid "March"
#~ msgstr "Maret"
#~ msgid "April"
#~ msgstr "April"
#~ msgid "May"
#~ msgstr "Mei"
#~ msgid "June"
#~ msgstr "Juni"
#~ msgid "July"
#~ msgstr "Juli"
#~ msgid "August"
#~ msgstr "Agustus"
#~ msgid "September"
#~ msgstr "September"
#~ msgid "October"
#~ msgstr "Oktober"
#~ msgid "November"
#~ msgstr "November"
#~ msgid "December"
#~ msgstr "Desember"

View File

@@ -0,0 +1,57 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 12:00+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr ""
#: etimedate.cpp:230
msgid "&OK"
msgstr ""
#: etimedate.cpp:233
msgid "&Apply"
msgstr ""
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr ""
#: etimedate.cpp:237
msgid "&Cancel"
msgstr ""
#: etimedate.cpp:243
msgid "Time/date"
msgstr ""
#: etimedate.cpp:261
msgid "Timezones"
msgstr ""
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr ""
#: fl_time.cpp:397 fl_time.cpp:405 fl_time.cpp:442
msgid "Zone information not found."
msgstr ""
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr ""

147
ede-timedate/locale/ru.po Normal file
View File

@@ -0,0 +1,147 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 12:00+0100\n"
"PO-Revision-Date: 2002-11-28 HO:MI+ZONE\n"
"Last-Translator: aabbvv <null@list.ru>\n"
"Language-Team: RUSSIAN <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>"
#: etimedate.cpp:230
msgid "&OK"
msgstr "&OK"
#: etimedate.cpp:233
msgid "&Apply"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. -><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> root!<-"
#: etimedate.cpp:237
msgid "&Cancel"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#: etimedate.cpp:243
msgid "Time/date"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>"
#: etimedate.cpp:261
msgid "Timezones"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> root ;-)"
#: fl_time.cpp:397 fl_time.cpp:405 fl_time.cpp:442
msgid "Zone information not found."
msgstr ""
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>!"
#~ msgid "H-"
#~ msgstr "<22>-"
#~ msgid "H+"
#~ msgstr "<22>+"
#~ msgid "M-"
#~ msgstr "<22>-"
#~ msgid "M+"
#~ msgstr "<22>+"
#~ msgid "Su"
#~ msgstr "<22><>"
#~ msgid "Mo"
#~ msgstr "<22><>"
#~ msgid "Tu"
#~ msgstr "<22><>"
#~ msgid "We"
#~ msgstr "<22><>"
#~ msgid "Th"
#~ msgstr "<22><>"
#~ msgid "Fr"
#~ msgstr "<22><>"
#~ msgid "St"
#~ msgstr "<22><>"
#~ msgid "Y-"
#~ msgstr "<22>-"
#~ msgid "Previous year."
#~ msgstr "<22>+"
# msgid "M-"
# msgstr "<22>-"
#~ msgid "Previous month."
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
# msgid "M+"
# msgstr "<22>+"
#~ msgid "Next month."
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
#~ msgid "Y+"
#~ msgstr "<22>+"
#~ msgid "Next year."
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>."
#~ msgid "January"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "Febuary"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "March"
#~ msgstr "<22><><EFBFBD><EFBFBD>"
#~ msgid "April"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "May"
#~ msgstr "<22><><EFBFBD>"
#~ msgid "June"
#~ msgstr "<22><><EFBFBD><EFBFBD>"
#~ msgid "July"
#~ msgstr "<22><><EFBFBD><EFBFBD>"
#~ msgid "August"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "September"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "October"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "November"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#~ msgid "December"
#~ msgstr "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"

147
ede-timedate/locale/sk.po Normal file
View File

@@ -0,0 +1,147 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: etimedate 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 12:00+0100\n"
"PO-Revision-Date: 2002-04-21 14:50+0200\n"
"Last-Translator: Martin Pekar <cortex@nextra.sk>\n"
"Language-Team: Slovak <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr "Čas a dátum"
#: etimedate.cpp:230
msgid "&OK"
msgstr "&OK"
#: etimedate.cpp:233
msgid "&Apply"
msgstr "&Použiť"
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr "Nastaviť systémový čas. ->Iba root užívateľ!<-"
#: etimedate.cpp:237
msgid "&Cancel"
msgstr "&Zrušiť"
#: etimedate.cpp:243
msgid "Time/date"
msgstr "Čas/dátum"
#: etimedate.cpp:261
msgid "Timezones"
msgstr "Časové zóny"
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr ""
"Nastala chyba pri nastavovaní času. Pravdepodobne nie ste superužívateľ!"
#: fl_time.cpp:397 fl_time.cpp:405 fl_time.cpp:442
msgid "Zone information not found."
msgstr ""
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr "Nemôžem nastaviť časovú zónu!"
#~ msgid "H-"
#~ msgstr "H-"
#~ msgid "H+"
#~ msgstr "H+"
#~ msgid "M-"
#~ msgstr "M-"
#~ msgid "M+"
#~ msgstr "M+"
#~ msgid "Su"
#~ msgstr "Ne"
#~ msgid "Mo"
#~ msgstr "Po"
#~ msgid "Tu"
#~ msgstr "Ut"
#~ msgid "We"
#~ msgstr "St"
#~ msgid "Th"
#~ msgstr "Št"
#~ msgid "Fr"
#~ msgstr "Pi"
#~ msgid "St"
#~ msgstr "So"
#~ msgid "Y-"
#~ msgstr "R-"
#~ msgid "Previous year."
#~ msgstr "Predchádzajúci rok."
# msgid "M-"
# msgstr "M-"
#~ msgid "Previous month."
#~ msgstr "Predchádzajúci mesiac."
# msgid "M+"
# msgstr "M+"
#~ msgid "Next month."
#~ msgstr "Nasledujúci mesiac."
#~ msgid "Y+"
#~ msgstr "R+"
#~ msgid "Next year."
#~ msgstr "Nasledujúci rok."
#~ msgid "January"
#~ msgstr "Január"
#~ msgid "Febuary"
#~ msgstr "Február"
#~ msgid "March"
#~ msgstr "Marec"
#~ msgid "April"
#~ msgstr "Apríl"
#~ msgid "May"
#~ msgstr "Máj"
#~ msgid "June"
#~ msgstr "Jún"
#~ msgid "July"
#~ msgstr "Júl"
#~ msgid "August"
#~ msgstr "August"
#~ msgid "September"
#~ msgstr "September"
#~ msgid "October"
#~ msgstr "Október"
#~ msgid "November"
#~ msgstr "November"
#~ msgid "December"
#~ msgstr "December"

146
ede-timedate/locale/sr.po Normal file
View File

@@ -0,0 +1,146 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: etimedate 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 12:00+0100\n"
"PO-Revision-Date: 2002-12-02 04:11+0100\n"
"Last-Translator: Dejan Lekic <dejan@nu6.org>\n"
"Language-Team: LINUKS.org T.T. <i18n@linuks.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: etimedate.cpp:227
msgid "Time and date"
msgstr "Време и датум"
#: etimedate.cpp:230
msgid "&OK"
msgstr "&ОК"
#: etimedate.cpp:233
msgid "&Apply"
msgstr "&Примени"
#: etimedate.cpp:235
msgid "Set system time. ->Just root user!<-"
msgstr "Системско време. -> Морате бити суперкорисник! <-"
#: etimedate.cpp:237
msgid "&Cancel"
msgstr "&Одустани"
#: etimedate.cpp:243
msgid "Time/date"
msgstr "Време/датум"
#: etimedate.cpp:261
msgid "Timezones"
msgstr "Временске зоне"
#: fl_time.cpp:189
msgid "Error setting time. You are probably not superuser!"
msgstr "Грешка у сетовању времена. Вероватно нисте суперкорисник!"
#: fl_time.cpp:397 fl_time.cpp:405 fl_time.cpp:442
msgid "Zone information not found."
msgstr ""
#: fl_time.cpp:414
msgid "Cannot setup timezone!"
msgstr "Не могу да сетујем временску зону!"
#~ msgid "H-"
#~ msgstr "С-"
#~ msgid "H+"
#~ msgstr "С+"
#~ msgid "M-"
#~ msgstr "М-"
#~ msgid "M+"
#~ msgstr "М+"
#~ msgid "Su"
#~ msgstr "Не"
#~ msgid "Mo"
#~ msgstr "По"
#~ msgid "Tu"
#~ msgstr "Ут"
#~ msgid "We"
#~ msgstr "Ср"
#~ msgid "Th"
#~ msgstr "Че"
#~ msgid "Fr"
#~ msgstr "Пе"
#~ msgid "St"
#~ msgstr "Су"
#~ msgid "Y-"
#~ msgstr "Г-"
#~ msgid "Previous year."
#~ msgstr "Претходна година."
# msgid "M-"
# msgstr ""
#~ msgid "Previous month."
#~ msgstr "Претходни месец."
# msgid "M+"
# msgstr ""
#~ msgid "Next month."
#~ msgstr "Следеђи месец."
#~ msgid "Y+"
#~ msgstr "Г+"
#~ msgid "Next year."
#~ msgstr "Следећа година."
#~ msgid "January"
#~ msgstr "Јануар"
#~ msgid "Febuary"
#~ msgstr "Фебруар"
#~ msgid "March"
#~ msgstr "Март"
#~ msgid "April"
#~ msgstr "Април"
#~ msgid "May"
#~ msgstr "Мај"
#~ msgid "June"
#~ msgstr "Јун"
#~ msgid "July"
#~ msgstr "Јул"
#~ msgid "August"
#~ msgstr "Август"
#~ msgid "September"
#~ msgstr "Септембар"
#~ msgid "October"
#~ msgstr "Октобар"
#~ msgid "November"
#~ msgstr "Новембар"
#~ msgid "December"
#~ msgstr "Децембар"