openbsd-ports/astro/celestia/patches/patch-src_celestia_wintime_cpp
ajacoutot 7f87f36383 Fix translation (UTF8 -> UTF-8), spotted by naddy@
While here remove MESSAGE, it is not celestia specific.

ok naddy@
2009-11-17 23:12:16 +00:00

13 lines
843 B
Plaintext

$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);