Index: src/wp/ap/xp/ap_Dialog_Goto.cpp =================================================================== RCS file: /u2/cvsroot/abi/src/wp/ap/xp/ap_Dialog_Goto.cpp,v retrieving revision 1.8 diff -u -r1.8 ap_Dialog_Goto.cpp --- src/wp/ap/xp/ap_Dialog_Goto.cpp 2000/06/07 01:21:16 1.8 +++ src/wp/ap/xp/ap_Dialog_Goto.cpp 2000/06/18 11:11:32 @@ -24,6 +24,7 @@ #include "ut_string.h" #include "ut_debugmsg.h" #include "ap_Dialog_Goto.h" +#include "ap_Strings.h" #include "xap_Dialog_Id.h" #include "xap_DialogFactory.h" @@ -33,21 +34,33 @@ #include "fv_View.h" char * AP_Dialog_Goto::s_pJumpTargets[] = { - "Page", - "Line", + NULL, + NULL, // "Picture", TODO NULL }; + AP_Dialog_Goto::AP_Dialog_Goto(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id) : XAP_Dialog_Modeless(pDlgFactory, id) { m_pView = NULL; m_answer = a_CLOSE; + if (s_pJumpTargets[0] == NULL) + _setupJumpTargets(); } AP_Dialog_Goto::~AP_Dialog_Goto(void) { +} + +void AP_Dialog_Goto::_setupJumpTargets(void) +{ + const XAP_StringSet * pSS = m_pApp->getStringSet(); + + s_pJumpTargets[0] = ::strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Page)); + s_pJumpTargets[1] = ::strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Line)); + //s_pJumpTargets[2] = ::strdup(pSS->getValue (AP_STRING_ID_DLG_Goto_Target_Picture)); //TODO } char ** AP_Dialog_Goto::getJumpTargets(void) Index: src/wp/ap/xp/ap_Dialog_Goto.h =================================================================== RCS file: /u2/cvsroot/abi/src/wp/ap/xp/ap_Dialog_Goto.h,v retrieving revision 1.7 diff -u -r1.7 ap_Dialog_Goto.h --- src/wp/ap/xp/ap_Dialog_Goto.h 2000/06/07 01:21:16 1.7 +++ src/wp/ap/xp/ap_Dialog_Goto.h 2000/06/18 11:11:32 @@ -68,6 +68,8 @@ // is this used in a modeless dialog like this? tAnswer m_answer; + + void _setupJumpTargets(); }; #endif /* AP_DIALOG_GOTO_H */ Index: src/wp/ap/xp/ap_Menu_LabelSet_id-ID.h =================================================================== RCS file: /u2/cvsroot/abi/src/wp/ap/xp/ap_Menu_LabelSet_id-ID.h,v retrieving revision 1.6 diff -u -r1.6 ap_Menu_LabelSet_id-ID.h --- src/wp/ap/xp/ap_Menu_LabelSet_id-ID.h 2000/03/23 15:54:53 1.6 +++ src/wp/ap/xp/ap_Menu_LabelSet_id-ID.h 2000/06/18 11:11:33 @@ -84,7 +84,7 @@ MenuLabel(AP_MENU_ID_INSERT, "&Sisipkan", NULL) MenuLabel(AP_MENU_ID_INSERT_BREAK, "&Pemutus", "Sisipkan pemutus halaman, kolom, atau bagian") - MenuLabel(AP_MENU_ID_INSERT_PAGENO, "&Nomor Halaman", "Sisipkan nomor halaman yang diganti secara automatis") + MenuLabel(AP_MENU_ID_INSERT_PAGENO, "&Nomor Halaman", "Sisipkan nomor halaman yang diganti secara otomatis") MenuLabel(AP_MENU_ID_INSERT_DATETIME, "&Tanggal dan Jam", "Sisipkan tanggal dan/atau jam") MenuLabel(AP_MENU_ID_INSERT_FIELD, "&Field", "Sisipkan a calculated field") MenuLabel(AP_MENU_ID_INSERT_SYMBOL, "Sim&bol", "Sisipkan simbol atau huruf istimewa lainnya") Index: src/wp/ap/xp/ap_String_Id.h =================================================================== RCS file: /u2/cvsroot/abi/src/wp/ap/xp/ap_String_Id.h,v retrieving revision 1.40 diff -u -r1.40 ap_String_Id.h --- src/wp/ap/xp/ap_String_Id.h 2000/06/14 12:14:43 1.40 +++ src/wp/ap/xp/ap_String_Id.h 2000/06/18 11:11:38 @@ -221,3 +221,6 @@ dcl(DLG_Goto_Label_What, "Go To &What:") dcl(DLG_Goto_Label_Number, "&Number:") dcl(DLG_Goto_Btn_Goto, "Go To") +dcl(DLG_Goto_Target_Page, "Page") +dcl(DLG_Goto_Target_Line, "Line") +dcl(DLG_Goto_Target_Picture, "Picture") Index: user/wp/strings/id-ID.strings =================================================================== RCS file: /u2/cvsroot/abi/user/wp/strings/id-ID.strings,v retrieving revision 1.6 diff -u -r1.6 id-ID.strings --- user/wp/strings/id-ID.strings 2000/03/23 15:54:54 1.6 +++ user/wp/strings/id-ID.strings 2000/06/18 11:11:43 @@ -19,6 +19,12 @@ DLG_OK="OK" DLG_Cancel="Batal" DLG_Close="Tutup" +DLG_Insert="Masukkan" +DLG_Update="Memperbarui" +DLG_Unit_inch="inci" +DLG_Unit_cm="senti" +DLG_Unit_points="point" +DLG_Unit_pico="pico" DLG_UnixMB_Yes="_Ya" DLG_UnixMB_No="_Tidak" DLG_QNXMB_Yes="Ya" @@ -77,6 +83,7 @@ DLG_UP_BlackWhite="Hitam Putih" DLG_UP_Grayscale="Abu abu" DLG_UP_Color="Warna" +DLG_Insert_SymbolTitle="Insert Symbol" />