Fix translation (UTF8 -> UTF-8), spotted by naddy@
While here remove MESSAGE, it is not celestia specific. ok naddy@
This commit is contained in:
parent
3b4ae33f39
commit
7f87f36383
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2009/08/10 06:29:51 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
|
||||
COMMENT= free space simulator and planetarium
|
||||
|
||||
DISTNAME= celestia-1.6.0
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= astro x11
|
||||
|
||||
HOMEPAGE= http://www.shatters.net/celestia/
|
||||
|
12
astro/celestia/patches/patch-src_celestia_windatepicker_cpp
Normal file
12
astro/celestia/patches/patch-src_celestia_windatepicker_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_celestia_windatepicker_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
--- src/celestia/windatepicker.cpp.orig Tue Nov 17 15:25:29 2009
|
||||
+++ src/celestia/windatepicker.cpp Tue Nov 17 15:25:38 2009
|
||||
@@ -162,7 +162,7 @@ DatePicker::redraw(HDC hdc)
|
||||
sprintf(dayBuf, "%02d", date.day);
|
||||
sprintf(monthBuf, "%s", _(Months[date.month - 1]));
|
||||
sprintf(yearBuf, "%5d", date.year);
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
char* fieldText[NumFields];
|
||||
fieldText[DayField] = dayBuf;
|
30
astro/celestia/patches/patch-src_celestia_wineclipses_cpp
Normal file
30
astro/celestia/patches/patch-src_celestia_wineclipses_cpp
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-src_celestia_wineclipses_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
--- src/celestia/wineclipses.cpp.orig Tue Nov 17 15:25:44 2009
|
||||
+++ src/celestia/wineclipses.cpp Tue Nov 17 15:26:05 2009
|
||||
@@ -65,7 +65,7 @@ bool InitEclipseFinderColumns(HWND listView)
|
||||
columns[3].cx = 55;
|
||||
columns[4].pszText = _("Duration");
|
||||
columns[4].cx = 55;
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
for (i = 0; i < nColumns; i++)
|
||||
{
|
||||
@@ -146,7 +146,7 @@ void EclipseFinderDisplayItem(LPNMLVDISPINFOA nm)
|
||||
_(MonthNames[startDate.month - 1]),
|
||||
startDate.year);
|
||||
nm->item.pszText = callbackScratch;
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -321,7 +321,7 @@ BOOL APIENTRY EclipseFinderProc(HWND hDlg,
|
||||
SendDlgItemMessage(hDlg, IDC_ECLIPSETARGET, CB_ADDSTRING, 0, (LPARAM)_("Pluto"));
|
||||
SendDlgItemMessage(hDlg, IDC_ECLIPSETARGET, CB_SETCURSEL, 0, 0);
|
||||
efd->strPlaneteToFindOn = "Earth";
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
InitDateControls(hDlg, astro::Date(efd->appCore->getSimulation()->getTime()), efd->fromTime, efd->toTime);
|
||||
|
12
astro/celestia/patches/patch-src_celestia_winmain_cpp
Normal file
12
astro/celestia/patches/patch-src_celestia_winmain_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_celestia_winmain_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
--- src/celestia/winmain.cpp.orig Tue Nov 17 15:26:12 2009
|
||||
+++ src/celestia/winmain.cpp Tue Nov 17 15:26:25 2009
|
||||
@@ -1384,7 +1384,7 @@ BOOL APIENTRY SelectDisplayModeProc(HWND hDlg,
|
||||
bind_textdomain_codeset("celestia", CurrentCP());
|
||||
SendMessage(hwnd, CB_INSERTSTRING, -1,
|
||||
reinterpret_cast<LPARAM>(_("Windowed Mode")));
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
for (vector<DEVMODE>::const_iterator iter= displayModes->begin();
|
||||
iter != displayModes->end(); iter++)
|
12
astro/celestia/patches/patch-src_celestia_winstarbrowser_cpp
Normal file
12
astro/celestia/patches/patch-src_celestia_winstarbrowser_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_celestia_winstarbrowser_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
--- src/celestia/winstarbrowser.cpp.orig Tue Nov 17 15:26:31 2009
|
||||
+++ src/celestia/winstarbrowser.cpp Tue Nov 17 15:26:41 2009
|
||||
@@ -78,7 +78,7 @@ bool InitStarBrowserColumns(HWND listView)
|
||||
columns[3].fmt = LVCFMT_RIGHT;
|
||||
columns[4].pszText = _("Type");
|
||||
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
for (i = 0; i < nColumns; i++)
|
||||
{
|
12
astro/celestia/patches/patch-src_celestia_wintime_cpp
Normal file
12
astro/celestia/patches/patch-src_celestia_wintime_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_celestia_wintime_cpp,v 1.1 2009/11/17 23:12:16 ajacoutot Exp $
|
||||
--- src/celestia/wintime.cpp.orig Tue Nov 17 15:26:46 2009
|
||||
+++ src/celestia/wintime.cpp Tue Nov 17 15:26:56 2009
|
||||
@@ -96,7 +96,7 @@ SetTimeDialog::init(HWND _hDlg)
|
||||
SendDlgItemMessage(hDlg, IDC_COMBOBOX_TIMEZONE, CB_ADDSTRING, 0, (LPARAM) _("Local Time"));
|
||||
SendDlgItemMessage(hDlg, IDC_COMBOBOX_DATE_FORMAT, CB_ADDSTRING, 0, (LPARAM) _("Time Zone Name"));
|
||||
SendDlgItemMessage(hDlg, IDC_COMBOBOX_DATE_FORMAT, CB_ADDSTRING, 0, (LPARAM) _("UTC Offset"));
|
||||
- bind_textdomain_codeset("celestia", "UTF8");
|
||||
+ bind_textdomain_codeset("celestia", "UTF-8");
|
||||
|
||||
SendDlgItemMessage(hDlg, IDC_COMBOBOX_TIMEZONE, CB_SETCURSEL, useLocalTime ? 1 : 0, 0);
|
||||
SendDlgItemMessage(hDlg, IDC_COMBOBOX_DATE_FORMAT, CB_SETCURSEL, useUTCOffset ? 1 : 0, 0);
|
@ -1,3 +0,0 @@
|
||||
If you experience any issue with hardware rendering (drm+dri), you can
|
||||
fall back to software rendering by running celestia the following way:
|
||||
env LIBGL_ALWAYS_SOFTWARE=1 celestia
|
Loading…
Reference in New Issue
Block a user