migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun:⭐:resource::OfficeResourceLoader com::sun:⭐:resource::XResourceBundleLoader com::sun:⭐:resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
This commit is contained in:
parent
fa987cbb81
commit
00657aef09
3781 changed files with 42957 additions and 112045 deletions
|
@ -116,7 +116,6 @@ $(eval $(call gb_Top_GbuildModulesRules,$(gbuild_modules)))
|
|||
|
||||
gbuild_TARGETS := AllLangHelp \
|
||||
AllLangPackage \
|
||||
AllLangResTarget \
|
||||
AutoInstall \
|
||||
CliLibrary \
|
||||
CliNativeLibrary \
|
||||
|
@ -470,7 +469,7 @@ $(foreach ide,\
|
|||
eclipsecdt,\
|
||||
$(eval $(call gb_Top_GbuildToIdeIntegrationNS,$(ide))))
|
||||
|
||||
fuzzers: Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag Library_cppuhelper Library_comphelper StaticLibrary_ulingu StaticLibrary_findsofficepath Library_tl Library_basegfx Library_canvastools Library_cppcanvas Library_dbtools Library_deploymentmisc Library_deploymentmisc Library_editeng Library_fwe Library_fwi Library_i18nutil Library_localebe1 Library_sax Library_sofficeapp Library_ucbhelper Library_opencl Rdb_services udkapi offapi Library_clew Library_gie Library_icg Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_xmlreader Library_gcc3_uno instsetoo_native more_fonts StaticLibrary_fuzzerstubs StaticLibrary_fuzzer_core StaticLibrary_fuzzer_calc StaticLibrary_fuzzer_draw StaticLibrary_fuzzer_writer Library_forui Executable_wmffuzzer Executable_jpgfuzzer Executable_giffuzzer Executable_xbmfuzzer Executable_xpmfuzzer Executable_pngfuzzer Executable_bmpfuzzer Executable_svmfuzzer Executable_pcdfuzzer Executable_dxffuzzer Executable_metfuzzer Executable_ppmfuzzer Executable_psdfuzzer Executable_epsfuzzer Executable_pctfuzzer Executable_pcxfuzzer Executable_rasfuzzer Executable_tgafuzzer Executable_tiffuzzer Executable_hwpfuzzer Executable_602fuzzer Executable_lwpfuzzer Executable_olefuzzer AllLangResTarget_sd Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer
|
||||
fuzzers: Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag Library_cppuhelper Library_comphelper StaticLibrary_ulingu StaticLibrary_findsofficepath Library_tl Library_basegfx Library_canvastools Library_cppcanvas Library_dbtools Library_deploymentmisc Library_deploymentmisc Library_editeng Library_fwe Library_fwi Library_i18nutil Library_localebe1 Library_sax Library_sofficeapp Library_ucbhelper Library_opencl Rdb_services udkapi offapi Library_clew Library_gie Library_icg Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_xmlreader Library_gcc3_uno instsetoo_native more_fonts StaticLibrary_fuzzerstubs StaticLibrary_fuzzer_core StaticLibrary_fuzzer_calc StaticLibrary_fuzzer_draw StaticLibrary_fuzzer_writer Library_forui Executable_wmffuzzer Executable_jpgfuzzer Executable_giffuzzer Executable_xbmfuzzer Executable_xpmfuzzer Executable_pngfuzzer Executable_bmpfuzzer Executable_svmfuzzer Executable_pcdfuzzer Executable_dxffuzzer Executable_metfuzzer Executable_ppmfuzzer Executable_psdfuzzer Executable_epsfuzzer Executable_pctfuzzer Executable_pcxfuzzer Executable_rasfuzzer Executable_tgafuzzer Executable_tiffuzzer Executable_hwpfuzzer Executable_602fuzzer Executable_lwpfuzzer Executable_olefuzzer Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer
|
||||
|
||||
endif # MAKE_RESTARTS
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ $(eval $(call gb_Helper_register_executables,NONE, \
|
|||
libtest \
|
||||
lngconvex \
|
||||
localize \
|
||||
localestr \
|
||||
makedepend \
|
||||
mbsdiff \
|
||||
mork_helper \
|
||||
|
@ -52,14 +53,11 @@ $(eval $(call gb_Helper_register_executables,NONE, \
|
|||
pocheck \
|
||||
propex \
|
||||
regsvrex \
|
||||
rsc \
|
||||
saxparser \
|
||||
sp2bv \
|
||||
svg2odf \
|
||||
svidl \
|
||||
transex3 \
|
||||
treex \
|
||||
uiex \
|
||||
ulfex \
|
||||
unoidl-read \
|
||||
unoidl-write \
|
||||
|
@ -388,7 +386,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
|
|||
pcr \
|
||||
pdffilter \
|
||||
$(call gb_Helper_optional,SCRIPTING,protocolhandler) \
|
||||
res \
|
||||
sax \
|
||||
sb \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
|
||||
|
@ -1057,60 +1054,39 @@ $(eval $(call gb_ExternalExecutable_register_executables,\
|
|||
))
|
||||
|
||||
# Resources
|
||||
$(eval $(call gb_Helper_register_resources,\
|
||||
abp \
|
||||
$(eval $(call gb_Helper_register_mos,\
|
||||
acc \
|
||||
analysis \
|
||||
avmedia \
|
||||
$(call gb_Helper_optional,SCRIPTING,basctl) \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,bib) \
|
||||
chartcontroller \
|
||||
chart \
|
||||
cnr \
|
||||
cui \
|
||||
date \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,\
|
||||
dba \
|
||||
dbmm \
|
||||
dbp \
|
||||
dbu \
|
||||
) \
|
||||
dbw \
|
||||
deployment \
|
||||
deploymentgui \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,dba) \
|
||||
dkt \
|
||||
editeng \
|
||||
eps \
|
||||
flt \
|
||||
for \
|
||||
forui \
|
||||
$(call gb_Helper_optional,DESKTOP,fps_office) \
|
||||
$(call gb_Helper_optional,DESKTOP,fps) \
|
||||
frm \
|
||||
fwe \
|
||||
gal \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,pcr) \
|
||||
pdffilter \
|
||||
pricing \
|
||||
fwk \
|
||||
pcr \
|
||||
rpt \
|
||||
rptui \
|
||||
$(call gb_Helper_optional,SCRIPTING,sb) \
|
||||
sc \
|
||||
scn \
|
||||
sca \
|
||||
$(if $(ENABLE_COINMP)$(ENABLE_LPSOLVE),scc) \
|
||||
sd \
|
||||
sdberr \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
|
||||
sfx \
|
||||
sm \
|
||||
$(if $(ENABLE_COINMP)$(ENABLE_LPSOLVE),solver) \
|
||||
svl \
|
||||
svt \
|
||||
svx \
|
||||
sw \
|
||||
t602filter \
|
||||
upd \
|
||||
uui \
|
||||
vcl \
|
||||
writerperfect \
|
||||
$(if $(ENABLE_NSS),xmlsec) \
|
||||
xsltdlg \
|
||||
wiz \
|
||||
wpt \
|
||||
$(if $(ENABLE_NSS),xsc) \
|
||||
))
|
||||
|
||||
# UI configuration
|
||||
|
|
|
@ -3778,7 +3778,6 @@ endef
|
|||
# FIXME: the library target should be for build too
|
||||
define gb_Executable__register_gengal
|
||||
$(call gb_Executable_add_runtime_dependencies,gengal,\
|
||||
$(call gb_AllLangResTarget_get_target,ofa) \
|
||||
$(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
|
||||
$(call gb_Package_get_target_for_build,postprocess_images) \
|
||||
$(call gb_Package_get_target_for_build,postprocess_registry) \
|
||||
|
@ -3811,7 +3810,7 @@ endef
|
|||
|
||||
define gb_Executable__register_localize
|
||||
$(call gb_Executable_add_runtime_dependencies,localize,\
|
||||
$(foreach exec,cfgex helpex propex transex3 treex uiex ulfex xrmex,\
|
||||
$(foreach exec,cfgex helpex propex treex ulfex xrmex,\
|
||||
$(call gb_Executable_get_runtime_dependencies,$(exec)) \
|
||||
) \
|
||||
)
|
||||
|
|
|
@ -37,7 +37,6 @@ $(eval $(call gb_Module_add_moduledirs,cross_toolset,\
|
|||
registry \
|
||||
remotebridges \
|
||||
ridljar \
|
||||
rsc \
|
||||
sal \
|
||||
salhelper \
|
||||
sax \
|
||||
|
|
|
@ -101,7 +101,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
|
|||
reportbuilder \
|
||||
$(call gb_Helper_optional,DBCONNECTIVITY,reportdesign) \
|
||||
ridljar \
|
||||
rsc \
|
||||
sal \
|
||||
salhelper \
|
||||
sax \
|
||||
|
|
13
accessibility/AllLangMoTarget_acc.mk
Normal file
13
accessibility/AllLangMoTarget_acc.mk
Normal file
|
@ -0,0 +1,13 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,acc))
|
||||
|
||||
$(eval $(call gb_AllLangMoTarget_set_polocation,acc,accessibility))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -1,29 +0,0 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_AllLangResTarget,acc))
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_set_reslocation,acc,accessibility))
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_add_srs,acc,\
|
||||
acc/res \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_SrsTarget,acc/res))
|
||||
|
||||
$(eval $(call gb_SrsTarget_set_include,acc/res,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/accessibility/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_files,acc/res,\
|
||||
accessibility/source/helper/accessiblestrings.src \
|
||||
))
|
||||
|
||||
# vim:set noet sw=4 ts=4:
|
|
@ -14,7 +14,7 @@ $(eval $(call gb_Module_add_targets,accessibility,\
|
|||
))
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,accessibility,\
|
||||
AllLangResTarget_acc \
|
||||
AllLangMoTarget_acc \
|
||||
))
|
||||
|
||||
# vim:set noet sw=4 ts=4:
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#include <comphelper/accessibletexthelper.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
#include <svtools/svtools.hrc>
|
||||
#include <svtools/strings.hrc>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <unotools/accessiblerelationsethelper.hxx>
|
||||
#include <queue>
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
#define ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
|
||||
#define RID_TK_ACC_START 1000
|
||||
|
||||
#define STR_SVT_ACC_ACTION_EXPAND ( RID_TK_ACC_START + 8 )
|
||||
#define STR_SVT_ACC_ACTION_COLLAPSE ( RID_TK_ACC_START + 9 )
|
||||
#define STR_SVT_ACC_LISTENTRY_SELCTED_STATE ( RID_TK_ACC_START + 10 )
|
||||
|
||||
#define RID_STR_ACC_ACTION_CHECK ( RID_TK_ACC_START + 11 )
|
||||
#define RID_STR_ACC_ACTION_UNCHECK ( RID_TK_ACC_START + 12 )
|
||||
#define RID_STR_ACC_SCROLLBAR_NAME_VERTICAL ( RID_TK_ACC_START + 14 )
|
||||
#define RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL ( RID_TK_ACC_START + 15 )
|
||||
#define RID_STR_ACC_PANEL_DESCRIPTION ( RID_TK_ACC_START + 16 )
|
||||
|
||||
#define RID_STR_ACC_COLUMN_NUM ( RID_TK_ACC_START + 17 )
|
||||
#define RID_STR_ACC_ROW_NUM ( RID_TK_ACC_START + 18 )
|
||||
|
||||
#define RID_STR_ACC_NAME_BROWSEBUTTON ( RID_TK_ACC_START + 100 )
|
||||
|
||||
#endif // ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -22,11 +22,8 @@
|
|||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
class SimpleResMgr;
|
||||
|
||||
#define TK_RES_STRING(id) ::accessibility::TkResMgr::loadString(id)
|
||||
|
||||
|
||||
// TkResMgr
|
||||
|
||||
namespace accessibility
|
||||
|
@ -34,7 +31,7 @@ namespace accessibility
|
|||
|
||||
class TkResMgr
|
||||
{
|
||||
static SimpleResMgr* m_pImpl;
|
||||
static std::locale* m_pImpl;
|
||||
|
||||
private:
|
||||
// no instantiation allowed
|
||||
|
@ -56,7 +53,7 @@ protected:
|
|||
|
||||
public:
|
||||
// loads the string with the specified resource id
|
||||
static OUString loadString( sal_uInt16 nResId );
|
||||
static OUString loadString(const char *pResId);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -283,7 +283,6 @@
|
|||
#include <i18nlangtag/languagetag.hxx>
|
||||
#include <o3tl/cow_wrapper.hxx>
|
||||
#include <o3tl/typed_flags_set.hxx>
|
||||
#include <rsc/rsc-vcl-shared-types.hxx>
|
||||
#include <sot/formats.hxx>
|
||||
#include <svl/hint.hxx>
|
||||
#include <svl/svldllapi.h>
|
||||
|
@ -317,7 +316,6 @@
|
|||
#include <tools/mapunit.hxx>
|
||||
#include <tools/poly.hxx>
|
||||
#include <tools/ref.hxx>
|
||||
#include <tools/resid.hxx>
|
||||
#include <tools/resmgr.hxx>
|
||||
#include <tools/solar.h>
|
||||
#include <tools/stream.hxx>
|
||||
|
|
39
accessibility/inc/strings.hrc
Normal file
39
accessibility/inc/strings.hrc
Normal file
|
@ -0,0 +1,39 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
#define ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_ACC_NAME_BROWSEBUTTON NC_("RID_STR_ACC_NAME_BROWSEBUTTON", "Browse")
|
||||
#define STR_SVT_ACC_ACTION_EXPAND NC_("STR_SVT_ACC_ACTION_EXPAND", "Expand" )
|
||||
#define STR_SVT_ACC_ACTION_COLLAPSE NC_("STR_SVT_ACC_ACTION_COLLAPSE", "Collapse")
|
||||
#define STR_SVT_ACC_LISTENTRY_SELCTED_STATE NC_("STR_SVT_ACC_LISTENTRY_SELCTED_STATE", "(Selected)")
|
||||
#define RID_STR_ACC_ACTION_CHECK NC_("RID_STR_ACC_ACTION_CHECK", "Check")
|
||||
#define RID_STR_ACC_ACTION_UNCHECK NC_("RID_STR_ACC_ACTION_UNCHECK", "Uncheck")
|
||||
#define RID_STR_ACC_SCROLLBAR_NAME_VERTICAL NC_("RID_STR_ACC_SCROLLBAR_NAME_VERTICAL", "Vertical scroll bar")
|
||||
#define RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL NC_("RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL", "Horizontal scroll bar")
|
||||
#define RID_STR_ACC_PANEL_DESCRIPTION NC_("RID_STR_ACC_PANEL_DESCRIPTION", "Please press enter to go into child control for more operations")
|
||||
#define RID_STR_ACC_COLUMN_NUM NC_("RID_STR_ACC_COLUMN_NUM", "Column %COLUMNNUMBER")
|
||||
#define RID_STR_ACC_ROW_NUM NC_("RID_STR_ACC_ROW_NUM", "Row %ROWNUMBER")
|
||||
|
||||
#endif // ACCESSIBILITY_HELPER_ACCESSIBLESTRINGS_HRC_
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <extended/accessibleeditbrowseboxcell.hxx>
|
||||
#include <svtools/editbrowsebox.hxx>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include <comphelper/accessibleeventnotifier.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
|
||||
#define ACCESSIBLE_ACTION_COUNT 1
|
||||
|
||||
|
|
|
@ -1,75 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
|
||||
String RID_STR_ACC_NAME_BROWSEBUTTON
|
||||
{
|
||||
Text [ en-US ] = "Browse";
|
||||
};
|
||||
|
||||
String STR_SVT_ACC_ACTION_EXPAND
|
||||
{
|
||||
Text [ en-US ] = "Expand" ;
|
||||
};
|
||||
|
||||
String STR_SVT_ACC_ACTION_COLLAPSE
|
||||
{
|
||||
Text [ en-US ] = "Collapse";
|
||||
};
|
||||
|
||||
String STR_SVT_ACC_LISTENTRY_SELCTED_STATE
|
||||
{
|
||||
Text [ en-US ] = "(Selected)";
|
||||
};
|
||||
|
||||
String RID_STR_ACC_ACTION_CHECK
|
||||
{
|
||||
Text [ en-US ] = "Check";
|
||||
};
|
||||
String RID_STR_ACC_ACTION_UNCHECK
|
||||
{
|
||||
Text [ en-US ] = "Uncheck";
|
||||
};
|
||||
|
||||
String RID_STR_ACC_SCROLLBAR_NAME_VERTICAL
|
||||
{
|
||||
Text [ en-US ] = "Vertical scroll bar";
|
||||
};
|
||||
String RID_STR_ACC_SCROLLBAR_NAME_HORIZONTAL
|
||||
{
|
||||
Text [ en-US ] = "Horizontal scroll bar";
|
||||
};
|
||||
|
||||
String RID_STR_ACC_PANEL_DESCRIPTION
|
||||
{
|
||||
Text [ en-US ] = "Please press enter to go into child control for more operations";
|
||||
};
|
||||
|
||||
String RID_STR_ACC_COLUMN_NUM
|
||||
{
|
||||
Text [ en-US ] = "Column %COLUMNNUMBER";
|
||||
};
|
||||
|
||||
String RID_STR_ACC_ROW_NUM
|
||||
{
|
||||
Text [ en-US ] = "Row %ROWNUMBER";
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <helper/accresmgr.hxx>
|
||||
|
||||
#include <tools/simplerm.hxx>
|
||||
#include <tools/resmgr.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
|
||||
|
@ -27,22 +27,19 @@ using namespace accessibility;
|
|||
|
||||
// TkResMgr
|
||||
|
||||
|
||||
SimpleResMgr* TkResMgr::m_pImpl = nullptr;
|
||||
|
||||
std::locale* TkResMgr::m_pImpl = nullptr;
|
||||
|
||||
TkResMgr::EnsureDelete::~EnsureDelete()
|
||||
{
|
||||
delete TkResMgr::m_pImpl;
|
||||
}
|
||||
|
||||
|
||||
void TkResMgr::ensureImplExists()
|
||||
{
|
||||
if (m_pImpl)
|
||||
return;
|
||||
|
||||
m_pImpl = SimpleResMgr::Create("acc", Application::GetSettings().GetUILanguageTag() );
|
||||
m_pImpl = new std::locale(Translate::Create("acc", Application::GetSettings().GetUILanguageTag()));
|
||||
|
||||
if (m_pImpl)
|
||||
{
|
||||
|
@ -51,17 +48,15 @@ void TkResMgr::ensureImplExists()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
OUString TkResMgr::loadString( sal_uInt16 nResId )
|
||||
OUString TkResMgr::loadString(const char *pResId)
|
||||
{
|
||||
OUString sReturn;
|
||||
|
||||
ensureImplExists();
|
||||
if ( m_pImpl )
|
||||
sReturn = m_pImpl->ReadString( nResId );
|
||||
if (m_pImpl)
|
||||
sReturn = Translate::get(pResId, *m_pImpl);
|
||||
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <toolkit/awt/vclxwindows.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <vcl/combobox.hxx>
|
||||
#include <vcl/lstbox.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
#include "strings.hxx"
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <standard/vclxaccessiblebutton.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
#include <comphelper/accessiblekeybindinghelper.hxx>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <toolkit/awt/vclxwindows.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
#include <comphelper/accessiblekeybindinghelper.hxx>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <standard/vclxaccessibletextfield.hxx>
|
||||
#include <standard/vclxaccessiblelist.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
|
||||
#include <com/sun/star/accessibility/AccessibleRole.hpp>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <standard/vclxaccessibledropdownlistbox.hxx>
|
||||
#include <standard/vclxaccessiblelistbox.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
|
||||
#include <com/sun/star/accessibility/AccessibleRole.hpp>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <toolkit/awt/vclxwindows.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
#include <unotools/accessiblerelationsethelper.hxx>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <standard/vclxaccessiblemenuitem.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
#include <helper/characterattributeshelper.hxx>
|
||||
#include <comphelper/accessiblekeybindinghelper.hxx>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <toolkit/awt/vclxwindows.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <unotools/accessiblerelationsethelper.hxx>
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <toolkit/awt/vclxwindows.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <unotools/accessiblestatesethelper.hxx>
|
||||
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <standard/vclxaccessibletoolboxitem.hxx>
|
||||
#include <toolkit/helper/convert.hxx>
|
||||
#include <helper/accresmgr.hxx>
|
||||
#include <helper/accessiblestrings.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <com/sun/star/awt/Point.hpp>
|
||||
#include <com/sun/star/awt/Rectangle.hpp>
|
||||
#include <com/sun/star/awt/Size.hpp>
|
||||
|
|
8
bin/count-src-resources → avmedia/AllLangMoTarget_avmedia.mk
Executable file → Normal file
8
bin/count-src-resources → avmedia/AllLangMoTarget_avmedia.mk
Executable file → Normal file
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# Run this from the source root dir to count the number of remaining .src resources
|
||||
|
||||
git ls-files *.src | xargs grep -ohE '^[a-zA-Z]+[ ]+[a-zA-Z_0-9]+' | cut -f 1 -d ' ' | sort | uniq -c | sort -n
|
||||
$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,avmedia))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -1,30 +0,0 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_AllLangResTarget,avmedia))
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_add_srs,avmedia,\
|
||||
avmedia/res \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_SrsTarget,avmedia/res))
|
||||
|
||||
$(eval $(call gb_SrsTarget_set_include,avmedia/res,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/avmedia/inc \
|
||||
-I$(SRCDIR)/avmedia/source/framework \
|
||||
-I$(SRCDIR)/avmedia/source/viewer \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_files,avmedia/res,\
|
||||
avmedia/source/framework/mediacontrol.src \
|
||||
avmedia/source/viewer/mediawindow.src \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -14,7 +14,7 @@ $(eval $(call gb_Module_add_targets,avmedia,\
|
|||
))
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,avmedia,\
|
||||
AllLangResTarget_avmedia \
|
||||
AllLangMoTarget_avmedia \
|
||||
))
|
||||
|
||||
ifeq ($(ENABLE_GSTREAMER_1_0),TRUE)
|
||||
|
|
48
avmedia/inc/strings.hrc
Normal file
48
avmedia/inc/strings.hrc
Normal file
|
@ -0,0 +1,48 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_AVMEDIA_INC_STRINGS_HRC
|
||||
#define INCLUDED_AVMEDIA_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
|
||||
#define AVMEDIA_STR_OPEN NC_("AVMEDIA_STR_OPEN", "Open")
|
||||
#define AVMEDIA_STR_INSERT NC_("AVMEDIA_STR_INSERT", "Apply")
|
||||
#define AVMEDIA_STR_PLAY NC_("AVMEDIA_STR_PLAY", "Play")
|
||||
#define AVMEDIA_STR_PAUSE NC_("AVMEDIA_STR_PAUSE", "Pause")
|
||||
#define AVMEDIA_STR_STOP NC_("AVMEDIA_STR_STOP", "Stop")
|
||||
#define AVMEDIA_STR_LOOP NC_("AVMEDIA_STR_LOOP", "Repeat")
|
||||
#define AVMEDIA_STR_MUTE NC_("AVMEDIA_STR_MUTE", "Mute")
|
||||
#define AVMEDIA_STR_ZOOM NC_("AVMEDIA_STR_ZOOM", "View")
|
||||
#define AVMEDIA_STR_ZOOM_50 NC_("AVMEDIA_STR_ZOOM_50", "50%")
|
||||
#define AVMEDIA_STR_ZOOM_100 NC_("AVMEDIA_STR_ZOOM_100", "100%")
|
||||
#define AVMEDIA_STR_ZOOM_200 NC_("AVMEDIA_STR_ZOOM_200", "200%")
|
||||
#define AVMEDIA_STR_ZOOM_FIT NC_("AVMEDIA_STR_ZOOM_FIT", "Scaled")
|
||||
#define AVMEDIA_STR_MEDIAPLAYER NC_("AVMEDIA_STR_MEDIAPLAYER", "Media Player")
|
||||
#define AVMEDIA_MEDIA_PATH NC_("AVMEDIA_MEDIA_PATH", "Media Path")
|
||||
#define AVMEDIA_MEDIA_PATH_DEFAULT NC_("AVMEDIA_MEDIA_PATH_DEFAULT", "No Media Selected")
|
||||
#define AVMEDIA_STR_INSERTMEDIA_DLG NC_("AVMEDIA_STR_INSERTMEDIA_DLG", "Insert Audio or Video")
|
||||
#define AVMEDIA_STR_OPENMEDIA_DLG NC_("AVMEDIA_STR_OPENMEDIA_DLG", "Open Audio or Video")
|
||||
#define AVMEDIA_STR_ALL_MEDIAFILES NC_("AVMEDIA_STR_ALL_MEDIAFILES", "All audio and video files")
|
||||
#define AVMEDIA_STR_ALL_FILES NC_("AVMEDIA_STR_ALL_FILES", "All files")
|
||||
#define AVMEDIA_STR_ERR_URL NC_("AVMEDIA_STR_ERR_URL", "The format of the selected file is not supported.")
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
#endif
|
|
@ -27,7 +27,7 @@
|
|||
#include <tools/time.hxx>
|
||||
#include <vcl/lstbox.hxx>
|
||||
#include "bitmaps.hlst"
|
||||
#include "mediacontrol.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "helpids.hrc"
|
||||
#include "mediamisc.hxx"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "mediacontrol.hxx"
|
||||
#include "mediacontrol.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "mediamisc.hxx"
|
||||
#include <avmedia/mediawindow.hxx>
|
||||
#include <avmedia/mediaplayer.hxx>
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#define AVMEDIA_STR_PLAY 1024
|
||||
#define AVMEDIA_STR_PAUSE 1025
|
||||
#define AVMEDIA_STR_STOP 1026
|
||||
#define AVMEDIA_STR_LOOP 1027
|
||||
#define AVMEDIA_STR_ZOOM 1028
|
||||
#define AVMEDIA_STR_ZOOM_50 1029
|
||||
#define AVMEDIA_STR_ZOOM_100 1030
|
||||
#define AVMEDIA_STR_ZOOM_200 1031
|
||||
#define AVMEDIA_STR_ZOOM_FIT 1032
|
||||
#define AVMEDIA_STR_MUTE 1033
|
||||
#define AVMEDIA_STR_OPEN 1034
|
||||
#define AVMEDIA_STR_INSERT 1035
|
||||
#define AVMEDIA_STR_MEDIAPLAYER 1036
|
||||
|
||||
#define AVMEDIA_MEDIA_PATH 4076
|
||||
#define AVMEDIA_MEDIA_PATH_DEFAULT 4078
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,98 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "mediacontrol.hrc"
|
||||
|
||||
String AVMEDIA_STR_OPEN
|
||||
{
|
||||
Text[en-US] = "Open";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_INSERT
|
||||
{
|
||||
Text [ en-US ] = "Apply" ;
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_PLAY
|
||||
{
|
||||
Text[en-US] = "Play";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_PAUSE
|
||||
{
|
||||
Text[en-US] = "Pause";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_STOP
|
||||
{
|
||||
Text[en-US] = "Stop";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_LOOP
|
||||
{
|
||||
Text[en-US] = "Repeat";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_MUTE
|
||||
{
|
||||
Text[en-US] = "Mute";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ZOOM
|
||||
{
|
||||
Text[en-US] = "View";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ZOOM_50
|
||||
{
|
||||
Text[en-US] = "50%";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ZOOM_100
|
||||
{
|
||||
Text[en-US] = "100%";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ZOOM_200
|
||||
{
|
||||
Text[en-US] = "200%";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ZOOM_FIT
|
||||
{
|
||||
Text[en-US] = "Scaled";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_MEDIAPLAYER
|
||||
{
|
||||
Text[en-US] = "Media Player";
|
||||
};
|
||||
|
||||
String AVMEDIA_MEDIA_PATH
|
||||
{
|
||||
Text[en-US] = "Media Path";
|
||||
};
|
||||
|
||||
String AVMEDIA_MEDIA_PATH_DEFAULT
|
||||
{
|
||||
Text[en-US] = "No Media Selected";
|
||||
};
|
||||
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -18,7 +18,6 @@
|
|||
*/
|
||||
|
||||
#include <tools/resmgr.hxx>
|
||||
#include <svl/solar.hrc>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
|
||||
|
@ -26,16 +25,10 @@
|
|||
|
||||
namespace avmedia {
|
||||
|
||||
ResMgr* GetResMgr()
|
||||
const std::locale& GetResLocale()
|
||||
{
|
||||
static ResMgr* pResMgr = nullptr;
|
||||
|
||||
if( !pResMgr )
|
||||
{
|
||||
pResMgr = ResMgr::CreateResMgr("avmedia", Application::GetSettings().GetUILanguageTag());
|
||||
}
|
||||
|
||||
return pResMgr;
|
||||
static std::locale loc = Translate::Create("avmedia", Application::GetSettings().GetUILanguageTag());
|
||||
return loc;
|
||||
}
|
||||
|
||||
} // namespace avmedia
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <avmedia/mediawindow.hxx>
|
||||
#include <avmedia/mediaitem.hxx>
|
||||
#include "mediamisc.hxx"
|
||||
#include "mediacontrol.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "helpids.hrc"
|
||||
|
||||
#include <svl/stritem.hxx>
|
||||
|
|
|
@ -21,17 +21,7 @@
|
|||
#define INCLUDED_AVMEDIA_SOURCE_INC_MEDIAMISC_HXX
|
||||
|
||||
#include <config_features.h>
|
||||
#include <tools/resid.hxx>
|
||||
|
||||
namespace avmedia
|
||||
{
|
||||
ResMgr* GetResMgr();
|
||||
}
|
||||
|
||||
inline OUString AvmResId(sal_uInt16 nId)
|
||||
{
|
||||
return ResId(nId, * ::avmedia::GetResMgr());
|
||||
}
|
||||
#include <tools/resmgr.hxx>
|
||||
|
||||
#define AVMEDIA_MANAGER_SERVICE_PREFERRED "com.sun.star.comp.avmedia.Manager_VLC"
|
||||
#ifdef _WIN32
|
||||
|
@ -55,6 +45,16 @@ inline OUString AvmResId(sal_uInt16 nId)
|
|||
#define AVMEDIA_MIMETYPE_JSON "model/vnd.gltf+json"
|
||||
#endif
|
||||
|
||||
namespace avmedia
|
||||
{
|
||||
const std::locale& GetResLocale();
|
||||
}
|
||||
|
||||
inline OUString AvmResId(const char* pId)
|
||||
{
|
||||
return Translate::get(pId, ::avmedia::GetResLocale());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "mediawindow_impl.hxx"
|
||||
#include "mediamisc.hxx"
|
||||
#include "bitmaps.hlst"
|
||||
#include "mediawindow.hrc"
|
||||
#include "strings.hrc"
|
||||
#include <tools/urlobj.hxx>
|
||||
#include <vcl/layout.hxx>
|
||||
#include <unotools/pathoptions.hxx>
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#define AVMEDIA_STR_OPENMEDIA_DLG 16384
|
||||
#define AVMEDIA_STR_INSERTMEDIA_DLG 16385
|
||||
#define AVMEDIA_STR_ALL_MEDIAFILES 16386
|
||||
#define AVMEDIA_STR_ALL_FILES 16387
|
||||
#define AVMEDIA_STR_ERR_URL 16388
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,47 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "mediawindow.hrc"
|
||||
|
||||
String AVMEDIA_STR_INSERTMEDIA_DLG
|
||||
{
|
||||
Text[en-US] = "Insert Audio or Video";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_OPENMEDIA_DLG
|
||||
{
|
||||
Text[en-US] = "Open Audio or Video";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ALL_MEDIAFILES
|
||||
{
|
||||
Text[en-US] = "All audio and video files";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ALL_FILES
|
||||
{
|
||||
Text[en-US] = "All files";
|
||||
};
|
||||
|
||||
String AVMEDIA_STR_ERR_URL
|
||||
{
|
||||
Text[en-US] = "The format of the selected file is not supported.";
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -23,8 +23,8 @@
|
|||
#include "mediawindow_impl.hxx"
|
||||
#include "mediaevent_impl.hxx"
|
||||
#include "mediamisc.hxx"
|
||||
#include "strings.hrc"
|
||||
#include "bitmaps.hlst"
|
||||
#include "mediawindow.hrc"
|
||||
#include "helpids.hrc"
|
||||
|
||||
#include <algorithm>
|
||||
|
|
11
basctl/AllLangMoTarget_basctl.mk
Normal file
11
basctl/AllLangMoTarget_basctl.mk
Normal file
|
@ -0,0 +1,11 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,basctl))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -1,45 +0,0 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_AllLangResTarget,basctl))
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_add_srs,basctl,\
|
||||
basctl/res \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_SrsTarget,basctl/res))
|
||||
|
||||
$(eval $(call gb_SrsTarget_set_include,basctl/res,\
|
||||
-I$(SRCDIR)/basctl/inc \
|
||||
-I$(SRCDIR)/basctl/source/inc \
|
||||
-I$(SRCDIR)/basctl/source/basicide \
|
||||
-I$(SRCDIR)/basctl/source/dlged \
|
||||
$$(INCLUDE) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_files,basctl/res,\
|
||||
basctl/source/basicide/basicprint.src \
|
||||
basctl/source/basicide/basidesh.src \
|
||||
basctl/source/basicide/macrodlg.src \
|
||||
basctl/source/basicide/moduldlg.src \
|
||||
basctl/source/basicide/objdlg.src \
|
||||
basctl/source/dlged/dlgresid.src \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -23,16 +23,13 @@ ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
|
|||
|
||||
$(eval $(call gb_Module_add_targets,basctl,\
|
||||
Library_basctl \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,basctl,\
|
||||
AllLangResTarget_basctl \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,basctl,\
|
||||
UIConfig_basicide \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,basctl,\
|
||||
AllLangMoTarget_basctl \
|
||||
))
|
||||
|
||||
endif
|
||||
|
||||
# screenshots
|
||||
|
|
|
@ -1,118 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef BASCTL_INC_BASIDESH_HRC
|
||||
#define BASCTL_INC_BASIDESH_HRC
|
||||
|
||||
#include <svx/svxids.hrc>
|
||||
|
||||
#define RID_STR_SEARCHALLMODULES ( RID_BASICIDE_START + 1 )
|
||||
#define RID_STR_SEARCHFROMSTART ( RID_BASICIDE_START + 2 )
|
||||
#define RID_STR_NOMODULE ( RID_BASICIDE_START + 3 )
|
||||
#define RID_STR_FILTER_ALLFILES ( RID_BASICIDE_START + 4 )
|
||||
// free
|
||||
#define RID_STR_CANNOTCLOSE ( RID_BASICIDE_START + 13 )
|
||||
// free
|
||||
#define RID_STR_STACKNAME ( RID_BASICIDE_START + 16 )
|
||||
#define RID_STR_WATCHNAME ( RID_BASICIDE_START + 17 )
|
||||
#define RID_STR_REMOVEWATCH ( RID_BASICIDE_START + 18 )
|
||||
#define RID_STR_CANNOTRUNMACRO ( RID_BASICIDE_START + 19 )
|
||||
#define RID_STR_STDDIALOGNAME ( RID_BASICIDE_START + 24 )
|
||||
|
||||
#define RID_STR_ALL ( RID_BASICIDE_START + 28 )
|
||||
|
||||
#define RID_STR_PAGE ( RID_BASICIDE_START + 30 )
|
||||
#define RID_STR_BADSBXNAME ( RID_BASICIDE_START + 31 )
|
||||
#define RID_STR_NOLIBINSTORAGE ( RID_BASICIDE_START + 34 )
|
||||
#define RID_STR_SBXNAMEALLREADYUSED ( RID_BASICIDE_START + 35 )
|
||||
#define RID_STR_SIGNED ( RID_BASICIDE_START + 36 )
|
||||
#define RID_STR_WATCHVARIABLE ( RID_BASICIDE_START + 37 )
|
||||
#define RID_STR_WATCHVALUE ( RID_BASICIDE_START + 38 )
|
||||
#define RID_STR_WATCHTYPE ( RID_BASICIDE_START + 39 )
|
||||
// free
|
||||
#define RID_STR_REPLACESTDLIB ( RID_BASICIDE_START + 41 )
|
||||
#define RID_STR_SBXNAMEALLREADYUSED2 ( RID_BASICIDE_START + 42 )
|
||||
#define RID_STR_SEARCHNOTFOUND ( RID_BASICIDE_START + 43 )
|
||||
#define RID_STR_SEARCHREPLACES ( RID_BASICIDE_START + 44 )
|
||||
#define RID_STR_CANNOTCHANGENAMESTDLIB ( RID_BASICIDE_START + 45 )
|
||||
#define RID_STR_GENERATESOURCE ( RID_BASICIDE_START + 48 )
|
||||
#define RID_STR_REFNOTPOSSIBLE ( RID_BASICIDE_START + 49 )
|
||||
// free
|
||||
#define RID_STR_NEWLIB ( RID_BASICIDE_START + 57 )
|
||||
#define RID_STR_NEWMOD ( RID_BASICIDE_START + 58 )
|
||||
#define RID_STR_NEWDLG ( RID_BASICIDE_START + 59 )
|
||||
#define RID_STR_LIBNAMETOLONG ( RID_BASICIDE_START + 60 )
|
||||
#define RID_STR_ERRORCHOOSEMACRO ( RID_BASICIDE_START + 61 )
|
||||
//free slot
|
||||
#define RID_STR_LIBISREADONLY ( RID_BASICIDE_START + 63 )
|
||||
#define RID_STR_REPLACELIB ( RID_BASICIDE_START + 64 )
|
||||
// free
|
||||
#define RID_STR_IMPORTNOTPOSSIBLE ( RID_BASICIDE_START + 67 )
|
||||
#define RID_STR_NOIMPORT ( RID_BASICIDE_START + 68 )
|
||||
#define RID_STR_ENTERPASSWORD ( RID_BASICIDE_START + 69 )
|
||||
|
||||
// free
|
||||
#define RID_STR_USERMACROS ( RID_BASICIDE_START + 72 )
|
||||
#define RID_STR_USERDIALOGS ( RID_BASICIDE_START + 73 )
|
||||
#define RID_STR_USERMACROSDIALOGS ( RID_BASICIDE_START + 74 )
|
||||
#define RID_STR_SHAREMACROS ( RID_BASICIDE_START + 75 )
|
||||
#define RID_STR_SHAREDIALOGS ( RID_BASICIDE_START + 76 )
|
||||
#define RID_STR_SHAREMACROSDIALOGS ( RID_BASICIDE_START + 77 )
|
||||
//free slot
|
||||
#define RID_STR_REMOVEWATCHTIP ( RID_BASICIDE_START + 79 )
|
||||
#define RID_STR_QUERYREPLACEMACRO ( RID_BASICIDE_START + 80 )
|
||||
#define RID_STR_FILENAME ( RID_BASICIDE_START + 81 )
|
||||
#define RID_STR_APPENDLIBS ( RID_BASICIDE_START + 82 )
|
||||
#define RID_STR_QUERYDELMACRO ( RID_BASICIDE_START + 83 )
|
||||
#define RID_STR_QUERYDELDIALOG ( RID_BASICIDE_START + 84 )
|
||||
#define RID_STR_QUERYDELLIB ( RID_BASICIDE_START + 85 )
|
||||
#define RID_STR_QUERYDELLIBREF ( RID_BASICIDE_START + 86 )
|
||||
#define RID_STR_QUERYDELMODULE ( RID_BASICIDE_START + 87 )
|
||||
#define RID_STR_BASIC ( RID_BASICIDE_START + 88 )
|
||||
#define RID_STR_WILLSTOPPRG ( RID_BASICIDE_START + 91 )
|
||||
#define RID_STR_STACK ( RID_BASICIDE_START + 92 )
|
||||
#define RID_STR_COULDNTREAD ( RID_BASICIDE_START + 94 )
|
||||
#define RID_STR_COULDNTWRITE ( RID_BASICIDE_START + 95 )
|
||||
#define RID_STR_WRONGPASSWORD ( RID_BASICIDE_START + 96 )
|
||||
#define RID_STR_LINE ( RID_BASICIDE_START + 97 )
|
||||
#define RID_STR_COLUMN ( RID_BASICIDE_START + 98 )
|
||||
#define RID_STR_EXPORTPACKAGE ( RID_BASICIDE_START + 100 )
|
||||
#define RID_STR_EXPORTBASIC ( RID_BASICIDE_START + 101 )
|
||||
#define RID_STR_PACKAGE_BUNDLE ( RID_BASICIDE_START + 102 )
|
||||
|
||||
#define RID_STR_DLGIMP_CLASH_RENAME ( RID_BASICIDE_START + 110 )
|
||||
#define RID_STR_DLGIMP_CLASH_REPLACE ( RID_BASICIDE_START + 111 )
|
||||
#define RID_STR_DLGIMP_CLASH_TITLE ( RID_BASICIDE_START + 112 )
|
||||
#define RID_STR_DLGIMP_CLASH_TEXT ( RID_BASICIDE_START + 113 )
|
||||
#define RID_STR_DLGIMP_MISMATCH_ADD ( RID_BASICIDE_START + 114 )
|
||||
#define RID_STR_DLGIMP_MISMATCH_OMIT ( RID_BASICIDE_START + 115 )
|
||||
#define RID_STR_DLGIMP_MISMATCH_TITLE ( RID_BASICIDE_START + 116 )
|
||||
#define RID_STR_DLGIMP_MISMATCH_TEXT ( RID_BASICIDE_START + 117 )
|
||||
#define RID_STR_DOCUMENT_OBJECTS ( RID_BASICIDE_START + 118 )
|
||||
#define RID_STR_USERFORMS ( RID_BASICIDE_START + 119 )
|
||||
#define RID_STR_NORMAL_MODULES ( RID_BASICIDE_START + 120 )
|
||||
#define RID_STR_CLASS_MODULES ( RID_BASICIDE_START + 121 )
|
||||
//free slots
|
||||
#define RID_STR_PRINTDLG_RANGE ( RID_BASICIDE_START + 130 )
|
||||
#define RID_STR_PRINTDLG_ALLPAGES ( RID_BASICIDE_START + 131 )
|
||||
#define RID_STR_PRINTDLG_PAGES ( RID_BASICIDE_START + 132 )
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -383,8 +383,6 @@
|
|||
#include <o3tl/enumarray.hxx>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
#include <o3tl/typed_flags_set.hxx>
|
||||
#include <rsc/rsc-vcl-shared-types.hxx>
|
||||
#include <rsc/rscsfx.hxx>
|
||||
#include <sfx2/app.hxx>
|
||||
#include <sfx2/basedlgs.hxx>
|
||||
#include <sfx2/bindings.hxx>
|
||||
|
@ -545,8 +543,6 @@
|
|||
#include <tools/mapunit.hxx>
|
||||
#include <tools/poly.hxx>
|
||||
#include <tools/ref.hxx>
|
||||
#include <tools/resary.hxx>
|
||||
#include <tools/resid.hxx>
|
||||
#include <tools/resmgr.hxx>
|
||||
#include <tools/solar.h>
|
||||
#include <tools/stream.hxx>
|
||||
|
|
122
basctl/inc/strings.hrc
Normal file
122
basctl/inc/strings.hrc
Normal file
|
@ -0,0 +1,122 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef BASCTL_INC_BASIDESH_HRC
|
||||
#define BASCTL_INC_BASIDESH_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
|
||||
#define RID_STR_FILTER_ALLFILES NC_("RID_STR_FILTER_ALLFILES", "<All>")
|
||||
#define RID_STR_NOMODULE NC_("RID_STR_NOMODULE", "< No Module >")
|
||||
#define RID_STR_WRONGPASSWORD NC_("RID_STR_WRONGPASSWORD", "Incorrect Password")
|
||||
#define RID_STR_NOLIBINSTORAGE NC_("RID_STR_NOLIBINSTORAGE", "The file does not contain any BASIC libraries")
|
||||
#define RID_STR_BADSBXNAME NC_("RID_STR_BADSBXNAME", "Invalid Name")
|
||||
#define RID_STR_LIBNAMETOLONG NC_("RID_STR_LIBNAMETOLONG", "A library name can have up to 30 characters.")
|
||||
#define RID_STR_ERRORCHOOSEMACRO NC_("RID_STR_ERRORCHOOSEMACRO", "Macros from other documents are not accessible.")
|
||||
#define RID_STR_LIBISREADONLY NC_("RID_STR_LIBISREADONLY", "This library is read-only.")
|
||||
#define RID_STR_REPLACELIB NC_("RID_STR_REPLACELIB", "'XX' cannot be replaced.")
|
||||
#define RID_STR_IMPORTNOTPOSSIBLE NC_("RID_STR_IMPORTNOTPOSSIBLE", "'XX' cannot be added.")
|
||||
#define RID_STR_NOIMPORT NC_("RID_STR_NOIMPORT", "'XX' was not added.")
|
||||
#define RID_STR_ENTERPASSWORD NC_("RID_STR_ENTERPASSWORD", "Enter password for 'XX'")
|
||||
#define RID_STR_SBXNAMEALLREADYUSED NC_("RID_STR_SBXNAMEALLREADYUSED", "Name already exists")
|
||||
#define RID_STR_SIGNED NC_("RID_STR_SIGNED", "(Signed)")
|
||||
#define RID_STR_SBXNAMEALLREADYUSED2 NC_("RID_STR_SBXNAMEALLREADYUSED2", "Object with same name already exists")
|
||||
#define RID_STR_CANNOTRUNMACRO NC_("RID_STR_CANNOTRUNMACRO", "For security reasons, you cannot run this macro.\n\nFor more information, check the security settings.")
|
||||
#define RID_STR_SEARCHNOTFOUND NC_("RID_STR_SEARCHNOTFOUND", "Search key not found")
|
||||
#define RID_STR_SEARCHFROMSTART NC_("RID_STR_SEARCHFROMSTART", "Search to last module complete. Continue at first module?")
|
||||
#define RID_STR_SEARCHREPLACES NC_("RID_STR_SEARCHREPLACES", "Search key replaced XX times")
|
||||
#define RID_STR_COULDNTREAD NC_("RID_STR_COULDNTREAD", "The file could not be read")
|
||||
#define RID_STR_COULDNTWRITE NC_("RID_STR_COULDNTWRITE", "The file could not be saved")
|
||||
#define RID_STR_CANNOTCHANGENAMESTDLIB NC_("RID_STR_CANNOTCHANGENAMESTDLIB", "The name of the default library cannot be changed.")
|
||||
#define RID_STR_GENERATESOURCE NC_("RID_STR_GENERATESOURCE", "Generating source")
|
||||
#define RID_STR_FILENAME NC_("RID_STR_FILENAME", "File name:")
|
||||
#define RID_STR_APPENDLIBS NC_("RID_STR_APPENDLIBS", "Import Libraries")
|
||||
#define RID_STR_QUERYDELMACRO NC_("RID_STR_QUERYDELMACRO", "Do you want to delete the macro XX?")
|
||||
#define RID_STR_QUERYDELDIALOG NC_("RID_STR_QUERYDELDIALOG", "Do you want to delete the XX dialog?")
|
||||
#define RID_STR_QUERYDELLIB NC_("RID_STR_QUERYDELLIB", "Do you want to delete the XX library?")
|
||||
#define RID_STR_QUERYDELLIBREF NC_("RID_STR_QUERYDELLIBREF", "Do you want to delete the reference to the XX library?")
|
||||
#define RID_STR_QUERYDELMODULE NC_("RID_STR_QUERYDELMODULE", "Do you want to delete the XX module?")
|
||||
#define RID_STR_BASIC NC_("RID_STR_BASIC", "BASIC")
|
||||
// Abbreviation for 'line'
|
||||
#define RID_STR_LINE NC_("RID_STR_LINE", "Ln")
|
||||
// Abbreviation for 'column'
|
||||
#define RID_STR_COLUMN NC_("RID_STR_COLUMN", "Col")
|
||||
#define RID_STR_CANNOTCLOSE NC_("RID_STR_CANNOTCLOSE", "The window cannot be closed while BASIC is running.")
|
||||
#define RID_STR_REPLACESTDLIB NC_("RID_STR_REPLACESTDLIB", "The default library cannot be replaced.")
|
||||
#define RID_STR_REFNOTPOSSIBLE NC_("RID_STR_REFNOTPOSSIBLE", "Reference to 'XX' not possible.")
|
||||
#define RID_STR_WATCHNAME NC_("RID_STR_WATCHNAME", "Watch")
|
||||
#define RID_STR_WATCHVARIABLE NC_("RID_STR_WATCHVARIABLE", "Variable")
|
||||
#define RID_STR_WATCHVALUE NC_("RID_STR_WATCHVALUE", "Value")
|
||||
#define RID_STR_WATCHTYPE NC_("RID_STR_WATCHTYPE", "Type")
|
||||
#define RID_STR_STACKNAME NC_("RID_STR_STACKNAME", "Call Stack")
|
||||
#define RID_STR_STDDIALOGNAME NC_("RID_STR_STDDIALOGNAME", "Dialog")
|
||||
#define RID_STR_NEWLIB NC_("RID_STR_NEWLIB", "New Library")
|
||||
#define RID_STR_NEWMOD NC_("RID_STR_NEWMOD", "New Module")
|
||||
#define RID_STR_NEWDLG NC_("RID_STR_NEWDLG", "New Dialog")
|
||||
#define RID_STR_ALL NC_("RID_STR_ALL", "All")
|
||||
#define RID_STR_PAGE NC_("RID_STR_PAGE", "Page")
|
||||
#define RID_STR_WILLSTOPPRG NC_("RID_STR_WILLSTOPPRG", "You will have to restart the program after this edit.\nContinue?")
|
||||
#define RID_STR_SEARCHALLMODULES NC_("RID_STR_SEARCHALLMODULES", "Do you want to replace the text in all active modules?")
|
||||
#define RID_STR_REMOVEWATCH NC_("RID_STR_REMOVEWATCH", "Watch:")
|
||||
#define RID_STR_STACK NC_("RID_STR_STACK", "Calls: ")
|
||||
#define RID_STR_USERMACROS NC_("RID_STR_USERMACROS", "My Macros")
|
||||
#define RID_STR_USERDIALOGS NC_("RID_STR_USERDIALOGS", "My Dialogs")
|
||||
#define RID_STR_USERMACROSDIALOGS NC_("RID_STR_USERMACROSDIALOGS", "My Macros & Dialogs")
|
||||
#define RID_STR_SHAREMACROS NC_("RID_STR_SHAREMACROS", "%PRODUCTNAME Macros")
|
||||
#define RID_STR_SHAREDIALOGS NC_("RID_STR_SHAREDIALOGS", "%PRODUCTNAME Dialogs")
|
||||
#define RID_STR_SHAREMACROSDIALOGS NC_("RID_STR_SHAREMACROSDIALOGS", "%PRODUCTNAME Macros & Dialogs")
|
||||
#define RID_STR_REMOVEWATCHTIP NC_("RID_STR_REMOVEWATCHTIP", "Remove Watch")
|
||||
#define RID_STR_QUERYREPLACEMACRO NC_("RID_STR_QUERYREPLACEMACRO", "Do you want to overwrite the XX macro?")
|
||||
#define RID_STR_TRANSLATION_NOTLOCALIZED NC_("RID_STR_TRANSLATION_NOTLOCALIZED", "<Not localized>")
|
||||
#define RID_STR_TRANSLATION_DEFAULT NC_("RID_STR_TRANSLATION_DEFAULT", "[Default Language]")
|
||||
#define RID_STR_DOCUMENT_OBJECTS NC_("RID_STR_DOCUMENT_OBJECTS", "Document Objects")
|
||||
#define RID_STR_USERFORMS NC_("RID_STR_USERFORMS", "Forms")
|
||||
#define RID_STR_NORMAL_MODULES NC_("RID_STR_NORMAL_MODULES", "Modules")
|
||||
#define RID_STR_CLASS_MODULES NC_("RID_STR_CLASS_MODULES", "Class Modules")
|
||||
#define RID_STR_DLGIMP_CLASH_RENAME NC_("RID_STR_DLGIMP_CLASH_RENAME", "Rename")
|
||||
#define RID_STR_DLGIMP_CLASH_REPLACE NC_("RID_STR_DLGIMP_CLASH_REPLACE", "Replace")
|
||||
#define RID_STR_DLGIMP_CLASH_TITLE NC_("RID_STR_DLGIMP_CLASH_TITLE", "Dialog Import - Name already used")
|
||||
#define RID_STR_DLGIMP_CLASH_TEXT NC_("RID_STR_DLGIMP_CLASH_TEXT", "The library already contains a dialog with the name:\n\n$(ARG1)\n\nRename dialog to keep current dialog or replace existing dialog.\n ")
|
||||
#define RID_STR_DLGIMP_MISMATCH_ADD NC_("RID_STR_DLGIMP_MISMATCH_ADD", "Add")
|
||||
#define RID_STR_DLGIMP_MISMATCH_OMIT NC_("RID_STR_DLGIMP_MISMATCH_OMIT", "Omit")
|
||||
#define RID_STR_DLGIMP_MISMATCH_TITLE NC_("RID_STR_DLGIMP_MISMATCH_TITLE", "Dialog Import - Language Mismatch")
|
||||
#define RID_STR_DLGIMP_MISMATCH_TEXT NC_("RID_STR_DLGIMP_MISMATCH_TEXT", "The dialog to be imported supports other languages than the target library.\n\nAdd these languages to the library to keep additional language resources provided by the dialog or omit them to stay with the current library languages.\n\nNote: For languages not supported by the dialog the resources of the dialog's default language will be used.\n ")
|
||||
#define RID_STR_PRINTDLG_RANGE NC_("RID_STR_PRINTDLG_RANGE", "Print range")
|
||||
#define RID_STR_PRINTDLG_ALLPAGES NC_("RID_STR_PRINTDLG_ALLPAGES", "All ~Pages")
|
||||
#define RID_STR_PRINTDLG_PAGES NC_("RID_STR_PRINTDLG_PAGES", "Pa~ges")
|
||||
#define RID_STR_BTNDEL NC_("RID_STR_BTNDEL", "~Delete")
|
||||
#define RID_STR_BTNNEW NC_("RID_STR_BTNNEW", "~New")
|
||||
#define RID_STR_CHOOSE NC_("RID_STR_CHOOSE", "Choose")
|
||||
#define RID_STR_RUN NC_("RID_STR_RUN", "Run")
|
||||
#define RID_STR_RECORD NC_("RID_STR_RECORD", "~Save")
|
||||
#define RID_BASICIDE_OBJCAT NC_("RID_BASICIDE_OBJCAT", "Object Catalog")
|
||||
#define RID_STR_TLB_MACROS NC_("RID_STR_TLB_MACROS", "Objects Tree")
|
||||
// Property Browser Headline ----------------------------------------------------------------
|
||||
#define RID_STR_BRWTITLE_PROPERTIES NC_("RID_STR_BRWTITLE_PROPERTIES", "Properties: ")
|
||||
#define RID_STR_BRWTITLE_NO_PROPERTIES NC_("RID_STR_BRWTITLE_NO_PROPERTIES", "No Control marked")
|
||||
#define RID_STR_BRWTITLE_MULTISELECT NC_("RID_STR_BRWTITLE_MULTISELECT", "Multiselection")
|
||||
#define RID_STR_DEF_LANG NC_("RID_STR_DEF_LANG", "[Default Language]")
|
||||
#define RID_STR_CREATE_LANG NC_("RID_STR_CREATE_LANG", "<Press 'Add' to create language resources>")
|
||||
#define RID_STR_EXPORTPACKAGE NC_("RID_STR_EXPORTPACKAGE", "Export library as extension")
|
||||
#define RID_STR_EXPORTBASIC NC_("RID_STR_EXPORTBASIC", "Export as BASIC library")
|
||||
#define RID_STR_PACKAGE_BUNDLE NC_("RID_STR_PACKAGE_BUNDLE", "Extension")
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -17,7 +17,7 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <basidesh.hxx>
|
||||
|
||||
#include <basicbox.hxx>
|
||||
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "localizationmgr.hxx"
|
||||
#include "managelang.hxx"
|
||||
#include "dlgresid.hrc"
|
||||
|
||||
#include <sfx2/dispatch.hxx>
|
||||
#include <svtools/langtab.hxx>
|
||||
|
|
|
@ -29,9 +29,10 @@ namespace basctl
|
|||
class Module : public SfxModule
|
||||
{
|
||||
public:
|
||||
Module ( ResMgr *pMgr, SfxObjectFactory *pObjFact) :
|
||||
SfxModule( pMgr, {pObjFact} )
|
||||
{ }
|
||||
Module(const std::locale& rResLocale, SfxObjectFactory *pObjFact)
|
||||
: SfxModule(rResLocale, {pObjFact})
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace basctl
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <basidesh.hrc>
|
||||
|
||||
String RID_STR_PRINTDLG_RANGE
|
||||
{
|
||||
Text [ en-US ] = "Print range";
|
||||
};
|
||||
String RID_STR_PRINTDLG_ALLPAGES
|
||||
{
|
||||
Text [ en-US ] = "All ~Pages";
|
||||
};
|
||||
String RID_STR_PRINTDLG_PAGES
|
||||
{
|
||||
Text [ en-US ] = "Pa~ges";
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -19,11 +19,10 @@
|
|||
|
||||
#include "basicrenderable.hxx"
|
||||
#include "bastypes.hxx"
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
|
||||
#include <toolkit/awt/vclxdevice.hxx>
|
||||
#include <tools/multisel.hxx>
|
||||
#include <tools/resary.hxx>
|
||||
#include <cppuhelper/compbase.hxx>
|
||||
#include <comphelper/propertysequence.hxx>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "officecfg/Office/BasicIDE.hxx"
|
||||
|
||||
#include "helpid.hrc"
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <basic/basmgr.hxx>
|
||||
#include <basic/basrdll.hxx>
|
||||
|
@ -47,6 +47,7 @@
|
|||
#include <svl/srchitem.hxx>
|
||||
#include <svl/visitem.hxx>
|
||||
#include <svl/whiter.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <vcl/xtextedt.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <toolkit/helper/vclunohelper.hxx>
|
||||
|
@ -134,7 +135,7 @@ void lcl_PrintHeader( Printer* pPrinter, sal_uInt16 nPages, sal_uInt16 nCurPage,
|
|||
|
||||
if( bOutput )
|
||||
{
|
||||
OUString aPageStr = " [" + OUString(IDEResId(RID_STR_PAGE)) + " " + OUString::number( nCurPage ) + "]";
|
||||
OUString aPageStr = " [" + IDEResId(RID_STR_PAGE) + " " + OUString::number( nCurPage ) + "]";
|
||||
pPrinter->DrawText( aPos, aPageStr );
|
||||
}
|
||||
}
|
||||
|
@ -1066,11 +1067,11 @@ void ModulWindow::GetState( SfxItemSet &rSet )
|
|||
if ( pView )
|
||||
{
|
||||
TextSelection aSel = pView->GetSelection();
|
||||
OUString aPos = OUString( IDEResId( RID_STR_LINE ) ) +
|
||||
OUString aPos = IDEResId( RID_STR_LINE ) +
|
||||
" " +
|
||||
OUString::number(aSel.GetEnd().GetPara()+1) +
|
||||
", " +
|
||||
OUString( IDEResId( RID_STR_COLUMN ) ) +
|
||||
IDEResId( RID_STR_COLUMN ) +
|
||||
" " +
|
||||
OUString::number(aSel.GetEnd().GetIndex()+1);
|
||||
SfxStringItem aItem( SID_BASICIDE_STAT_POS, aPos );
|
||||
|
@ -1302,7 +1303,7 @@ EntryDescriptor ModulWindow::CreateEntryDescriptor()
|
|||
{
|
||||
case script::ModuleType::DOCUMENT:
|
||||
{
|
||||
aLibSubName = OUString( IDEResId( RID_STR_DOCUMENT_OBJECTS ) );
|
||||
aLibSubName = IDEResId( RID_STR_DOCUMENT_OBJECTS );
|
||||
uno::Reference< container::XNameContainer > xLib = aDocument.getOrCreateLibrary( E_SCRIPTS, aLibName );
|
||||
if( xLib.is() )
|
||||
{
|
||||
|
@ -1316,13 +1317,13 @@ EntryDescriptor ModulWindow::CreateEntryDescriptor()
|
|||
break;
|
||||
}
|
||||
case script::ModuleType::FORM:
|
||||
aLibSubName = OUString( IDEResId( RID_STR_USERFORMS ) );
|
||||
aLibSubName = IDEResId( RID_STR_USERFORMS );
|
||||
break;
|
||||
case script::ModuleType::NORMAL:
|
||||
aLibSubName = OUString( IDEResId( RID_STR_NORMAL_MODULES ) );
|
||||
aLibSubName = IDEResId( RID_STR_NORMAL_MODULES );
|
||||
break;
|
||||
case script::ModuleType::CLASS:
|
||||
aLibSubName = OUString( IDEResId( RID_STR_CLASS_MODULES ) );
|
||||
aLibSubName = IDEResId( RID_STR_CLASS_MODULES );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <cassert>
|
||||
|
||||
#include "helpid.hrc"
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include "bitmaps.hlst"
|
||||
|
||||
#include "baside2.hxx"
|
||||
|
@ -39,6 +39,7 @@
|
|||
#include <sfx2/dispatch.hxx>
|
||||
#include <vcl/msgbox.hxx>
|
||||
#include <svl/urihelper.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <vcl/xtextedt.hxx>
|
||||
#include <vcl/txtattr.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "helpid.hrc"
|
||||
|
||||
#include "accessibledialogwindow.hxx"
|
||||
|
@ -46,6 +46,7 @@
|
|||
#include <svl/visitem.hxx>
|
||||
#include <svl/whiter.hxx>
|
||||
#include <svx/svdundo.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <tools/diagnose_ex.h>
|
||||
#include <tools/urlobj.hxx>
|
||||
#include <vcl/layout.hxx>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <memory>
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "helpid.hrc"
|
||||
|
||||
#include "baside2.hxx"
|
||||
|
@ -41,6 +41,7 @@
|
|||
#include <sfx2/minfitem.hxx>
|
||||
#include <sfx2/printer.hxx>
|
||||
#include <sfx2/request.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <svl/aeitem.hxx>
|
||||
#include <svl/intitem.hxx>
|
||||
#include <svl/srchitem.hxx>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <com/sun/star/frame/XTitle.hpp>
|
||||
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <baside2.hxx>
|
||||
#include <basdoc.hxx>
|
||||
#include <vcl/xtextedt.hxx>
|
||||
|
@ -108,7 +108,7 @@ void Shell::SetMDITitle()
|
|||
DocumentSignature aCurSignature( m_aCurDocument );
|
||||
if ( aCurSignature.getScriptingSignatureState() == SignatureState::OK )
|
||||
{
|
||||
aTitle += " " + OUString(IDEResId(RID_STR_SIGNED)) + " ";
|
||||
aTitle += " " + IDEResId(RID_STR_SIGNED) + " ";
|
||||
}
|
||||
|
||||
SfxViewFrame* pViewFrame = GetViewFrame();
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
|
||||
#include <tools/diagnose_ex.h>
|
||||
#include <basic/basmgr.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <svx/svxids.hrc>
|
||||
#include "strings.hrc"
|
||||
#include "baside2.hxx"
|
||||
#include "baside3.hxx"
|
||||
#include <basdoc.hxx>
|
||||
|
|
|
@ -1,343 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <basidesh.hrc>
|
||||
#include <helpid.hrc>
|
||||
#include "dlgresid.hrc"
|
||||
|
||||
String RID_STR_FILTER_ALLFILES
|
||||
{
|
||||
Text [ en-US ] = "<All>" ;
|
||||
};
|
||||
String RID_STR_NOMODULE
|
||||
{
|
||||
Text [ en-US ] = "< No Module >" ;
|
||||
};
|
||||
String RID_STR_WRONGPASSWORD
|
||||
{
|
||||
Text [ en-US ] = "Incorrect Password" ;
|
||||
};
|
||||
String RID_STR_NOLIBINSTORAGE
|
||||
{
|
||||
Text [ en-US ] = "The file does not contain any BASIC libraries" ;
|
||||
};
|
||||
String RID_STR_BADSBXNAME
|
||||
{
|
||||
Text [ en-US ] = "Invalid Name" ;
|
||||
};
|
||||
String RID_STR_LIBNAMETOLONG
|
||||
{
|
||||
Text [ en-US ] = "A library name can have up to 30 characters.";
|
||||
};
|
||||
String RID_STR_ERRORCHOOSEMACRO
|
||||
{
|
||||
Text [ en-US ] = "Macros from other documents are not accessible.";
|
||||
};
|
||||
String RID_STR_LIBISREADONLY
|
||||
{
|
||||
Text [ en-US ] = "This library is read-only.";
|
||||
};
|
||||
String RID_STR_REPLACELIB
|
||||
{
|
||||
Text [ en-US ] = "'XX' cannot be replaced.";
|
||||
};
|
||||
String RID_STR_IMPORTNOTPOSSIBLE
|
||||
{
|
||||
Text [ en-US ] = "'XX' cannot be added.";
|
||||
};
|
||||
String RID_STR_NOIMPORT
|
||||
{
|
||||
Text [ en-US ] = "'XX' was not added.";
|
||||
};
|
||||
String RID_STR_ENTERPASSWORD
|
||||
{
|
||||
Text [ en-US ] = "Enter password for 'XX'";
|
||||
};
|
||||
String RID_STR_SBXNAMEALLREADYUSED
|
||||
{
|
||||
Text [ en-US ] = "Name already exists" ;
|
||||
};
|
||||
String RID_STR_SIGNED
|
||||
{
|
||||
Text [ en-US ] = "(Signed)" ;
|
||||
};
|
||||
String RID_STR_SBXNAMEALLREADYUSED2
|
||||
{
|
||||
Text [ en-US ] = "Object with same name already exists" ;
|
||||
};
|
||||
String RID_STR_CANNOTRUNMACRO
|
||||
{
|
||||
Text [ en-US ] = "For security reasons, you cannot run this macro.\n\nFor more information, check the security settings." ;
|
||||
};
|
||||
String RID_STR_SEARCHNOTFOUND
|
||||
{
|
||||
Text [ en-US ] = "Search key not found" ;
|
||||
};
|
||||
String RID_STR_SEARCHFROMSTART
|
||||
{
|
||||
Text [ en-US ] = "Search to last module complete. Continue at first module?" ;
|
||||
};
|
||||
String RID_STR_SEARCHREPLACES
|
||||
{
|
||||
Text [ en-US ] = "Search key replaced XX times" ;
|
||||
};
|
||||
String RID_STR_COULDNTREAD
|
||||
{
|
||||
Text [ en-US ] = "The file could not be read" ;
|
||||
};
|
||||
String RID_STR_COULDNTWRITE
|
||||
{
|
||||
Text [ en-US ] = "The file could not be saved" ;
|
||||
};
|
||||
String RID_STR_CANNOTCHANGENAMESTDLIB
|
||||
{
|
||||
Text [ en-US ] = "The name of the default library cannot be changed." ;
|
||||
};
|
||||
String RID_STR_GENERATESOURCE
|
||||
{
|
||||
Text [ en-US ] = "Generating source" ;
|
||||
};
|
||||
String RID_STR_FILENAME
|
||||
{
|
||||
Text [ en-US ] = "File name:" ;
|
||||
};
|
||||
String RID_STR_APPENDLIBS
|
||||
{
|
||||
Text [ en-US ] = "Import Libraries" ;
|
||||
};
|
||||
String RID_STR_QUERYDELMACRO
|
||||
{
|
||||
Text [ en-US ] = "Do you want to delete the macro XX?" ;
|
||||
};
|
||||
String RID_STR_QUERYDELDIALOG
|
||||
{
|
||||
Text [ en-US ] = "Do you want to delete the XX dialog?" ;
|
||||
};
|
||||
String RID_STR_QUERYDELLIB
|
||||
{
|
||||
Text [ en-US ] = "Do you want to delete the XX library?" ;
|
||||
};
|
||||
String RID_STR_QUERYDELLIBREF
|
||||
{
|
||||
Text [ en-US ] = "Do you want to delete the reference to the XX library?" ;
|
||||
};
|
||||
String RID_STR_QUERYDELMODULE
|
||||
{
|
||||
Text [ en-US ] = "Do you want to delete the XX module?" ;
|
||||
};
|
||||
String RID_STR_BASIC
|
||||
{
|
||||
Text [ en-US ] = "BASIC" ;
|
||||
};
|
||||
String RID_STR_LINE
|
||||
{
|
||||
// Abbreviation for 'line'
|
||||
Text [ en-US ] = "Ln" ;
|
||||
};
|
||||
String RID_STR_COLUMN
|
||||
{
|
||||
// Abbreviation for 'column'
|
||||
Text [ en-US ] = "Col" ;
|
||||
};
|
||||
String RID_STR_CANNOTCLOSE
|
||||
{
|
||||
Text [ en-US ] = "The window cannot be closed while BASIC is running." ;
|
||||
};
|
||||
String RID_STR_REPLACESTDLIB
|
||||
{
|
||||
Text [ en-US ] = "The default library cannot be replaced." ;
|
||||
};
|
||||
String RID_STR_REFNOTPOSSIBLE
|
||||
{
|
||||
Text [ en-US ] = "Reference to 'XX' not possible." ;
|
||||
};
|
||||
String RID_STR_WATCHNAME
|
||||
{
|
||||
Text [ en-US ] = "Watch" ;
|
||||
};
|
||||
String RID_STR_WATCHVARIABLE
|
||||
{
|
||||
Text [ en-US ] = "Variable" ;
|
||||
};
|
||||
String RID_STR_WATCHVALUE
|
||||
{
|
||||
Text [ en-US ] = "Value" ;
|
||||
};
|
||||
String RID_STR_WATCHTYPE
|
||||
{
|
||||
Text [ en-US ] = "Type" ;
|
||||
};
|
||||
String RID_STR_STACKNAME
|
||||
{
|
||||
Text [ en-US ] = "Call Stack" ;
|
||||
};
|
||||
String RID_STR_STDDIALOGNAME
|
||||
{
|
||||
Text [ en-US ] = "Dialog" ;
|
||||
};
|
||||
String RID_STR_NEWLIB
|
||||
{
|
||||
Text [ en-US ] = "New Library" ;
|
||||
};
|
||||
String RID_STR_NEWMOD
|
||||
{
|
||||
Text [ en-US ] = "New Module" ;
|
||||
};
|
||||
String RID_STR_NEWDLG
|
||||
{
|
||||
Text [ en-US ] = "New Dialog" ;
|
||||
};
|
||||
String RID_STR_ALL
|
||||
{
|
||||
Text [ en-US ] = "All" ;
|
||||
};
|
||||
String RID_STR_PAGE
|
||||
{
|
||||
Text [ en-US ] = "Page" ;
|
||||
};
|
||||
String RID_STR_WILLSTOPPRG
|
||||
{
|
||||
Text [ en-US ] = "You will have to restart the program after this edit.\nContinue?" ;
|
||||
};
|
||||
String RID_STR_SEARCHALLMODULES
|
||||
{
|
||||
Text [ en-US ] = "Do you want to replace the text in all active modules?" ;
|
||||
};
|
||||
|
||||
String RID_STR_REMOVEWATCH
|
||||
{
|
||||
Text [ en-US ] = "Watch:" ;
|
||||
};
|
||||
|
||||
String RID_STR_STACK
|
||||
{
|
||||
Text [ en-US ] = "Calls: " ;
|
||||
};
|
||||
|
||||
String RID_STR_USERMACROS
|
||||
{
|
||||
Text [ en-US ] = "My Macros" ;
|
||||
};
|
||||
|
||||
String RID_STR_USERDIALOGS
|
||||
{
|
||||
Text [ en-US ] = "My Dialogs" ;
|
||||
};
|
||||
|
||||
String RID_STR_USERMACROSDIALOGS
|
||||
{
|
||||
Text [ en-US ] = "My Macros & Dialogs" ;
|
||||
};
|
||||
|
||||
String RID_STR_SHAREMACROS
|
||||
{
|
||||
Text [ en-US ] = "%PRODUCTNAME Macros" ;
|
||||
};
|
||||
|
||||
String RID_STR_SHAREDIALOGS
|
||||
{
|
||||
Text [ en-US ] = "%PRODUCTNAME Dialogs" ;
|
||||
};
|
||||
|
||||
String RID_STR_SHAREMACROSDIALOGS
|
||||
{
|
||||
Text [ en-US ] = "%PRODUCTNAME Macros & Dialogs" ;
|
||||
};
|
||||
|
||||
String RID_STR_REMOVEWATCHTIP
|
||||
{
|
||||
Text [ en-US ] = "Remove Watch" ;
|
||||
};
|
||||
|
||||
String RID_STR_QUERYREPLACEMACRO
|
||||
{
|
||||
Text [ en-US ] = "Do you want to overwrite the XX macro?" ;
|
||||
};
|
||||
|
||||
String RID_STR_TRANSLATION_NOTLOCALIZED
|
||||
{
|
||||
Text [ en-US ] = "<Not localized>" ;
|
||||
};
|
||||
|
||||
String RID_STR_TRANSLATION_DEFAULT
|
||||
{
|
||||
Text [ en-US ] = "[Default Language]" ;
|
||||
};
|
||||
|
||||
String RID_STR_DOCUMENT_OBJECTS
|
||||
{
|
||||
Text [ en-US ] = "Document Objects" ;
|
||||
};
|
||||
|
||||
String RID_STR_USERFORMS
|
||||
{
|
||||
Text [ en-US ] = "Forms" ;
|
||||
};
|
||||
|
||||
String RID_STR_NORMAL_MODULES
|
||||
{
|
||||
Text [ en-US ] = "Modules" ;
|
||||
};
|
||||
|
||||
String RID_STR_CLASS_MODULES
|
||||
{
|
||||
Text [ en-US ] = "Class Modules" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_CLASH_RENAME
|
||||
{
|
||||
Text [ en-US ] = "Rename" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_CLASH_REPLACE
|
||||
{
|
||||
Text [ en-US ] = "Replace" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_CLASH_TITLE
|
||||
{
|
||||
Text [ en-US ] = "Dialog Import - Name already used" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_CLASH_TEXT
|
||||
{
|
||||
Text [ en-US ] = "The library already contains a dialog with the name:\n\n$(ARG1)\n\nRename dialog to keep current dialog or replace existing dialog.\n " ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_MISMATCH_ADD
|
||||
{
|
||||
Text [ en-US ] = "Add" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_MISMATCH_OMIT
|
||||
{
|
||||
Text [ en-US ] = "Omit" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_MISMATCH_TITLE
|
||||
{
|
||||
Text [ en-US ] = "Dialog Import - Language Mismatch" ;
|
||||
};
|
||||
|
||||
String RID_STR_DLGIMP_MISMATCH_TEXT
|
||||
{
|
||||
Text [ en-US ] = "The dialog to be imported supports other languages than the target library.\n\nAdd these languages to the library to keep additional language resources provided by the dialog or omit them to stay with the current library languages.\n\nNote: For languages not supported by the dialog the resources of the dialog's default language will be used.\n " ;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -21,7 +21,7 @@
|
|||
#include "iderdll2.hxx"
|
||||
#include "macrodlg.hxx"
|
||||
#include "moduldlg.hxx"
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "baside2.hxx"
|
||||
|
||||
#include <com/sun/star/document/XScriptInvocationContext.hpp>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <iderdll.hxx>
|
||||
#include <iderdll2.hxx>
|
||||
#include <basdoc.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <baside2.hxx>
|
||||
#include <baside3.hxx>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <bastypes.hxx>
|
||||
#include <bastype2.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <bitmaps.hlst>
|
||||
#include <iderid.hxx>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <basic/basmgr.hxx>
|
||||
#include <basic/sbmod.hxx>
|
||||
#include <bastype2.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include "bitmaps.hlst"
|
||||
#include <bastypes.hxx>
|
||||
#include <com/sun/star/script/XLibraryContainer.hpp>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "helpid.hrc"
|
||||
|
||||
#include "baside2.hxx"
|
||||
|
@ -707,13 +707,12 @@ LibInfo::Item::Item (
|
|||
LibInfo::Item::~Item ()
|
||||
{ }
|
||||
|
||||
bool QueryDel( const OUString& rName, const ResId& rId, vcl::Window* pParent )
|
||||
bool QueryDel(const OUString& rName, const OUString &rStr, vcl::Window* pParent)
|
||||
{
|
||||
OUString aQuery(rId);
|
||||
OUStringBuffer aNameBuf( rName );
|
||||
aNameBuf.append('\'');
|
||||
aNameBuf.insert(0, '\'');
|
||||
aQuery = aQuery.replaceAll("XX", aNameBuf.makeStringAndClear());
|
||||
OUString aQuery = rStr.replaceAll("XX", aNameBuf.makeStringAndClear());
|
||||
ScopedVclPtrInstance< MessageDialog > aQueryBox(pParent, aQuery, VclMessageType::Question, VclButtonsType::YesNo);
|
||||
return ( aQueryBox->Execute() == RET_YES );
|
||||
}
|
||||
|
|
|
@ -25,13 +25,15 @@
|
|||
#include <iderdll2.hxx>
|
||||
#include <iderid.hxx>
|
||||
#include <basidesh.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <basdoc.hxx>
|
||||
#include <basicmod.hxx>
|
||||
|
||||
#include <svl/srchitem.hxx>
|
||||
#include <svx/svxids.hrc>
|
||||
#include <com/sun/star/frame/Desktop.hpp>
|
||||
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
|
||||
#include <tools/resmgr.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
|
||||
|
@ -103,10 +105,10 @@ ExtraData* GetExtraData()
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
IDEResId::IDEResId( sal_uInt16 nId ):
|
||||
ResId(nId, *SfxApplication::GetModule(SfxToolsModule::Basic)->GetResMgr())
|
||||
{ }
|
||||
OUString IDEResId(const char *pId)
|
||||
{
|
||||
return Translate::get(pId, SfxApplication::GetModule(SfxToolsModule::Basic)->GetResLocale());
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -116,10 +118,9 @@ Dll::Dll () :
|
|||
{
|
||||
SfxObjectFactory& rFactory = DocShell::Factory();
|
||||
|
||||
ResMgr* pMgr = ResMgr::CreateResMgr(
|
||||
"basctl", Application::GetSettings().GetUILanguageTag());
|
||||
std::locale loc = Translate::Create("basctl", Application::GetSettings().GetUILanguageTag());
|
||||
|
||||
auto pModule = o3tl::make_unique<Module>( pMgr, &rFactory );
|
||||
auto pModule = o3tl::make_unique<Module>(loc, &rFactory);
|
||||
SfxModule* pMod = pModule.get();
|
||||
SfxApplication::SetModule(SfxToolsModule::Basic, std::move(pModule));
|
||||
|
||||
|
|
|
@ -19,9 +19,8 @@
|
|||
|
||||
|
||||
#include <macrodlg.hxx>
|
||||
#include <macrodlg.hrc>
|
||||
#include <basidesh.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
|
||||
#include <iderdll.hxx>
|
||||
#include <iderdll2.hxx>
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
#ifndef BASCTL_MACRODLG_HRC
|
||||
#define BASCTL_MACRODLG_HRC
|
||||
|
||||
|
||||
#define RID_STR_BTNDEL ( RID_BASICIDE_START + 51 )
|
||||
#define RID_STR_BTNNEW ( RID_BASICIDE_START + 52 )
|
||||
#define RID_STR_CHOOSE ( RID_BASICIDE_START + 53 )
|
||||
#define RID_STR_RUN ( RID_BASICIDE_START + 54 )
|
||||
#define RID_STR_RECORD ( RID_BASICIDE_START + 56 )
|
||||
|
||||
#endif // BASCTL_MACRODLG_HRC
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,43 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <macrodlg.hrc>
|
||||
#include <basidesh.hrc>
|
||||
String RID_STR_BTNDEL
|
||||
{
|
||||
Text [ en-US ] = "~Delete" ;
|
||||
};
|
||||
String RID_STR_BTNNEW
|
||||
{
|
||||
Text [ en-US ] = "~New" ;
|
||||
};
|
||||
String RID_STR_CHOOSE
|
||||
{
|
||||
Text [ en-US ] = "Choose" ;
|
||||
};
|
||||
String RID_STR_RUN
|
||||
{
|
||||
Text [ en-US ] = "Run" ;
|
||||
};
|
||||
String RID_STR_RECORD
|
||||
{
|
||||
Text [ en-US ] = "~Save" ;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <moduldlg.hxx>
|
||||
#include <basidesh.hxx>
|
||||
#include <basidesh.hrc>
|
||||
#include <strings.hrc>
|
||||
#include <bitmaps.hlst>
|
||||
#include <iderdll.hxx>
|
||||
#include <iderdll2.hxx>
|
||||
|
@ -883,7 +883,7 @@ void LibPage::InsertLib()
|
|||
( xDlgLibContainer.is() && xDlgLibContainer->hasByName( aLibName ) && xDlgLibContainer->isLibraryReadOnly( aLibName ) && !xDlgLibContainer->isLibraryLink( aLibName ) ) )
|
||||
{
|
||||
OUString aErrStr( IDEResId(RID_STR_REPLACELIB) );
|
||||
aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + OUString(IDEResId(RID_STR_LIBISREADONLY));
|
||||
aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + IDEResId(RID_STR_LIBISREADONLY);
|
||||
ScopedVclPtrInstance<MessageDialog>(this, aErrStr)->Execute();
|
||||
continue;
|
||||
}
|
||||
|
@ -898,7 +898,7 @@ void LibPage::InsertLib()
|
|||
aErrStr = IDEResId(RID_STR_REFNOTPOSSIBLE);
|
||||
else
|
||||
aErrStr = IDEResId(RID_STR_IMPORTNOTPOSSIBLE);
|
||||
aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" + OUString(IDEResId(RID_STR_SBXNAMEALLREADYUSED));
|
||||
aErrStr = aErrStr.replaceAll("XX", aLibName) + "\n" +IDEResId(RID_STR_SBXNAMEALLREADYUSED);
|
||||
ScopedVclPtrInstance<MessageDialog>(this, aErrStr)->Execute();
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "bitmaps.hlst"
|
||||
|
||||
#include "moduldlg.hxx"
|
||||
|
@ -942,7 +942,7 @@ void LibDialog::dispose()
|
|||
|
||||
void LibDialog::SetStorageName( const OUString& rName )
|
||||
{
|
||||
OUString aName = OUString(IDEResId(RID_STR_FILENAME)) + rName;
|
||||
OUString aName = IDEResId(RID_STR_FILENAME) + rName;
|
||||
m_pStorageFrame->set_label(aName);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "objdlg.hrc"
|
||||
#include "strings.hrc"
|
||||
|
||||
#include "objdlg.hxx"
|
||||
#include "helpid.hrc"
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
#ifndef BASCTL_OBJDLG_HRC
|
||||
#define BASCTL_OBJDLG_HRC
|
||||
|
||||
#include <svl/solar.hrc>
|
||||
|
||||
#define RID_BASICIDE_OBJCAT ( RID_BASICIDE_START + 70 )
|
||||
#define RID_STR_TLB_MACROS ( RID_BASICIDE_START + 71 )
|
||||
|
||||
#endif // BASCTL_OBJDLG_HRR
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -1,32 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <objdlg.hrc>
|
||||
|
||||
String RID_BASICIDE_OBJCAT
|
||||
{
|
||||
Text [en-US] = "Object Catalog";
|
||||
};
|
||||
|
||||
String RID_STR_TLB_MACROS
|
||||
{
|
||||
Text [ en-US ] = "Objects Tree";
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -20,7 +20,7 @@
|
|||
#include <memory>
|
||||
#include "scriptdocument.hxx"
|
||||
#include "basobj.hxx"
|
||||
#include "basidesh.hrc"
|
||||
#include "strings.hrc"
|
||||
#include "iderid.hxx"
|
||||
#include "dlgeddef.hxx"
|
||||
#include "doceventnotifier.hxx"
|
||||
|
|
|
@ -29,9 +29,8 @@
|
|||
#include "dlgedview.hxx"
|
||||
#include "iderid.hxx"
|
||||
#include "localizationmgr.hxx"
|
||||
|
||||
#include "dlgresid.hrc"
|
||||
#include "strings.hxx"
|
||||
#include "strings.hrc"
|
||||
|
||||
#include <com/sun/star/beans/NamedValue.hpp>
|
||||
#include <com/sun/star/form/binding/XBindableValue.hpp>
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "dlgresid.hrc"
|
||||
|
||||
// Property Browser Headline ----------------------------------------------------------------
|
||||
|
||||
String RID_STR_BRWTITLE_PROPERTIES
|
||||
{
|
||||
Text [ en-US ] = "Properties: ";
|
||||
};
|
||||
String RID_STR_BRWTITLE_NO_PROPERTIES
|
||||
{
|
||||
Text [ en-US ] = "No Control marked";
|
||||
};
|
||||
String RID_STR_BRWTITLE_MULTISELECT
|
||||
{
|
||||
Text [ en-US ] = "Multiselection";
|
||||
};
|
||||
|
||||
String RID_STR_DEF_LANG
|
||||
{
|
||||
Text [ en-US ] = "[Default Language]" ;
|
||||
};
|
||||
|
||||
String RID_STR_CREATE_LANG
|
||||
{
|
||||
Text [ en-US ] = "<Press 'Add' to create language resources>" ;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -24,8 +24,8 @@
|
|||
#include "localizationmgr.hxx"
|
||||
#include "managelang.hxx"
|
||||
|
||||
#include "dlgresid.hrc"
|
||||
#include "helpid.hrc"
|
||||
#include "strings.hrc"
|
||||
|
||||
#include <com/sun/star/i18n/Boundary.hpp>
|
||||
#include <com/sun/star/i18n/WordType.hpp>
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include "dlgedobj.hxx"
|
||||
#include "iderid.hxx"
|
||||
#include "baside3.hxx"
|
||||
#include "strings.hrc"
|
||||
|
||||
#include "dlgresid.hrc"
|
||||
#include "strings.hxx"
|
||||
#include <svx/svxids.hrc>
|
||||
|
||||
|
@ -285,8 +285,8 @@ void PropBrw::implSetNewObjectSequence
|
|||
{
|
||||
xObjectInspector->inspect( _rObjectSeq );
|
||||
|
||||
OUString aText = OUString(IDEResId(RID_STR_BRWTITLE_PROPERTIES))
|
||||
+ OUString(IDEResId(RID_STR_BRWTITLE_MULTISELECT));
|
||||
OUString aText = IDEResId(RID_STR_BRWTITLE_PROPERTIES)
|
||||
+ IDEResId(RID_STR_BRWTITLE_MULTISELECT);
|
||||
SetText( aText );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef BASCTL_DLGRESID_HRC
|
||||
#define BASCTL_DLGRESID_HRC
|
||||
|
||||
#include <svl/solar.hrc>
|
||||
|
||||
#define RID_STR_TRANSLATION_NOTLOCALIZED ( RID_DLG_START + 21 )
|
||||
#define RID_STR_TRANSLATION_DEFAULT ( RID_DLG_START + 22 )
|
||||
#define RID_STR_DEF_LANG ( RID_DLG_START + 25 )
|
||||
#define RID_STR_CREATE_LANG ( RID_DLG_START + 26 )
|
||||
|
||||
// Property Browser Headline Id's -----------------------------------------------------------
|
||||
|
||||
#define RID_STR_BRWTITLE_PROPERTIES ( RID_DLG_START + 60 )
|
||||
#define RID_STR_BRWTITLE_NO_PROPERTIES ( RID_DLG_START + 61 )
|
||||
#define RID_STR_BRWTITLE_MULTISELECT ( RID_DLG_START + 62 )
|
||||
|
||||
#endif // BASCTL_DLGRESID_HRC
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -20,16 +20,12 @@
|
|||
#ifndef INCLUDED_BASCTL_SOURCE_INC_IDERID_HXX
|
||||
#define INCLUDED_BASCTL_SOURCE_INC_IDERID_HXX
|
||||
|
||||
#include <tools/resid.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
namespace basctl
|
||||
{
|
||||
|
||||
class IDEResId: public ResId
|
||||
{
|
||||
public:
|
||||
IDEResId( sal_uInt16 nId );
|
||||
};
|
||||
OUString IDEResId(const char *pId);
|
||||
|
||||
} // namespace basctl
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.16.0 on Fri Jan 3 21:01:14 2014 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<!-- interface-requires gtk+ 3.0 -->
|
||||
<!-- interface-requires LibreOffice 1.0 -->
|
||||
<object class="GtkDialog" id="BasicMacroDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">%PRODUCTNAME Basic Macros</property>
|
||||
<property name="title" translatable="yes" context="basicmacrodialog|BasicMacroDialog">%PRODUCTNAME Basic Macros</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -19,7 +19,7 @@
|
|||
<property name="layout_style">start</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="run">
|
||||
<property name="label" translatable="yes">Run</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|run">Run</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="can_default">True</property>
|
||||
|
@ -35,7 +35,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="assign">
|
||||
<property name="label" translatable="yes">Assign...</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|assign">Assign...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -49,7 +49,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="edit">
|
||||
<property name="label" translatable="yes">Edit</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|edit">Edit</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -78,7 +78,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="organize">
|
||||
<property name="label" translatable="yes">Organizer...</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|organize">Organizer...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -92,7 +92,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newlibrary">
|
||||
<property name="label" translatable="yes">New Library</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|newlibrary">New Library</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newmodule">
|
||||
<property name="label" translatable="yes">New Module</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|newmodule">New Module</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -195,7 +195,7 @@
|
|||
<object class="GtkLabel" id="existingmacrosft">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Existing Macros In:</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|existingmacrosft">Existing Macros In:</property>
|
||||
<property name="track_visited_links">False</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
|
@ -249,7 +249,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Macro From</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|macrofromft">Macro From</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
@ -265,7 +265,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Save Macro In</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|macrotoft">Save Macro In</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
@ -311,7 +311,7 @@
|
|||
<object class="GtkLabel" id="libraryft1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Macro Name</property>
|
||||
<property name="label" translatable="yes" context="basicmacrodialog|libraryft1">Macro Name</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.10"/>
|
||||
<object class="GtkMenu" id="breaklistmenu">
|
||||
<property name="visible">True</property>
|
||||
|
@ -9,7 +9,7 @@
|
|||
<object class="GtkMenuItem" id="manage">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Manage Breakpoints...</property>
|
||||
<property name="label" translatable="yes" context="breakpointmenus|manage">Manage Breakpoints...</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<object class="GtkCheckMenuItem" id="active">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">_Active</property>
|
||||
<property name="label" translatable="yes" context="breakpointmenus|active">_Active</property>
|
||||
<property name="use_underline">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -34,7 +34,7 @@
|
|||
<object class="GtkMenuItem" id="properties">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">_Properties...</property>
|
||||
<property name="label" translatable="yes" context="breakpointmenus|properties">_Properties...</property>
|
||||
<property name="use_underline">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkDialog" id="DefaultLanguageDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Set Default User Interface Language</property>
|
||||
<property name="title" translatable="yes" context="defaultlanguage|DefaultLanguageDialog">Set Default User Interface Language</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -90,7 +90,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Default language:</property>
|
||||
<property name="label" translatable="yes" context="defaultlanguage|defaultlabel">Default language:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">entries:border</property>
|
||||
</object>
|
||||
|
@ -132,7 +132,7 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="no_show_all">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Available languages:</property>
|
||||
<property name="label" translatable="yes" context="defaultlanguage|checkedlabel">Available languages:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">checkedentries:border</property>
|
||||
</object>
|
||||
|
@ -152,7 +152,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Select a language to define the default user interface language. All currently present strings will be assigned to the resources created for the selected language.</property>
|
||||
<property name="label" translatable="yes" context="defaultlanguage|defined">Select a language to define the default user interface language. All currently present strings will be assigned to the resources created for the selected language.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap_mode">word-char</property>
|
||||
<property name="max_width_chars">72</property>
|
||||
|
@ -167,7 +167,7 @@
|
|||
<property name="can_focus">False</property>
|
||||
<property name="no_show_all">True</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Select languages to be added. Resources for these languages will be created in the library. Strings of the current default user interface language will be copied to these new resources by default.</property>
|
||||
<property name="label" translatable="yes" context="defaultlanguage|added">Select languages to be added. Resources for these languages will be created in the library. Strings of the current default user interface language will be copied to these new resources by default.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap_mode">word-char</property>
|
||||
<property name="max_width_chars">72</property>
|
||||
|
@ -181,7 +181,7 @@
|
|||
<object class="GtkLabel" id="alttitle">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="no_show_all">True</property>
|
||||
<property name="label" translatable="yes">Add User Interface Languages</property>
|
||||
<property name="label" translatable="yes" context="defaultlanguage|alttitle">Add User Interface Languages</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkMessageDialog" id="DeleteLangDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Delete Language Resources</property>
|
||||
<property name="title" translatable="yes" context="deletelangdialog|DeleteLangDialog">Delete Language Resources</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<property name="skip_taskbar_hint">True</property>
|
||||
<property name="message_type">question</property>
|
||||
<property name="buttons">ok-cancel</property>
|
||||
<property name="text" translatable="yes">Do you want to delete the resources of the selected language(s)?</property>
|
||||
<property name="secondary_text" translatable="yes">You are about to delete the resources for the selected language(s). All user interface strings for this language(s) will be deleted.</property>
|
||||
<property name="text" translatable="yes" context="deletelangdialog|DeleteLangDialog">Do you want to delete the resources of the selected language(s)?</property>
|
||||
<property name="secondary_text" translatable="yes" context="deletelangdialog|DeleteLangDialog">You are about to delete the resources for the selected language(s). All user interface strings for this language(s) will be deleted.</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="messagedialog-vbox">
|
||||
<property name="can_focus">False</property>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkGrid" id="DialogPage">
|
||||
|
@ -27,7 +27,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Dialog:</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|label1">Dialog:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">library:border</property>
|
||||
</object>
|
||||
|
@ -81,7 +81,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newmodule">
|
||||
<property name="label" translatable="yes">_New...</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|newmodule">_New...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newdialog">
|
||||
<property name="label" translatable="yes">_New...</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|newdialog">_New...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -127,7 +127,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="password">
|
||||
<property name="label" translatable="yes">_Password...</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|password">_Password...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -141,7 +141,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="import">
|
||||
<property name="label" translatable="yes">_Import...</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|import">_Import...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -155,7 +155,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="export">
|
||||
<property name="label" translatable="yes">_Export...</property>
|
||||
<property name="label" translatable="yes" context="dialogpage|export">_Export...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkDialog" id="ExportDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Export Basic library</property>
|
||||
<property name="title" translatable="yes" context="exportdialog|ExportDialog">Export Basic library</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -80,7 +80,7 @@
|
|||
<property name="row_spacing">6</property>
|
||||
<child>
|
||||
<object class="GtkRadioButton" id="extension">
|
||||
<property name="label" translatable="yes">Export as _extension</property>
|
||||
<property name="label" translatable="yes" context="exportdialog|extension">Export as _extension</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -97,7 +97,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkRadioButton" id="basic">
|
||||
<property name="label" translatable="yes">Export as BASIC library</property>
|
||||
<property name="label" translatable="yes" context="exportdialog|basic">Export as BASIC library</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkDialog" id="GotoLineDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Go to Line</property>
|
||||
<property name="title" translatable="yes" context="gotolinedialog|GotoLineDialog">Go to Line</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -82,7 +82,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Line number:</property>
|
||||
<property name="label" translatable="yes" context="gotolinedialog|area">_Line number:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">entry</property>
|
||||
</object>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkDialog" id="ImportLibDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Import Libraries</property>
|
||||
<property name="title" translatable="yes" context="importlibdialog|ImportLibDialog">Import Libraries</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -95,7 +95,7 @@
|
|||
<property name="row_spacing">6</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="ref">
|
||||
<property name="label" translatable="yes">Insert as reference (read-only)</property>
|
||||
<property name="label" translatable="yes" context="importlibdialog|ref">Insert as reference (read-only)</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -110,7 +110,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="replace">
|
||||
<property name="label" translatable="yes">Replace existing libraries</property>
|
||||
<property name="label" translatable="yes" context="importlibdialog|replace">Replace existing libraries</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -131,7 +131,7 @@
|
|||
<object class="GtkLabel" id="label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Options</property>
|
||||
<property name="label" translatable="yes" context="importlibdialog|label1">Options</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkGrid" id="LibPage">
|
||||
|
@ -28,7 +28,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">L_ocation:</property>
|
||||
<property name="label" translatable="yes" context="libpage|label1">L_ocation:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">location</property>
|
||||
</object>
|
||||
|
@ -67,7 +67,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Library:</property>
|
||||
<property name="label" translatable="yes" context="libpage|lingudictsft">_Library:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">library:border</property>
|
||||
</object>
|
||||
|
@ -121,7 +121,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="password">
|
||||
<property name="label" translatable="yes">_Password...</property>
|
||||
<property name="label" translatable="yes" context="libpage|password">_Password...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -135,7 +135,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="new">
|
||||
<property name="label" translatable="yes">_New...</property>
|
||||
<property name="label" translatable="yes" context="libpage|new">_New...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -150,7 +150,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="import">
|
||||
<property name="label" translatable="yes">_Import...</property>
|
||||
<property name="label" translatable="yes" context="libpage|import">_Import...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -165,7 +165,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="export">
|
||||
<property name="label" translatable="yes">_Export...</property>
|
||||
<property name="label" translatable="yes" context="libpage|export">_Export...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkDialog" id="ManageBreakpointsDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Manage Breakpoints</property>
|
||||
<property name="title" translatable="yes" context="managebreakpoints|ManageBreakpointsDialog">Manage Breakpoints</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -126,7 +126,7 @@
|
|||
<property name="row_spacing">6</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="active">
|
||||
<property name="label" translatable="yes">Active</property>
|
||||
<property name="label" translatable="yes" context="managebreakpoints|active">Active</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -179,7 +179,7 @@
|
|||
<object class="GtkLabel" id="label2">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Pass count:</property>
|
||||
<property name="label" translatable="yes" context="managebreakpoints|label2">Pass count:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">pass-nospin</property>
|
||||
</object>
|
||||
|
@ -202,7 +202,7 @@
|
|||
<object class="GtkLabel" id="label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Breakpoints</property>
|
||||
<property name="label" translatable="yes" context="managebreakpoints|label1">Breakpoints</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkDialog" id="ManageLanguagesDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">Manage User Interface Languages [$1]</property>
|
||||
<property name="title" translatable="yes" context="managelanguages|ManageLanguagesDialog">Manage User Interface Languages [$1]</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">normal</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -66,7 +66,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">Present languages:</property>
|
||||
<property name="label" translatable="yes" context="managelanguages|label1">Present languages:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">treeview:border</property>
|
||||
</object>
|
||||
|
@ -80,7 +80,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">The default language is used if no localization for a user interface locale is present. Furthermore all strings from the default language are copied to resources of newly added languages.</property>
|
||||
<property name="label" translatable="yes" context="managelanguages|label2">The default language is used if no localization for a user interface locale is present. Furthermore all strings from the default language are copied to resources of newly added languages.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="max_width_chars">68</property>
|
||||
</object>
|
||||
|
@ -105,7 +105,7 @@
|
|||
<property name="layout_style">start</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="add">
|
||||
<property name="label" translatable="yes">Add...</property>
|
||||
<property name="label" translatable="yes" context="managelanguages|add">Add...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -133,7 +133,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="default">
|
||||
<property name="label" translatable="yes">Default</property>
|
||||
<property name="label" translatable="yes" context="managelanguages|default">Default</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<requires lib="LibreOffice" version="1.0"/>
|
||||
<object class="GtkGrid" id="ModulePage">
|
||||
|
@ -27,7 +27,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">M_odule:</property>
|
||||
<property name="label" translatable="yes" context="modulepage|label1">M_odule:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">library:border</property>
|
||||
</object>
|
||||
|
@ -81,7 +81,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newmodule">
|
||||
<property name="label" translatable="yes">_New...</property>
|
||||
<property name="label" translatable="yes" context="modulepage|newmodule">_New...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -96,7 +96,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="newdialog">
|
||||
<property name="label" translatable="yes">_New...</property>
|
||||
<property name="label" translatable="yes" context="modulepage|newdialog">_New...</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
|
@ -127,7 +127,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="password">
|
||||
<property name="label" translatable="yes">_Password...</property>
|
||||
<property name="label" translatable="yes" context="modulepage|password">_Password...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -141,7 +141,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="import">
|
||||
<property name="label" translatable="yes">_Import...</property>
|
||||
<property name="label" translatable="yes" context="modulepage|import">_Import...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
@ -155,7 +155,7 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="export">
|
||||
<property name="label" translatable="yes">_Export...</property>
|
||||
<property name="label" translatable="yes" context="modulepage|export">_Export...</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="no_show_all">True</property>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkDialog" id="NewLibDialog">
|
||||
<property name="can_focus">False</property>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="label" translatable="yes">_Name:</property>
|
||||
<property name="label" translatable="yes" context="newlibdialog|area">_Name:</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="mnemonic_widget">entry</property>
|
||||
</object>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.18.3 -->
|
||||
<interface>
|
||||
<interface domain="basctl">
|
||||
<requires lib="gtk+" version="3.0"/>
|
||||
<object class="GtkDialog" id="OrganizeDialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="border_width">6</property>
|
||||
<property name="title" translatable="yes">%PRODUCTNAME Basic Macro Organizer</property>
|
||||
<property name="title" translatable="yes" context="organizedialog|OrganizeDialog">%PRODUCTNAME Basic Macro Organizer</property>
|
||||
<property name="resizable">False</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -69,7 +69,7 @@
|
|||
<object class="GtkLabel" id="modules">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Modules</property>
|
||||
<property name="label" translatable="yes" context="organizedialog|modules">Modules</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="tab_fill">False</property>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<object class="GtkLabel" id="dialogs">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Dialogs</property>
|
||||
<property name="label" translatable="yes" context="organizedialog|dialogs">Dialogs</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<object class="GtkLabel" id="libraries">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Libraries</property>
|
||||
<property name="label" translatable="yes" context="organizedialog|libraries">Libraries</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">2</property>
|
||||
|
|
|
@ -5,12 +5,9 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_Module_Module,rsc))
|
||||
$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,sb))
|
||||
|
||||
$(eval $(call gb_Module_add_targets_for_build,rsc,\
|
||||
Executable_rsc \
|
||||
))
|
||||
$(eval $(call gb_AllLangMoTarget_set_polocation,sb,basic))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -1,39 +0,0 @@
|
|||
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
||||
#
|
||||
# This file is part of the LibreOffice project.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# This file incorporates work covered by the following license notice:
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
# contributor license agreements. See the NOTICE file distributed
|
||||
# with this work for additional information regarding copyright
|
||||
# ownership. The ASF licenses this file to you under the Apache
|
||||
# License, Version 2.0 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
#
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_AllLangResTarget,sb))
|
||||
|
||||
|
||||
$(eval $(call gb_AllLangResTarget_add_srs,sb,\
|
||||
sb/res \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_SrsTarget,sb/res))
|
||||
|
||||
$(eval $(call gb_SrsTarget_set_include,sb/res,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/basic/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_files,sb/res,\
|
||||
basic/source/classes/sb.src \
|
||||
basic/source/sbx/format.src \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
|
@ -158,7 +158,4 @@ $(eval $(call gb_Library_add_exception_objects,sb,\
|
|||
endif
|
||||
endif
|
||||
|
||||
# Runtime dependency for unit-tests
|
||||
$(eval $(call gb_Library_use_restarget,sb,sb))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
|
@ -12,7 +12,7 @@ $(eval $(call gb_Module_Module,basic))
|
|||
ifneq ($(filter SCRIPTING,$(BUILD_TYPE)),)
|
||||
|
||||
$(eval $(call gb_Module_add_l10n_targets,basic,\
|
||||
AllLangResTarget_sb \
|
||||
AllLangMoTarget_sb \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Module_add_check_targets,basic,\
|
||||
|
|
161
basic/inc/basic.hrc
Normal file
161
basic/inc/basic.hrc
Normal file
|
@ -0,0 +1,161 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/*
|
||||
* This file is part of the LibreOffice project.
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*
|
||||
* This file incorporates work covered by the following license notice:
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed
|
||||
* with this work for additional information regarding copyright
|
||||
* ownership. The ASF licenses this file to you under the Apache
|
||||
* License, Version 2.0 (the N_("License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
#define INCLUDED_BASIC_INC_STRINGS_HRC
|
||||
|
||||
#define NC_(Context, String) (Context "\004" u8##String)
|
||||
|
||||
std::pair<const char*, ErrCode> RID_BASIC_START[] =
|
||||
{
|
||||
{ NC_("RID_BASIC_START", "Syntax error."), ErrCode(sal_uInt32(ERRCODE_BASIC_SYNTAX) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Return without Gosub."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_GOSUB) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Incorrect entry; please retry."), ErrCode(sal_uInt32(ERRCODE_BASIC_REDO_FROM_START) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid procedure call."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_ARGUMENT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Overflow."), ErrCode(sal_uInt32(ERRCODE_BASIC_MATH_OVERFLOW) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Not enough memory."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_MEMORY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Array already dimensioned."), ErrCode(sal_uInt32(ERRCODE_BASIC_ALREADY_DIM) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Index out of defined range."), ErrCode(sal_uInt32(ERRCODE_BASIC_OUT_OF_RANGE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Duplicate definition."), ErrCode(sal_uInt32(ERRCODE_BASIC_DUPLICATE_DEF) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Division by zero."), ErrCode(sal_uInt32(ERRCODE_BASIC_ZERODIV) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Variable not defined."), ErrCode(sal_uInt32(ERRCODE_BASIC_VAR_UNDEFINED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Data type mismatch."), ErrCode(sal_uInt32(ERRCODE_BASIC_CONVERSION) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid parameter."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_PARAMETER) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Process interrupted by user."), ErrCode(sal_uInt32(ERRCODE_BASIC_USER_ABORT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Resume without error."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_RESUME) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Not enough stack memory."), ErrCode(sal_uInt32(ERRCODE_BASIC_STACK_OVERFLOW) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Sub-procedure or function procedure not defined."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROC_UNDEFINED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Error loading DLL file."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_DLL_LOAD) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Wrong DLL call convention."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_DLL_CALL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Internal error $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_INTERNAL_ERROR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid file name or file number."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_CHANNEL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "File not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_FILE_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Incorrect file mode."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_FILE_MODE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "File already open."), ErrCode(sal_uInt32(ERRCODE_BASIC_FILE_ALREADY_OPEN) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Device I/O error."), ErrCode(sal_uInt32(ERRCODE_BASIC_IO_ERROR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "File already exists."), ErrCode(sal_uInt32(ERRCODE_BASIC_FILE_EXISTS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Incorrect record length."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_RECORD_LENGTH) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Disk or hard drive full."), ErrCode(sal_uInt32(ERRCODE_BASIC_DISK_FULL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Reading exceeds EOF."), ErrCode(sal_uInt32(ERRCODE_BASIC_READ_PAST_EOF) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Incorrect record number."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_RECORD_NUMBER) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Too many files."), ErrCode(sal_uInt32(ERRCODE_BASIC_TOO_MANY_FILES) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Device not available."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_DEVICE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Access denied."), ErrCode(sal_uInt32(ERRCODE_BASIC_ACCESS_DENIED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Disk not ready."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_READY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Not implemented."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_IMPLEMENTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Renaming on different drives impossible."), ErrCode(sal_uInt32(ERRCODE_BASIC_DIFFERENT_DRIVE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Path/File access error."), ErrCode(sal_uInt32(ERRCODE_BASIC_ACCESS_ERROR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Path not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_PATH_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object variable not set."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_OBJECT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid string pattern."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_PATTERN) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Use of zero not permitted."), ErrCode(sal_uInt32(ERRCODE_BASIC_IS_NULL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE Error."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_ERROR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Awaiting response to DDE connection."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_WAITINGACK) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "No DDE channels available."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_OUTOFCHANNELS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "No application responded to DDE connect initiation."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_NO_RESPONSE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Too many applications responded to DDE connect initiation."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_MULT_RESPONSES) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE channel locked."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_CHANNEL_LOCKED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "External application cannot execute DDE operation."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_NOTPROCESSED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Timeout while waiting for DDE response."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_TIMEOUT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "User pressed ESCAPE during DDE operation."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_USER_INTERRUPT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "External application busy."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_BUSY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE operation without data."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_NO_DATA) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Data are in wrong format."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_WRONG_DATA_FORMAT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "External application has been terminated."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_PARTNER_QUIT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE connection interrupted or modified."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_CONV_CLOSED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE method invoked with no channel open."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_NO_CHANNEL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid DDE link format."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_INVALID_LINK) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE message has been lost."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_QUEUE_OVERFLOW) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Paste link already performed."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_LINK_ALREADY_EST) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Link mode cannot be set due to invalid link topic."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_LINK_INV_TOPIC) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "DDE requires the DDEML.DLL file."), ErrCode(sal_uInt32(ERRCODE_BASIC_DDE_DLL_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Module cannot be loaded; invalid format."), ErrCode(sal_uInt32(ERRCODE_BASIC_CANNOT_LOAD) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid object index."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_INDEX) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object is not available."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_ACTIVE_OBJECT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Incorrect property value."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_PROP_VALUE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "This property is read-only."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROP_READONLY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "This property is write only."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROP_WRITEONLY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid object reference."), ErrCode(sal_uInt32(ERRCODE_BASIC_INVALID_OBJECT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Property or method not found: $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_METHOD) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object required."), ErrCode(sal_uInt32(ERRCODE_BASIC_NEEDS_OBJECT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid use of an object."), ErrCode(sal_uInt32(ERRCODE_BASIC_INVALID_USAGE_OBJECT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "OLE Automation is not supported by this object."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_OLE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "This property or method is not supported by the object."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_METHOD) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "OLE Automation Error."), ErrCode(sal_uInt32(ERRCODE_BASIC_OLE_ERROR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "This action is not supported by given object."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_ACTION) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Named arguments are not supported by given object."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_NAMED_ARGS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "The current locale setting is not supported by the given object."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_LOCALE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Named argument not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_NAMED_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Argument is not optional."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_OPTIONAL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid number of arguments."), ErrCode(sal_uInt32(ERRCODE_BASIC_WRONG_ARGS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object is not a list."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_A_COLL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid ordinal number."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_ORDINAL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Specified DLL function not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_DLLPROC_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid clipboard format."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_CLIPBD_FORMAT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object does not have this property."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROPERTY_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Object does not have this method."), ErrCode(sal_uInt32(ERRCODE_BASIC_METHOD_NOT_FOUND) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Required argument lacking."), ErrCode(sal_uInt32(ERRCODE_BASIC_ARG_MISSING) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid number of arguments."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_NUMBER_OF_ARGS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Error executing a method."), ErrCode(sal_uInt32(ERRCODE_BASIC_METHOD_FAILED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Unable to set property."), ErrCode(sal_uInt32(ERRCODE_BASIC_SETPROP_FAILED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Unable to determine property."), ErrCode(sal_uInt32(ERRCODE_BASIC_GETPROP_FAILED) & ERRCODE_RES_MASK) },
|
||||
// Compiler errors. These are not runtime errors.
|
||||
{ NC_("RID_BASIC_START", "Unexpected symbol: $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNEXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Expected: $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_EXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Symbol expected."), ErrCode(sal_uInt32(ERRCODE_BASIC_SYMBOL_EXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Variable expected."), ErrCode(sal_uInt32(ERRCODE_BASIC_VAR_EXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Label expected."), ErrCode(sal_uInt32(ERRCODE_BASIC_LABEL_EXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Value cannot be applied."), ErrCode(sal_uInt32(ERRCODE_BASIC_LVALUE_EXPECTED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Variable $(ARG1) already defined."), ErrCode(sal_uInt32(ERRCODE_BASIC_VAR_DEFINED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Sub procedure or function procedure $(ARG1) already defined."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROC_DEFINED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Label $(ARG1) already defined."), ErrCode(sal_uInt32(ERRCODE_BASIC_LABEL_DEFINED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Variable $(ARG1) not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNDEF_VAR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Array or procedure $(ARG1) not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNDEF_ARRAY) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Procedure $(ARG1) not found."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNDEF_PROC) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Label $(ARG1) undefined."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNDEF_LABEL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Unknown data type $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_UNDEF_TYPE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Exit $(ARG1) expected."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_EXIT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Statement block still open: $(ARG1) missing."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_BLOCK) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Parentheses do not match."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_BRACKETS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Symbol $(ARG1) already defined differently."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_DECLARATION) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Parameters do not correspond to procedure."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_PARAMETERS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Invalid character in number."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_CHAR_IN_NUMBER) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Array must be dimensioned."), ErrCode(sal_uInt32(ERRCODE_BASIC_MUST_HAVE_DIMS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Else/Endif without If."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_IF) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "$(ARG1) not allowed within a procedure."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_IN_SUBR) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "$(ARG1) not allowed outside a procedure."), ErrCode(sal_uInt32(ERRCODE_BASIC_NOT_IN_MAIN) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Dimension specifications do not match."), ErrCode(sal_uInt32(ERRCODE_BASIC_WRONG_DIMS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Unknown option: $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_BAD_OPTION) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Constant $(ARG1) redefined."), ErrCode(sal_uInt32(ERRCODE_BASIC_CONSTANT_REDECLARED) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Program too large."), ErrCode(sal_uInt32(ERRCODE_BASIC_PROG_TOO_LARGE) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Strings or arrays not permitted."), ErrCode(sal_uInt32(ERRCODE_BASIC_NO_STRINGS_ARRAYS) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "An exception occurred $(ARG1)."), ErrCode(sal_uInt32(ERRCODE_BASIC_EXCEPTION) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "This array is fixed or temporarily locked."), ErrCode(sal_uInt32(ERRCODE_BASIC_ARRAY_FIX) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Out of string space."), ErrCode(sal_uInt32(ERRCODE_BASIC_STRING_OVERFLOW) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Expression Too Complex."), ErrCode(sal_uInt32(ERRCODE_BASIC_EXPR_TOO_COMPLEX) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Can't perform requested operation."), ErrCode(sal_uInt32(ERRCODE_BASIC_OPER_NOT_PERFORM) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "Too many DLL application clients."), ErrCode(sal_uInt32(ERRCODE_BASIC_TOO_MANY_DLL) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "For loop not initialized."), ErrCode(sal_uInt32(ERRCODE_BASIC_LOOP_NOT_INIT) & ERRCODE_RES_MASK) },
|
||||
{ NC_("RID_BASIC_START", "$(ARG1)"), ErrCode(sal_uInt32(ERRCODE_BASIC_COMPAT) & ERRCODE_RES_MASK) },
|
||||
{ nullptr, ERRCODE_NONE }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue