#define KITAUTF8_MAE100 "前100"
#define KITAUTF8_SAIGO "最後"
#define KITAUTF8_KOWARE "ここは壊れています。"
-#define KITAUTF8_ABONE "ã\81\82ã\81¼ã\80\9cん"
+#define KITAUTF8_ABONE "ã\81\82ã\81¼ã\83¼ん"
#define KITAUTF8_GOTO "移動"
#define KITAUTF8_FRAME1 "│"
#define KITAUTF8_FRAME2 "├"
#define KITAUTF8_DIA "♦"
#define KITAUTF8_CLUB "♣"
#define KITAUTF8_SPADE "♠"
+
+#define KITAUTF8_MONDAY "(月)"
+#define KITAUTF8_TUESDAY "(火)"
+#define KITAUTF8_WEDNESDAY "(水)"
+#define KITAUTF8_THURSDAY "(木)"
+#define KITAUTF8_FRIDAY "(金)"
+#define KITAUTF8_SATURDAY "(土)"
+#define KITAUTF8_SUNDAY "(日)"
else {
/* show date only */
- tmpstr = " " + colonstr + dt_dateTime.toString( i18n( "yyyy/MM/dd hh:mm" ) ) + " ";
+ QString weekstr;
+ switch( dt_dateTime.date().dayOfWeek() ){
+ case 1: weekstr = utf8ToUnicode( KITAUTF8_MONDAY ); break;
+ case 2: weekstr = utf8ToUnicode( KITAUTF8_TUESDAY ); break;
+ case 3: weekstr = utf8ToUnicode( KITAUTF8_WEDNESDAY ); break;
+ case 4: weekstr = utf8ToUnicode( KITAUTF8_THURSDAY ); break;
+ case 5: weekstr = utf8ToUnicode( KITAUTF8_FRIDAY ); break;
+ case 6: weekstr = utf8ToUnicode( KITAUTF8_SATURDAY ); break;
+ case 7: weekstr = utf8ToUnicode( KITAUTF8_SUNDAY ); break;
+ }
+ tmpstr = " " + colonstr
+ + dt_dateTime.toString( i18n( "yyyy/MM/dd" ) )
+ + weekstr
+ + dt_dateTime.toString( i18n( " hh:mm" ) ) +" ";
}
switch(mode){