Merge branch '1.0-local' into trunk-local

* 1.0-local:
  - Removed some english strings from the bulgarian translation.
cusax-fix
scmerger 17 years ago
parent 1abffe4b45
commit 08613749e0

@ -236,15 +236,15 @@ service.gui.YESTERDAY=Вчера
service.gui.JANUARY=Ян
service.gui.FEBRUARY=Фев
service.gui.MARCH=Мар
service.gui.APRIL=AprАпр
service.gui.MAY=MayМай
service.gui.JUNE=JunЮни
service.gui.JULY=JulЮли
service.gui.AUGUST=AugАвг
service.gui.SEPTEMBER=SepСеп
service.gui.OCTOBER=OctОкт
service.gui.NOVEMBER=NovНов
service.gui.DECEMBER=DecДек
service.gui.APRIL=Апр
service.gui.MAY=Май
service.gui.JUNE=Юни
service.gui.JULY=Юли
service.gui.AUGUST=Авг
service.gui.SEPTEMBER=Сеп
service.gui.OCTOBER=Окт
service.gui.NOVEMBER=Нов
service.gui.DECEMBER=Дек
# systray

@ -59,7 +59,7 @@ public static int getStringWidth(Component c, String text)
*/
public static int compareDates(Date date1, Date date2)
{
return compareDates(date1.getTime(), date2.getTime());
return date1.compareTo(date2);
}
/**
@ -75,33 +75,7 @@ public static int compareDates(Date date1, Date date2)
*/
public static int compareDates(long date1, long date2)
{
c1.setTimeInMillis(date1);
c2.setTimeInMillis(date2);
int day1 = c1.get(Calendar.DAY_OF_MONTH);
int month1 = c1.get(Calendar.MONTH);
int year1 = c1.get(Calendar.YEAR);
int day2 = c2.get(Calendar.DAY_OF_MONTH);
int month2 = c2.get(Calendar.MONTH);
int year2 = c2.get(Calendar.YEAR);
if((day1 == day2)
&& (month1 == month2)
&& (year1 == year2))
{
return 0;
}
else if((day1 < day2)
&& (month1 <= month2)
&& (year1 <= year2))
{
return -1;
}
else
{
return 1;
}
return (date1 < date2 ? -1 : (date1 == date2 ? 0 : 1));
}
/**

Loading…
Cancel
Save