diff options
Diffstat (limited to 'chart2')
98 files changed, 798 insertions, 1745 deletions
diff --git a/chart2/AllLangMoTarget_chart.mk b/chart2/AllLangMoTarget_chart.mk new file mode 100644 index 000000000000..bf3b19b3876b --- /dev/null +++ b/chart2/AllLangMoTarget_chart.mk @@ -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,chart)) + +$(eval $(call gb_AllLangMoTarget_set_polocation,chart,chart2)) + +# vim: set noet sw=4 ts=4: diff --git a/chart2/AllLangResTarget_chartcontroller.mk b/chart2/AllLangResTarget_chartcontroller.mk deleted file mode 100644 index 9d9cddb3f974..000000000000 --- a/chart2/AllLangResTarget_chartcontroller.mk +++ /dev/null @@ -1,35 +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,chartcontroller)) - -$(eval $(call gb_AllLangResTarget_set_reslocation,chartcontroller,chart2)) - -$(eval $(call gb_AllLangResTarget_add_srs,chartcontroller,\ - chart2/res \ -)) - -$(eval $(call gb_SrsTarget_SrsTarget,chart2/res)) - -$(eval $(call gb_SrsTarget_set_include,chart2/res,\ - $$(INCLUDE) \ - -I$(SRCDIR)/chart2/source/controller/dialogs \ - -I$(SRCDIR)/chart2/source/controller/inc \ - -I$(SRCDIR)/chart2/source/controller/main \ - -I$(SRCDIR)/chart2/source/inc \ -)) - -$(eval $(call gb_SrsTarget_add_files,chart2/res,\ - chart2/source/controller/dialogs/Strings_ChartTypes.src \ - chart2/source/controller/dialogs/Strings_Scale.src \ - chart2/source/controller/dialogs/Strings.src \ - chart2/source/controller/dialogs/Strings_Statistic.src \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/chart2/CppunitTest_chart2_import.mk b/chart2/CppunitTest_chart2_import.mk index af8619454f8d..17769c6e5173 100644 --- a/chart2/CppunitTest_chart2_import.mk +++ b/chart2/CppunitTest_chart2_import.mk @@ -128,7 +128,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_import,\ $(eval $(call gb_CppunitTest_use_configuration,chart2_import)) -$(call gb_CppunitTest_get_target,chart2_import): \ - $(call gb_AllLangResTarget_get_target,sd) - # vim: set noet sw=4 ts=4: diff --git a/chart2/CppunitTest_chart2_trendcalculators.mk b/chart2/CppunitTest_chart2_trendcalculators.mk index de8b20e1ec42..aa9a6d6b037e 100644 --- a/chart2/CppunitTest_chart2_trendcalculators.mk +++ b/chart2/CppunitTest_chart2_trendcalculators.mk @@ -127,7 +127,4 @@ $(eval $(call gb_CppunitTest_use_components,chart2_trendcalculators,\ $(eval $(call gb_CppunitTest_use_configuration,chart2_trendcalculators)) -$(call gb_CppunitTest_get_target,chart2_trendcalculators): \ - $(call gb_AllLangResTarget_get_target,sd) - # vim: set noet sw=4 ts=4: diff --git a/chart2/Library_chartcontroller.mk b/chart2/Library_chartcontroller.mk index ee4dc2ea5328..7c0cc90a1d14 100644 --- a/chart2/Library_chartcontroller.mk +++ b/chart2/Library_chartcontroller.mk @@ -201,7 +201,4 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\ chart2/source/controller/uitest/uiobject \ )) -# Runtime dependency for unit-tests -$(eval $(call gb_Library_use_restarget,chartcontroller,chartcontroller)) - # vim: set noet sw=4 ts=4: diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk index 5e2d820bd7b9..c044d016a91a 100644 --- a/chart2/Module_chart2.mk +++ b/chart2/Module_chart2.mk @@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,chart2)) $(eval $(call gb_Module_add_targets,chart2,\ Library_chartcontroller \ Library_chartcore \ + UIConfig_chart2 \ )) ifeq ($(ENABLE_HEADLESS),) $(eval $(call gb_Module_add_targets,chart2,\ @@ -21,8 +22,7 @@ $(eval $(call gb_Module_add_targets,chart2,\ endif $(eval $(call gb_Module_add_l10n_targets,chart2,\ - AllLangResTarget_chartcontroller \ - UIConfig_chart2 \ + AllLangMoTarget_chart \ )) ifneq ($(OS),IOS) diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx index 337b33a35b9f..f85aafda5899 100644 --- a/chart2/inc/pch/precompiled_chartcontroller.hxx +++ b/chart2/inc/pch/precompiled_chartcontroller.hxx @@ -361,8 +361,6 @@ #include <i18nutil/paper.hxx> #include <o3tl/cow_wrapper.hxx> #include <o3tl/typed_flags_set.hxx> -#include <rsc/rsc-vcl-shared-types.hxx> -#include <rsc/rscsfx.hxx> #include <sfx2/dllapi.h> #include <sfx2/sfxuno.hxx> #include <sfx2/shell.hxx> @@ -498,7 +496,6 @@ #include <tools/multisel.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> diff --git a/chart2/inc/strings.hrc b/chart2/inc/strings.hrc new file mode 100644 index 000000000000..fac728c6e4dd --- /dev/null +++ b/chart2/inc/strings.hrc @@ -0,0 +1,198 @@ +/* -*- 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 CHART_STRINGS_HRC +#define CHART_STRINGS_HRC + +#define NC_(Context, String) (Context "\004" u8##String) + +#define STR_DLG_CHART_WIZARD NC_("STR_DLG_CHART_WIZARD", "Chart Wizard") +#define STR_DLG_SMOOTH_LINE_PROPERTIES NC_("STR_DLG_SMOOTH_LINE_PROPERTIES", "Smooth Lines") +#define STR_DLG_STEPPED_LINE_PROPERTIES NC_("STR_DLG_STEPPED_LINE_PROPERTIES", "Stepped Lines") +#define STR_PAGE_CHARTTYPE NC_("STR_PAGE_CHARTTYPE", "Chart Type") +#define STR_PAGE_DATA_RANGE NC_("STR_PAGE_DATA_RANGE", "Data Range") +#define STR_PAGE_CHART_ELEMENTS NC_("STR_PAGE_CHART_ELEMENTS", "Chart Elements") +#define STR_PAGE_LINE NC_("STR_PAGE_LINE", "Line") +#define STR_PAGE_BORDER NC_("STR_PAGE_BORDER", "Borders") +#define STR_PAGE_AREA NC_("STR_PAGE_AREA", "Area") +#define STR_PAGE_TRANSPARENCY NC_("STR_PAGE_TRANSPARENCY", "Transparency") +#define STR_PAGE_FONT NC_("STR_PAGE_FONT", "Font") +#define STR_PAGE_FONT_EFFECTS NC_("STR_PAGE_FONT_EFFECTS", "Font Effects") +#define STR_PAGE_NUMBERS NC_("STR_PAGE_NUMBERS", "Numbers") +#define STR_PAGE_POSITION NC_("STR_PAGE_POSITION", "Position") +#define STR_PAGE_LAYOUT NC_("STR_PAGE_LAYOUT", "Layout") +#define STR_PAGE_OPTIONS NC_("STR_PAGE_OPTIONS", "Options") +#define STR_PAGE_SCALE NC_("STR_PAGE_SCALE", "Scale") +#define STR_PAGE_POSITIONING NC_("STR_PAGE_POSITIONING", "Positioning") +#define STR_PAGE_TRENDLINE_TYPE NC_("STR_PAGE_TRENDLINE_TYPE", "Type") +#define STR_PAGE_XERROR_BARS NC_("STR_PAGE_XERROR_BARS", "X Error Bars") +#define STR_PAGE_YERROR_BARS NC_("STR_PAGE_YERROR_BARS", "Y Error Bars") +#define STR_PAGE_ALIGNMENT NC_("STR_PAGE_ALIGNMENT", "Alignment") +#define STR_PAGE_PERSPECTIVE NC_("STR_PAGE_PERSPECTIVE", "Perspective") +#define STR_PAGE_APPEARANCE NC_("STR_PAGE_APPEARANCE", "Appearance") +#define STR_PAGE_ILLUMINATION NC_("STR_PAGE_ILLUMINATION", "Illumination") +#define STR_PAGE_ASIAN NC_("STR_PAGE_ASIAN", "Asian Typography") +#define STR_OBJECT_AVERAGE_LINE_WITH_PARAMETERS NC_("STR_OBJECT_AVERAGE_LINE_WITH_PARAMETERS", "Mean value line with value %AVERAGE_VALUE and standard deviation %STD_DEVIATION") +#define STR_OBJECT_AXIS NC_("STR_OBJECT_AXIS", "Axis") +#define STR_OBJECT_AXIS_X NC_("STR_OBJECT_AXIS_X", "X Axis") +#define STR_OBJECT_AXIS_Y NC_("STR_OBJECT_AXIS_Y", "Y Axis") +#define STR_OBJECT_AXIS_Z NC_("STR_OBJECT_AXIS_Z", "Z Axis") +#define STR_OBJECT_SECONDARY_X_AXIS NC_("STR_OBJECT_SECONDARY_X_AXIS", "Secondary X Axis") +#define STR_OBJECT_SECONDARY_Y_AXIS NC_("STR_OBJECT_SECONDARY_Y_AXIS", "Secondary Y Axis") +#define STR_OBJECT_AXES NC_("STR_OBJECT_AXES", "Axes") +#define STR_OBJECT_GRIDS NC_("STR_OBJECT_GRIDS", "Grids") +#define STR_OBJECT_GRID NC_("STR_OBJECT_GRID", "Grid") +#define STR_OBJECT_GRID_MAJOR_X NC_("STR_OBJECT_GRID_MAJOR_X", "X Axis Major Grid") +#define STR_OBJECT_GRID_MAJOR_Y NC_("STR_OBJECT_GRID_MAJOR_Y", "Y Axis Major Grid") +#define STR_OBJECT_GRID_MAJOR_Z NC_("STR_OBJECT_GRID_MAJOR_Z", "Z Axis Major Grid") +#define STR_OBJECT_GRID_MINOR_X NC_("STR_OBJECT_GRID_MINOR_X", "X Axis Minor Grid") +#define STR_OBJECT_GRID_MINOR_Y NC_("STR_OBJECT_GRID_MINOR_Y", "Y Axis Minor Grid") +#define STR_OBJECT_GRID_MINOR_Z NC_("STR_OBJECT_GRID_MINOR_Z", "Z Axis Minor Grid") +#define STR_OBJECT_LEGEND NC_("STR_OBJECT_LEGEND", "Legend") +#define STR_OBJECT_TITLE NC_("STR_OBJECT_TITLE", "Title") +#define STR_OBJECT_TITLES NC_("STR_OBJECT_TITLES", "Titles") +#define STR_OBJECT_TITLE_MAIN NC_("STR_OBJECT_TITLE_MAIN", "Main Title") +#define STR_OBJECT_TITLE_SUB NC_("STR_OBJECT_TITLE_SUB", "Subtitle") +#define STR_OBJECT_TITLE_X_AXIS NC_("STR_OBJECT_TITLE_X_AXIS", "X Axis Title") +#define STR_OBJECT_TITLE_Y_AXIS NC_("STR_OBJECT_TITLE_Y_AXIS", "Y Axis Title") +#define STR_OBJECT_TITLE_Z_AXIS NC_("STR_OBJECT_TITLE_Z_AXIS", "Z Axis Title") +#define STR_OBJECT_TITLE_SECONDARY_X_AXIS NC_("STR_OBJECT_TITLE_SECONDARY_X_AXIS", "Secondary X Axis Title") +#define STR_OBJECT_TITLE_SECONDARY_Y_AXIS NC_("STR_OBJECT_TITLE_SECONDARY_Y_AXIS", "Secondary Y Axis Title") +#define STR_OBJECT_LABEL NC_("STR_OBJECT_LABEL", "Label") +#define STR_OBJECT_DATALABELS NC_("STR_OBJECT_DATALABELS", "Data Labels") +#define STR_OBJECT_DATAPOINT NC_("STR_OBJECT_DATAPOINT", "Data Point") +#define STR_OBJECT_DATAPOINTS NC_("STR_OBJECT_DATAPOINTS", "Data Points") +#define STR_OBJECT_LEGEND_SYMBOL NC_("STR_OBJECT_LEGEND_SYMBOL", "Legend Key") +#define STR_OBJECT_DATASERIES NC_("STR_OBJECT_DATASERIES", "Data Series") +#define STR_OBJECT_DATASERIES_PLURAL NC_("STR_OBJECT_DATASERIES_PLURAL", "Data Series") +#define STR_OBJECT_CURVE NC_("STR_OBJECT_CURVE", "Trend Line") +#define STR_OBJECT_CURVES NC_("STR_OBJECT_CURVES", "Trend Lines") +#define STR_OBJECT_CURVE_WITH_PARAMETERS NC_("STR_OBJECT_CURVE_WITH_PARAMETERS", "Trend line %FORMULA with accuracy R² = %RSQUARED") +#define STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS NC_("STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS", "Moving average trend line with period = %PERIOD") +#define STR_OBJECT_AVERAGE_LINE NC_("STR_OBJECT_AVERAGE_LINE", "Mean Value Line") +#define STR_OBJECT_CURVE_EQUATION NC_("STR_OBJECT_CURVE_EQUATION", "Equation") +#define STR_OBJECT_ERROR_BARS_X NC_("STR_OBJECT_ERROR_BARS_X", "X Error Bars") +#define STR_OBJECT_ERROR_BARS_Y NC_("STR_OBJECT_ERROR_BARS_Y", "Y Error Bars") +#define STR_OBJECT_ERROR_BARS_Z NC_("STR_OBJECT_ERROR_BARS_Z", "Z Error Bars") +#define STR_OBJECT_STOCK_LOSS NC_("STR_OBJECT_STOCK_LOSS", "Stock Loss") +#define STR_OBJECT_STOCK_GAIN NC_("STR_OBJECT_STOCK_GAIN", "Stock Gain") +#define STR_OBJECT_PAGE NC_("STR_OBJECT_PAGE", "Chart Area") +#define STR_OBJECT_DIAGRAM NC_("STR_OBJECT_DIAGRAM", "Chart") +#define STR_OBJECT_DIAGRAM_WALL NC_("STR_OBJECT_DIAGRAM_WALL", "Chart Wall") +#define STR_OBJECT_DIAGRAM_FLOOR NC_("STR_OBJECT_DIAGRAM_FLOOR", "Chart Floor") +#define STR_OBJECT_SHAPE NC_("STR_OBJECT_SHAPE", "Drawing Object") +#define STR_TIP_DATASERIES NC_("STR_TIP_DATASERIES", "Data Series '%SERIESNAME'") +#define STR_TIP_DATAPOINT_INDEX NC_("STR_TIP_DATAPOINT_INDEX", "Data Point %POINTNUMBER") +#define STR_TIP_DATAPOINT_VALUES NC_("STR_TIP_DATAPOINT_VALUES", "Values: %POINTVALUES") +#define STR_TIP_DATAPOINT NC_("STR_TIP_DATAPOINT", "Data Point %POINTNUMBER, data series %SERIESNUMBER, values: %POINTVALUES") +#define STR_STATUS_DATAPOINT_MARKED NC_("STR_STATUS_DATAPOINT_MARKED", "Data point %POINTNUMBER in data series %SERIESNUMBER selected, values: %POINTVALUES") +#define STR_STATUS_OBJECT_MARKED NC_("STR_STATUS_OBJECT_MARKED", "%OBJECTNAME selected") +#define STR_STATUS_PIE_SEGMENT_EXPLODED NC_("STR_STATUS_PIE_SEGMENT_EXPLODED", "Pie exploded by %PERCENTVALUE percent") +#define STR_OBJECT_FOR_SERIES NC_("STR_OBJECT_FOR_SERIES", "%OBJECTNAME for Data Series '%SERIESNAME'") +#define STR_OBJECT_FOR_ALL_SERIES NC_("STR_OBJECT_FOR_ALL_SERIES", "%OBJECTNAME for all Data Series") +#define STR_ACTION_EDIT_CHARTTYPE NC_("STR_ACTION_EDIT_CHARTTYPE", "Edit chart type") +#define STR_ACTION_EDIT_DATA_RANGES NC_("STR_ACTION_EDIT_DATA_RANGES", "Edit data ranges") +#define STR_ACTION_EDIT_3D_VIEW NC_("STR_ACTION_EDIT_3D_VIEW", "Edit 3D view") +#define STR_ACTION_EDIT_CHART_DATA NC_("STR_ACTION_EDIT_CHART_DATA", "Edit chart data") +#define STR_ACTION_TOGGLE_LEGEND NC_("STR_ACTION_TOGGLE_LEGEND", "Legend on/off") +#define STR_ACTION_TOGGLE_GRID_HORZ NC_("STR_ACTION_TOGGLE_GRID_HORZ", "Horizontal grid major/major&minor/off") +#define STR_ACTION_TOGGLE_GRID_VERTICAL NC_("STR_ACTION_TOGGLE_GRID_VERTICAL", "Vertical grid major/major&minor/off") +#define STR_ACTION_SCALE_TEXT NC_("STR_ACTION_SCALE_TEXT", "Scale Text") +#define STR_ACTION_REARRANGE_CHART NC_("STR_ACTION_REARRANGE_CHART", "Automatic Layout") +#define STR_ACTION_NOTPOSSIBLE NC_("STR_ACTION_NOTPOSSIBLE", "This function cannot be completed with the selected objects.") +#define STR_ACTION_EDIT_TEXT NC_("STR_ACTION_EDIT_TEXT", "Edit text") +#define STR_COLUMN_LABEL NC_("STR_COLUMN_LABEL", "Column %COLUMNNUMBER") +#define STR_ROW_LABEL NC_("STR_ROW_LABEL", "Row %ROWNUMBER") +#define STR_DATA_ROLE_LABEL NC_("STR_DATA_ROLE_LABEL", "Name") +#define STR_DATA_ROLE_X NC_("STR_DATA_ROLE_X", "X-Values") +#define STR_DATA_ROLE_Y NC_("STR_DATA_ROLE_Y", "Y-Values") +#define STR_DATA_ROLE_SIZE NC_("STR_DATA_ROLE_SIZE", "Bubble Sizes") +#define STR_DATA_ROLE_X_ERROR NC_("STR_DATA_ROLE_X_ERROR", "X-Error-Bars") +#define STR_DATA_ROLE_X_ERROR_POSITIVE NC_("STR_DATA_ROLE_X_ERROR_POSITIVE", "Positive X-Error-Bars") +#define STR_DATA_ROLE_X_ERROR_NEGATIVE NC_("STR_DATA_ROLE_X_ERROR_NEGATIVE", "Negative X-Error-Bars") +#define STR_DATA_ROLE_Y_ERROR NC_("STR_DATA_ROLE_Y_ERROR", "Y-Error-Bars") +#define STR_DATA_ROLE_Y_ERROR_POSITIVE NC_("STR_DATA_ROLE_Y_ERROR_POSITIVE", "Positive Y-Error-Bars") +#define STR_DATA_ROLE_Y_ERROR_NEGATIVE NC_("STR_DATA_ROLE_Y_ERROR_NEGATIVE", "Negative Y-Error-Bars") +#define STR_DATA_ROLE_FIRST NC_("STR_DATA_ROLE_FIRST", "Open Values") +#define STR_DATA_ROLE_LAST NC_("STR_DATA_ROLE_LAST", "Close Values") +#define STR_DATA_ROLE_MIN NC_("STR_DATA_ROLE_MIN", "Low Values") +#define STR_DATA_ROLE_MAX NC_("STR_DATA_ROLE_MAX", "High Values") +#define STR_DATA_ROLE_CATEGORIES NC_("STR_DATA_ROLE_CATEGORIES", "Categories") +#define STR_DATA_UNNAMED_SERIES NC_("STR_DATA_UNNAMED_SERIES", "Unnamed Series") +#define STR_DATA_UNNAMED_SERIES_WITH_INDEX NC_("STR_DATA_UNNAMED_SERIES_WITH_INDEX", "Unnamed Series %NUMBER") +#define STR_DATA_SELECT_RANGE_FOR_SERIES NC_("STR_DATA_SELECT_RANGE_FOR_SERIES", "Select Range for %VALUETYPE of %SERIESNAME") +#define STR_DATA_SELECT_RANGE_FOR_CATEGORIES NC_("STR_DATA_SELECT_RANGE_FOR_CATEGORIES", "Select Range for Categories") +#define STR_DATA_SELECT_RANGE_FOR_DATALABELS NC_("STR_DATA_SELECT_RANGE_FOR_DATALABELS", "Select Range for data labels") +#define STR_DATA_EDITOR_INCORRECT_INPUT NC_("STR_DATA_EDITOR_INCORRECT_INPUT", "Your last input is incorrect.\nIgnore this change and close the dialog?") +#define STR_TEXT_DIRECTION_LTR NC_("STR_TEXT_DIRECTION_LTR", "Left-to-right") +#define STR_TEXT_DIRECTION_RTL NC_("STR_TEXT_DIRECTION_RTL", "Right-to-left") +#define STR_TEXT_DIRECTION_SUPER NC_("STR_TEXT_DIRECTION_SUPER", "Use superordinate object settings") +#define STR_PROPERTY_ROLE_FILLCOLOR NC_("STR_PROPERTY_ROLE_FILLCOLOR", "Fill Color") +#define STR_PROPERTY_ROLE_BORDERCOLOR NC_("STR_PROPERTY_ROLE_BORDERCOLOR", "Border Color") + +#define STR_CONTROLTEXT_ERROR_BARS_FROM_DATA NC_("STR_CONTROLTEXT_ERROR_BARS_FROM_DATA", "From Data Table") +#define STR_REGRESSION_LINEAR NC_("STR_REGRESSION_LINEAR", "Linear") +#define STR_REGRESSION_LOG NC_("STR_REGRESSION_LOG", "Logarithmic") +#define STR_REGRESSION_EXP NC_("STR_REGRESSION_EXP", "Exponential") +#define STR_REGRESSION_POWER NC_("STR_REGRESSION_POWER", "Power") +#define STR_REGRESSION_POLYNOMIAL NC_("STR_REGRESSION_POLYNOMIAL", "Polynomial") +#define STR_REGRESSION_MOVING_AVERAGE NC_("STR_REGRESSION_MOVING_AVERAGE", "Moving average") +#define STR_REGRESSION_MEAN NC_("STR_REGRESSION_MEAN", "Mean") + +#define STR_TYPE_COLUMN NC_("STR_TYPE_COLUMN", "Column") +#define STR_TYPE_BAR NC_("STR_TYPE_BAR", "Bar") +#define STR_TYPE_AREA NC_("STR_TYPE_AREA", "Area") +#define STR_TYPE_PIE NC_("STR_TYPE_PIE", "Pie") +#define STR_PIE_EXPLODED NC_("STR_PIE_EXPLODED", "Exploded Pie Chart") +#define STR_DONUT_EXPLODED NC_("STR_DONUT_EXPLODED", "Exploded Donut Chart") +#define STR_DONUT NC_("STR_DONUT", "Donut") +#define STR_TYPE_LINE NC_("STR_TYPE_LINE", "Line") +#define STR_TYPE_XY NC_("STR_TYPE_XY", "XY (Scatter)") +#define STR_POINTS_AND_LINES NC_("STR_POINTS_AND_LINES", "Points and Lines") +#define STR_POINTS_ONLY NC_("STR_POINTS_ONLY", "Points Only") +#define STR_LINES_ONLY NC_("STR_LINES_ONLY", "Lines Only") +#define STR_LINES_3D NC_("STR_LINES_3D", "3D Lines") +#define STR_TYPE_COMBI_COLUMN_LINE NC_("STR_TYPE_COMBI_COLUMN_LINE", "Column and Line") +#define STR_LINE_COLUMN NC_("STR_LINE_COLUMN", "Columns and Lines") +#define STR_LINE_STACKEDCOLUMN NC_("STR_LINE_STACKEDCOLUMN", "Stacked Columns and Lines") +#define STR_TYPE_NET NC_("STR_TYPE_NET", "Net") +#define STR_TYPE_STOCK NC_("STR_TYPE_STOCK", "Stock") +#define STR_STOCK_1 NC_("STR_STOCK_1", "Stock Chart 1") +#define STR_STOCK_2 NC_("STR_STOCK_2", "Stock Chart 2") +#define STR_STOCK_3 NC_("STR_STOCK_3", "Stock Chart 3") +#define STR_STOCK_4 NC_("STR_STOCK_4", "Stock Chart 4") +#define STR_NORMAL NC_("STR_NORMAL", "Normal") +#define STR_STACKED NC_("STR_STACKED", "Stacked") +#define STR_PERCENT NC_("STR_PERCENT", "Percent Stacked") +#define STR_DEEP NC_("STR_DEEP", "Deep") +#define STR_FILLED NC_("STR_FILLED", "Filled") +#define STR_TYPE_BUBBLE NC_("STR_TYPE_BUBBLE", "Bubble") +#define STR_BUBBLE_1 NC_("STR_BUBBLE_1", "Bubble Chart") +#define STR_TYPE_GL3D_BAR NC_("STR_TYPE_GL3D_BAR", "GL3D Bar") +#define STR_GL3D_BAR NC_("STR_GL3D_BAR", "GL3D Bar Chart") + +#define STR_INVALID_NUMBER NC_("STR_INVALID_NUMBER", "Numbers are required. Check your input.") +#define STR_STEP_GT_ZERO NC_("STR_STEP_GT_ZERO", "The major interval requires a positive number. Check your input.") +#define STR_BAD_LOGARITHM NC_("STR_BAD_LOGARITHM", "The logarithmic scale requires positive numbers. Check your input.") +#define STR_MIN_GREATER_MAX NC_("STR_MIN_GREATER_MAX", "The minimum must be lower than the maximum. Check your input.") +#define STR_INVALID_INTERVALS NC_("STR_INVALID_INTERVALS", "The major interval needs to be greater than the minor interval. Check your input.") +#define STR_INVALID_TIME_UNIT NC_("STR_INVALID_TIME_UNIT", "The major and minor interval need to be greater or equal to the resolution. Check your input.") + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/accessibility/AccessibleChartView.cxx b/chart2/source/controller/accessibility/AccessibleChartView.cxx index 064384a87fe3..7e5657799227 100644 --- a/chart2/source/controller/accessibility/AccessibleChartView.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartView.cxx @@ -24,7 +24,7 @@ #include "ObjectHierarchy.hxx" #include "ObjectIdentifier.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "AccessibleViewForwarder.hxx" #include <com/sun/star/accessibility/AccessibleEventId.hpp> diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 6bf6c25ef928..9fa2399a1695 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -20,7 +20,7 @@ #include "ChartTypeDialogController.hxx" #include "ResId.hxx" #include "HelpIds.hrc" -#include "Strings.hrc" +#include "strings.hrc" #include "bitmaps.hlst" #include "macros.hxx" #include "ChartModelHelper.hxx" @@ -33,7 +33,7 @@ #include <com/sun/star/chart2/PieChartOffsetMode.hpp> #include <com/sun/star/chart2/XDataSeriesContainer.hpp> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <svtools/valueset.hxx> #include <vcl/bitmap.hxx> #include <vcl/builder.hxx> diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx index 3c659927f8e0..c371944f2a3f 100644 --- a/chart2/source/controller/dialogs/DataBrowser.cxx +++ b/chart2/source/controller/dialogs/DataBrowser.cxx @@ -22,7 +22,7 @@ #include "DataBrowser.hxx" #include "DataBrowserModel.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "DataSeriesHelper.hxx" #include "DiagramHelper.hxx" #include "ChartModelHelper.hxx" diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx index ffceca3ccc00..f361a432ee64 100644 --- a/chart2/source/controller/dialogs/DialogModel.cxx +++ b/chart2/source/controller/dialogs/DialogModel.cxx @@ -24,7 +24,7 @@ #include "DataSourceHelper.hxx" #include "DiagramHelper.hxx" #include "macros.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "ContainerHelper.hxx" #include "CommonFunctors.hxx" diff --git a/chart2/source/controller/dialogs/GL3DBarChartDialogController.cxx b/chart2/source/controller/dialogs/GL3DBarChartDialogController.cxx index db613c24105f..a1f568ae083d 100644 --- a/chart2/source/controller/dialogs/GL3DBarChartDialogController.cxx +++ b/chart2/source/controller/dialogs/GL3DBarChartDialogController.cxx @@ -8,10 +8,9 @@ */ #include "GL3DBarChartDialogController.hxx" -#include <Strings.hrc> +#include <strings.hrc> #include <bitmaps.hlst> #include <ResId.hxx> - #include <svtools/valueset.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/ObjectNameProvider.cxx b/chart2/source/controller/dialogs/ObjectNameProvider.cxx index 6ea99ad1f155..d61da98eab4b 100644 --- a/chart2/source/controller/dialogs/ObjectNameProvider.cxx +++ b/chart2/source/controller/dialogs/ObjectNameProvider.cxx @@ -19,7 +19,7 @@ #include "ObjectNameProvider.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "macros.hxx" #include "AxisHelper.hxx" #include "ChartModelHelper.hxx" diff --git a/chart2/source/controller/dialogs/Strings.src b/chart2/source/controller/dialogs/Strings.src deleted file mode 100644 index 4c9b40da141f..000000000000 --- a/chart2/source/controller/dialogs/Strings.src +++ /dev/null @@ -1,586 +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 "Strings.hrc" - -String STR_DLG_CHART_WIZARD -{ - Text [ en-US ] = "Chart Wizard" ; -}; - -String STR_DLG_SMOOTH_LINE_PROPERTIES -{ - Text [ en-US ] = "Smooth Lines" ; -}; - -String STR_DLG_STEPPED_LINE_PROPERTIES -{ - Text [ en-US ] = "Stepped Lines" ; -}; - -String STR_PAGE_CHARTTYPE -{ - Text [ en-US ] = "Chart Type" ; -}; - -String STR_PAGE_DATA_RANGE -{ - Text [ en-US ] = "Data Range"; -}; - -String STR_PAGE_CHART_ELEMENTS -{ - Text [ en-US ] = "Chart Elements"; -}; - -String STR_PAGE_LINE -{ - Text [ en-US ] = "Line" ; -}; - -String STR_PAGE_BORDER -{ - Text [ en-US ] = "Borders" ; -}; - -String STR_PAGE_AREA -{ - Text [ en-US ] = "Area" ; -}; - -String STR_PAGE_TRANSPARENCY -{ - Text [ en-US ] = "Transparency"; -}; - -String STR_PAGE_FONT -{ - Text [ en-US ] = "Font" ; -}; - -String STR_PAGE_FONT_EFFECTS -{ - Text [ en-US ] = "Font Effects" ; -}; - -String STR_PAGE_NUMBERS -{ - Text [ en-US ] = "Numbers" ; -}; - -String STR_PAGE_POSITION -{ - Text [ en-US ] = "Position" ; -}; - -String STR_PAGE_LAYOUT -{ - Text [ en-US ] = "Layout"; -}; - -String STR_PAGE_OPTIONS -{ - Text [ en-US ] = "Options"; -}; - -String STR_PAGE_SCALE -{ - Text [ en-US ] = "Scale" ; -}; - -String STR_PAGE_POSITIONING -{ - Text [ en-US ] = "Positioning" ; -}; - -String STR_PAGE_TRENDLINE_TYPE -{ - Text[ en-US ] = "Type"; -}; - -String STR_PAGE_XERROR_BARS -{ - Text[ en-US ] = "X Error Bars"; -}; - -String STR_PAGE_YERROR_BARS -{ - Text[ en-US ] = "Y Error Bars"; -}; - -String STR_PAGE_ALIGNMENT -{ - Text [ en-US ] = "Alignment" ; -}; - -String STR_PAGE_PERSPECTIVE -{ - Text [ en-US ] = "Perspective" ; -}; -String STR_PAGE_APPEARANCE -{ - Text [ en-US ] = "Appearance" ; -}; -String STR_PAGE_ILLUMINATION -{ - Text [ en-US ] = "Illumination" ; -}; - -String STR_PAGE_ASIAN -{ - Text [ en-US ] = "Asian Typography" ; -}; - -String STR_OBJECT_AVERAGE_LINE_WITH_PARAMETERS -{ - Text [ en-US ] = "Mean value line with value %AVERAGE_VALUE and standard deviation %STD_DEVIATION"; -}; - -String STR_OBJECT_AXIS -{ - Text [ en-US ] = "Axis" ; -}; -String STR_OBJECT_AXIS_X -{ - Text [ en-US ] = "X Axis" ; -}; -String STR_OBJECT_AXIS_Y -{ - Text [ en-US ] = "Y Axis" ; -}; -String STR_OBJECT_AXIS_Z -{ - Text [ en-US ] = "Z Axis" ; -}; -String STR_OBJECT_SECONDARY_X_AXIS -{ - Text [ en-US ] = "Secondary X Axis" ; -}; -String STR_OBJECT_SECONDARY_Y_AXIS -{ - Text [ en-US ] = "Secondary Y Axis" ; -}; - -String STR_OBJECT_AXES -{ - Text [ en-US ] = "Axes" ; -}; -String STR_OBJECT_GRIDS -{ - Text [ en-US ] = "Grids" ; -}; -String STR_OBJECT_GRID -{ - Text [ en-US ] = "Grid" ; -}; -String STR_OBJECT_GRID_MAJOR_X -{ - Text [ en-US ] = "X Axis Major Grid" ; -}; -String STR_OBJECT_GRID_MAJOR_Y -{ - Text [ en-US ] = "Y Axis Major Grid" ; -}; -String STR_OBJECT_GRID_MAJOR_Z -{ - Text [ en-US ] = "Z Axis Major Grid" ; -}; -String STR_OBJECT_GRID_MINOR_X -{ - Text [ en-US ] = "X Axis Minor Grid" ; -}; -String STR_OBJECT_GRID_MINOR_Y -{ - Text [ en-US ] = "Y Axis Minor Grid" ; -}; -String STR_OBJECT_GRID_MINOR_Z -{ - Text [ en-US ] = "Z Axis Minor Grid" ; -}; - -String STR_OBJECT_LEGEND -{ - Text [ en-US ] = "Legend" ; -}; - -String STR_OBJECT_TITLE -{ - Text [ en-US ] = "Title" ; -}; -String STR_OBJECT_TITLES -{ - Text [ en-US ] = "Titles" ; -}; -String STR_OBJECT_TITLE_MAIN -{ - Text [ en-US ] = "Main Title" ; -}; -String STR_OBJECT_TITLE_SUB -{ - Text [ en-US ] = "Subtitle" ; -}; -String STR_OBJECT_TITLE_X_AXIS -{ - Text [ en-US ] = "X Axis Title" ; -}; -String STR_OBJECT_TITLE_Y_AXIS -{ - Text [ en-US ] = "Y Axis Title" ; -}; -String STR_OBJECT_TITLE_Z_AXIS -{ - Text [ en-US ] = "Z Axis Title" ; -}; -String STR_OBJECT_TITLE_SECONDARY_X_AXIS -{ - Text [ en-US ] = "Secondary X Axis Title" ; -}; -String STR_OBJECT_TITLE_SECONDARY_Y_AXIS -{ - Text [ en-US ] = "Secondary Y Axis Title" ; -}; -String STR_OBJECT_LABEL -{ - Text [ en-US ] = "Label" ; -}; - -String STR_OBJECT_DATALABELS -{ - Text [ en-US ] = "Data Labels" ; -}; -String STR_OBJECT_DATAPOINT -{ - Text [ en-US ] = "Data Point" ; -}; -String STR_OBJECT_DATAPOINTS -{ - Text [ en-US ] = "Data Points" ; -}; -String STR_OBJECT_LEGEND_SYMBOL -{ - Text [ en-US ] = "Legend Key" ; -}; -String STR_OBJECT_DATASERIES -{ - Text [ en-US ] = "Data Series" ; -}; -String STR_OBJECT_DATASERIES_PLURAL -{ - Text [ en-US ] = "Data Series" ; -}; -String STR_OBJECT_CURVE -{ - Text [ en-US ] = "Trend Line"; -}; -String STR_OBJECT_CURVES -{ - Text [ en-US ] = "Trend Lines"; -}; -String STR_OBJECT_CURVE_WITH_PARAMETERS -{ - Text [ en-US ] = "Trend line %FORMULA with accuracy R² = %RSQUARED"; -}; -String STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS -{ - Text [ en-US ] = "Moving average trend line with period = %PERIOD"; -}; -String STR_OBJECT_AVERAGE_LINE -{ - Text [ en-US ] = "Mean Value Line"; -}; -String STR_OBJECT_CURVE_EQUATION -{ - Text[ en-US ] = "Equation"; -}; - -String STR_OBJECT_ERROR_BARS_X -{ - Text [ en-US ] = "X Error Bars"; -}; - -String STR_OBJECT_ERROR_BARS_Y -{ - Text [ en-US ] = "Y Error Bars"; -}; - -String STR_OBJECT_ERROR_BARS_Z -{ - Text [ en-US ] = "Z Error Bars"; -}; -String STR_OBJECT_STOCK_LOSS -{ - Text [ en-US ] = "Stock Loss"; -}; - -String STR_OBJECT_STOCK_GAIN -{ - Text [ en-US ] = "Stock Gain"; -}; - -String STR_OBJECT_PAGE -{ - Text [ en-US ] = "Chart Area" ; -}; -String STR_OBJECT_DIAGRAM -{ - Text [ en-US ] = "Chart" ; -}; -String STR_OBJECT_DIAGRAM_WALL -{ - Text [ en-US ] = "Chart Wall" ; -}; -String STR_OBJECT_DIAGRAM_FLOOR -{ - Text [ en-US ] = "Chart Floor" ; -}; - -String STR_OBJECT_SHAPE -{ - Text [ en-US ] = "Drawing Object" ; -}; - -String STR_TIP_DATASERIES -{ - Text [ en-US ] = "Data Series '%SERIESNAME'" ; -}; - -String STR_TIP_DATAPOINT_INDEX -{ - Text [ en-US ] = "Data Point %POINTNUMBER"; -}; - -String STR_TIP_DATAPOINT_VALUES -{ - Text [ en-US ] = "Values: %POINTVALUES"; -}; - -String STR_TIP_DATAPOINT -{ - Text [ en-US ] = "Data Point %POINTNUMBER, data series %SERIESNUMBER, values: %POINTVALUES"; -}; - -String STR_STATUS_DATAPOINT_MARKED -{ - Text [ en-US ] = "Data point %POINTNUMBER in data series %SERIESNUMBER selected, values: %POINTVALUES"; -}; - -String STR_STATUS_OBJECT_MARKED -{ - Text [ en-US ] = "%OBJECTNAME selected" ; -}; - -String STR_STATUS_PIE_SEGMENT_EXPLODED -{ - Text [ en-US ] = "Pie exploded by %PERCENTVALUE percent"; -}; - -String STR_OBJECT_FOR_SERIES -{ - Text [ en-US ] = "%OBJECTNAME for Data Series '%SERIESNAME'" ; -}; - -String STR_OBJECT_FOR_ALL_SERIES -{ - Text [ en-US ] = "%OBJECTNAME for all Data Series" ; -}; - -String STR_ACTION_EDIT_CHARTTYPE -{ - Text [ en-US ] = "Edit chart type" ; -}; -String STR_ACTION_EDIT_DATA_RANGES -{ - Text [ en-US ] = "Edit data ranges" ; -}; -String STR_ACTION_EDIT_3D_VIEW -{ - Text [ en-US ] = "Edit 3D view" ; -}; -String STR_ACTION_EDIT_CHART_DATA -{ - Text [ en-US ] = "Edit chart data"; -}; -String STR_ACTION_TOGGLE_LEGEND -{ - Text [ en-US ] = "Legend on/off" ; -}; -String STR_ACTION_TOGGLE_GRID_HORZ -{ - Text [ en-US ] = "Horizontal grid major/major&minor/off" ; -}; -String STR_ACTION_TOGGLE_GRID_VERTICAL -{ - Text [ en-US ] = "Vertical grid major/major&minor/off" ; -}; -String STR_ACTION_SCALE_TEXT -{ - Text [ en-US ] = "Scale Text" ; -}; -String STR_ACTION_REARRANGE_CHART -{ - Text [ en-US ] = "Automatic Layout" ; -}; -String STR_ACTION_NOTPOSSIBLE -{ - Text [ en-US ] = "This function cannot be completed with the selected objects." ; -}; -String STR_ACTION_EDIT_TEXT -{ - Text [ en-US ] = "Edit text"; -}; - -String STR_COLUMN_LABEL -{ - Text [ en-US ] = "Column %COLUMNNUMBER" ; -}; -String STR_ROW_LABEL -{ - Text [ en-US ] = "Row %ROWNUMBER" ; -}; - -//for range dialog -String STR_DATA_ROLE_LABEL -{ - Text [ en-US ] = "Name" ; -}; - -String STR_DATA_ROLE_X -{ - Text [ en-US ] = "X-Values" ; -}; - -String STR_DATA_ROLE_Y -{ - Text [ en-US ] = "Y-Values" ; -}; - -String STR_DATA_ROLE_SIZE -{ - Text [ en-US ] = "Bubble Sizes" ; -}; - -String STR_DATA_ROLE_X_ERROR -{ - Text [ en-US ] = "X-Error-Bars" ; -}; -String STR_DATA_ROLE_X_ERROR_POSITIVE -{ - Text [ en-US ] = "Positive X-Error-Bars" ; -}; -String STR_DATA_ROLE_X_ERROR_NEGATIVE -{ - Text [ en-US ] = "Negative X-Error-Bars" ; -}; - -String STR_DATA_ROLE_Y_ERROR -{ - Text [ en-US ] = "Y-Error-Bars" ; -}; -String STR_DATA_ROLE_Y_ERROR_POSITIVE -{ - Text [ en-US ] = "Positive Y-Error-Bars" ; -}; -String STR_DATA_ROLE_Y_ERROR_NEGATIVE -{ - Text [ en-US ] = "Negative Y-Error-Bars" ; -}; - -String STR_DATA_ROLE_FIRST -{ - Text [ en-US ] = "Open Values" ; -}; - -String STR_DATA_ROLE_LAST -{ - Text [ en-US ] = "Close Values" ; -}; - -String STR_DATA_ROLE_MIN -{ - Text [ en-US ] = "Low Values" ; -}; - -String STR_DATA_ROLE_MAX -{ - Text [ en-US ] = "High Values" ; -}; - -String STR_DATA_ROLE_CATEGORIES -{ - Text [ en-US ] = "Categories"; -}; - -String STR_DATA_UNNAMED_SERIES -{ - Text [ en-US ] = "Unnamed Series"; -}; - -String STR_DATA_UNNAMED_SERIES_WITH_INDEX -{ - Text [ en-US ] = "Unnamed Series %NUMBER" ; -}; - -String STR_DATA_SELECT_RANGE_FOR_SERIES -{ - Text [ en-US ] = "Select Range for %VALUETYPE of %SERIESNAME" ; -}; - -String STR_DATA_SELECT_RANGE_FOR_CATEGORIES -{ - Text [ en-US ] = "Select Range for Categories" ; -}; - -String STR_DATA_SELECT_RANGE_FOR_DATALABELS -{ - Text [ en-US ] = "Select Range for data labels" ; -}; - -String STR_DATA_EDITOR_INCORRECT_INPUT -{ - Text [ en-US ] = "Your last input is incorrect.\nIgnore this change and close the dialog?" ; -}; - -// frame direction ------------------------------------------------------------ - -String STR_TEXT_DIRECTION_LTR -{ - Text [ en-US ] = "Left-to-right"; -}; - -String STR_TEXT_DIRECTION_RTL -{ - Text [ en-US ] = "Right-to-left"; -}; - -String STR_TEXT_DIRECTION_SUPER -{ - Text [ en-US ] = "Use superordinate object settings"; -}; - -String STR_PROPERTY_ROLE_FILLCOLOR -{ - Text [ en-US ] = "Fill Color"; -}; - -String STR_PROPERTY_ROLE_BORDERCOLOR -{ - Text [ en-US ] = "Border Color"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/dialogs/Strings_ChartTypes.src b/chart2/source/controller/dialogs/Strings_ChartTypes.src deleted file mode 100644 index 88717805f0d8..000000000000 --- a/chart2/source/controller/dialogs/Strings_ChartTypes.src +++ /dev/null @@ -1,155 +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 "Strings.hrc" - -String STR_TYPE_COLUMN -{ - Text [ en-US ] = "Column" ; -}; -String STR_TYPE_BAR -{ - Text [ en-US ] = "Bar" ; -}; -String STR_TYPE_AREA -{ - Text [ en-US ] = "Area" ; -}; -String STR_TYPE_PIE -{ - Text [ en-US ] = "Pie" ; -}; -String STR_PIE_EXPLODED -{ - Text [ en-US ] = "Exploded Pie Chart" ; -}; -String STR_DONUT_EXPLODED -{ - Text [ en-US ] = "Exploded Donut Chart" ; -}; -String STR_DONUT -{ - Text [ en-US ] = "Donut" ; -}; -String STR_TYPE_LINE -{ - Text [ en-US ] = "Line" ; -}; -String STR_TYPE_XY -{ - Text [ en-US ] = "XY (Scatter)" ; -}; -String STR_POINTS_AND_LINES -{ - Text [ en-US ] = "Points and Lines" ; -}; -String STR_POINTS_ONLY -{ - //@todo or symbols instead of points?? - Text [ en-US ] = "Points Only" ; -}; -String STR_LINES_ONLY -{ - Text [ en-US ] = "Lines Only" ; -}; -String STR_LINES_3D -{ - Text [ en-US ] = "3D Lines" ; -}; - -String STR_TYPE_COMBI_COLUMN_LINE -{ - Text [ en-US ] = "Column and Line" ; -}; -String STR_LINE_COLUMN -{ - Text [ en-US ] = "Columns and Lines" ; -}; -String STR_LINE_STACKEDCOLUMN -{ - Text [ en-US ] = "Stacked Columns and Lines" ; -}; - -String STR_TYPE_NET -{ - Text [ en-US ] = "Net" ; -}; - -String STR_TYPE_STOCK -{ - Text [ en-US ] = "Stock"; -}; -String STR_STOCK_1 -{ - Text [ en-US ] = "Stock Chart 1"; -}; -String STR_STOCK_2 -{ - Text [ en-US ] = "Stock Chart 2"; -}; -String STR_STOCK_3 -{ - Text [ en-US ] = "Stock Chart 3"; -}; -String STR_STOCK_4 -{ - Text [ en-US ] = "Stock Chart 4"; -}; - -String STR_NORMAL -{ - Text [ en-US ] = "Normal" ; -}; -String STR_STACKED -{ - Text [ en-US ] = "Stacked" ; -}; -String STR_PERCENT -{ - Text [ en-US ] = "Percent Stacked" ; -}; - -String STR_DEEP -{ - Text [ en-US ] = "Deep" ; -}; -String STR_FILLED -{ - Text [ en-US ] = "Filled" ; -}; - -String STR_TYPE_BUBBLE -{ - Text [ en-US ] = "Bubble" ; -}; -String STR_BUBBLE_1 -{ - Text [ en-US ] = "Bubble Chart" ; -}; - -String STR_TYPE_GL3D_BAR -{ - Text [ en-US ] = "GL3D Bar"; -}; - -String STR_GL3D_BAR -{ - Text [ en-US ] = "GL3D Bar Chart"; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/dialogs/Strings_Scale.src b/chart2/source/controller/dialogs/Strings_Scale.src deleted file mode 100644 index 80b1f4a8b669..000000000000 --- a/chart2/source/controller/dialogs/Strings_Scale.src +++ /dev/null @@ -1,46 +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 "Strings.hrc" - -String STR_INVALID_NUMBER -{ - Text [ en-US ] = "Numbers are required. Check your input." ; -}; -String STR_STEP_GT_ZERO -{ - Text [ en-US ] = "The major interval requires a positive number. Check your input." ; -}; -String STR_BAD_LOGARITHM -{ - Text [ en-US ] = "The logarithmic scale requires positive numbers. Check your input." ; -}; -String STR_MIN_GREATER_MAX -{ - Text [ en-US ] = "The minimum must be lower than the maximum. Check your input." ; -}; -String STR_INVALID_INTERVALS -{ - Text [ en-US ] = "The major interval needs to be greater than the minor interval. Check your input." ; -}; -String STR_INVALID_TIME_UNIT -{ - Text [ en-US ] = "The major and minor interval need to be greater or equal to the resolution. Check your input." ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/dialogs/Strings_Statistic.src b/chart2/source/controller/dialogs/Strings_Statistic.src deleted file mode 100644 index e375cb179d81..000000000000 --- a/chart2/source/controller/dialogs/Strings_Statistic.src +++ /dev/null @@ -1,58 +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 "Strings.hrc" - -// used for own data in error bar dialog -//TODO: ohallot: String inserted into tp_ErrorBars.ui -String STR_CONTROLTEXT_ERROR_BARS_FROM_DATA -{ - Text [ en-US ] = "From Data Table" ; -}; - -String STR_REGRESSION_LINEAR -{ - Text [ en-US ] = "Linear" ; -}; -String STR_REGRESSION_LOG -{ - Text [ en-US ] = "Logarithmic" ; -}; -String STR_REGRESSION_EXP -{ - Text [ en-US ] = "Exponential" ; -}; -String STR_REGRESSION_POWER -{ - Text [ en-US ] = "Power" ; -}; -String STR_REGRESSION_POLYNOMIAL -{ - Text [ en-US ] = "Polynomial" ; -}; -String STR_REGRESSION_MOVING_AVERAGE -{ - Text [ en-US ] = "Moving average" ; -}; - -String STR_REGRESSION_MEAN -{ - Text [ en-US ] = "Mean" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/dialogs/TextDirectionListBox.cxx b/chart2/source/controller/dialogs/TextDirectionListBox.cxx index de52f69443c0..9a6e28bba418 100644 --- a/chart2/source/controller/dialogs/TextDirectionListBox.cxx +++ b/chart2/source/controller/dialogs/TextDirectionListBox.cxx @@ -19,7 +19,7 @@ #include "TextDirectionListBox.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include <svl/languageoptions.hxx> #include <vcl/window.hxx> #include <vcl/builderfactory.hxx> diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx index 96c10ebc9710..95875642303a 100644 --- a/chart2/source/controller/dialogs/dlg_ChartType.cxx +++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx @@ -20,7 +20,7 @@ #include "dlg_ChartType.hxx" #include "ResId.hxx" #include "ResourceIds.hrc" -#include "Strings.hrc" +#include "strings.hrc" #include "tp_ChartType.hxx" #include "macros.hxx" #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index 151d2c8321d2..d2198e8653e9 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -20,7 +20,7 @@ #include "dlg_CreationWizard.hxx" #include "ResId.hxx" #include "macros.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "HelpIds.hrc" #include "tp_ChartType.hxx" @@ -169,25 +169,27 @@ void CreationWizard::setValidPage( TabPage * /* pTabPage */ ) OUString CreationWizard::getStateDisplayName( WizardState nState ) const { - sal_uInt16 nResId = 0; + const char* pResId = nullptr; switch( nState ) { case STATE_CHARTTYPE: - nResId = STR_PAGE_CHARTTYPE; + pResId = STR_PAGE_CHARTTYPE; break; case STATE_SIMPLE_RANGE: - nResId = STR_PAGE_DATA_RANGE; + pResId = STR_PAGE_DATA_RANGE; break; case STATE_DATA_SERIES: - nResId = STR_OBJECT_DATASERIES_PLURAL; + pResId = STR_OBJECT_DATASERIES_PLURAL; break; case STATE_OBJECTS: - nResId = STR_PAGE_CHART_ELEMENTS; + pResId = STR_PAGE_CHART_ELEMENTS; break; default: break; } - return SchResId(nResId); + if (!pResId) + return OUString(); + return SchResId(pResId); } } //namespace chart diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx index 8b7f777f6411..441b62e774ef 100644 --- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx +++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx @@ -18,7 +18,7 @@ */ #include "dlg_DataEditor.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "DataBrowser.hxx" #include "ResId.hxx" diff --git a/chart2/source/controller/dialogs/dlg_DataSource.cxx b/chart2/source/controller/dialogs/dlg_DataSource.cxx index 8c1566310a9a..28c5383915ec 100644 --- a/chart2/source/controller/dialogs/dlg_DataSource.cxx +++ b/chart2/source/controller/dialogs/dlg_DataSource.cxx @@ -18,7 +18,7 @@ */ #include "dlg_DataSource.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "ChartTypeTemplateProvider.hxx" #include "DiagramHelper.hxx" diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx index e1fbd2aac208..ff2ca208628a 100644 --- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx +++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx @@ -20,7 +20,7 @@ #include <svl/zforlist.hxx> #include "dlg_ObjectProperties.hxx" #include "ResourceIds.hrc" -#include "Strings.hrc" +#include "strings.hrc" #include "tp_AxisLabel.hxx" #include "tp_DataLabel.hxx" #include "tp_LegendPosition.hxx" diff --git a/chart2/source/controller/dialogs/dlg_View3D.cxx b/chart2/source/controller/dialogs/dlg_View3D.cxx index 196a6fb17f94..a1988be2c8da 100644 --- a/chart2/source/controller/dialogs/dlg_View3D.cxx +++ b/chart2/source/controller/dialogs/dlg_View3D.cxx @@ -18,7 +18,7 @@ */ #include "dlg_View3D.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResourceIds.hrc" #include "ResId.hxx" #include "tp_3D_SceneGeometry.hxx" diff --git a/chart2/source/controller/dialogs/res_DataLabel.cxx b/chart2/source/controller/dialogs/res_DataLabel.cxx index 433d3ce1ce21..ea48698aadb1 100644 --- a/chart2/source/controller/dialogs/res_DataLabel.cxx +++ b/chart2/source/controller/dialogs/res_DataLabel.cxx @@ -32,7 +32,7 @@ #include <vcl/msgbox.hxx> #include <svx/svxids.hrc> #include <svl/zforlist.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx b/chart2/source/controller/dialogs/res_LegendPosition.cxx index 0589039c5eb3..2d9f912f007c 100644 --- a/chart2/source/controller/dialogs/res_LegendPosition.cxx +++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx @@ -23,7 +23,7 @@ #include "LegendHelper.hxx" #include "ChartModel.hxx" -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart/ChartLegendExpansion.hpp> diff --git a/chart2/source/controller/dialogs/res_Titles.cxx b/chart2/source/controller/dialogs/res_Titles.cxx index 4998e849fdc6..dae07506e76e 100644 --- a/chart2/source/controller/dialogs/res_Titles.cxx +++ b/chart2/source/controller/dialogs/res_Titles.cxx @@ -20,7 +20,7 @@ #include "res_Titles.hxx" #include "ResId.hxx" #include "TitleDialogData.hxx" -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index e09db092fece..d25e5518794d 100644 --- a/chart2/source/controller/dialogs/res_Trendline.cxx +++ b/chart2/source/controller/dialogs/res_Trendline.cxx @@ -19,7 +19,7 @@ #include "res_Trendline.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "bitmaps.hlst" #include "chartview/ChartSfxItemIds.hxx" diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx index c091fa701007..f691d7cc5f68 100644 --- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx +++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx @@ -24,6 +24,7 @@ #include <svx/colorbox.hxx> #include "svx/dialogs.hrc" +#include "svx/strings.hrc" #include <svx/dialmgr.hxx> #include <rtl/math.hxx> #include <svtools/colrdlg.hxx> diff --git a/chart2/source/controller/dialogs/tp_AxisPositions.cxx b/chart2/source/controller/dialogs/tp_AxisPositions.cxx index 76d86aeb7eec..2ec01fff1e0c 100644 --- a/chart2/source/controller/dialogs/tp_AxisPositions.cxx +++ b/chart2/source/controller/dialogs/tp_AxisPositions.cxx @@ -21,7 +21,7 @@ #include "ResId.hxx" #include "ResourceIds.hrc" -#include "Strings.hrc" +#include "strings.hrc" #include "chartview/ChartSfxItemIds.hxx" #include "AxisHelper.hxx" @@ -32,7 +32,7 @@ #include <svl/intitem.hxx> #include <vcl/msgbox.hxx> #include <svl/zformat.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <com/sun/star/chart/ChartAxisPosition.hpp> #include <com/sun/star/chart2/AxisType.hpp> diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index d2f979596417..7228effb0e49 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -18,7 +18,7 @@ */ #include "tp_ChartType.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "ChartModelHelper.hxx" #include "DiagramHelper.hxx" @@ -28,7 +28,7 @@ #include "GL3DBarChartDialogController.hxx" #include <unonames.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <svtools/miscopt.hxx> #include <vcl/layout.hxx> diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 102832e8300d..0d0e1cdef9d7 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -18,7 +18,7 @@ */ #include "tp_DataSource.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "chartview/ChartSfxItemIds.hxx" #include "macros.hxx" diff --git a/chart2/source/controller/dialogs/tp_PolarOptions.cxx b/chart2/source/controller/dialogs/tp_PolarOptions.cxx index 69de86ab9798..0b86d2a021f2 100644 --- a/chart2/source/controller/dialogs/tp_PolarOptions.cxx +++ b/chart2/source/controller/dialogs/tp_PolarOptions.cxx @@ -23,7 +23,7 @@ #include <svl/eitem.hxx> #include <svl/intitem.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> namespace chart { diff --git a/chart2/source/controller/dialogs/tp_RangeChooser.cxx b/chart2/source/controller/dialogs/tp_RangeChooser.cxx index b06a5fe3bdea..6879b87c34fb 100644 --- a/chart2/source/controller/dialogs/tp_RangeChooser.cxx +++ b/chart2/source/controller/dialogs/tp_RangeChooser.cxx @@ -18,7 +18,7 @@ */ #include "tp_RangeChooser.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "macros.hxx" #include "DataSourceHelper.hxx" diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index d16c5f3de50c..caaf1d7eb19b 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -20,7 +20,7 @@ #include "tp_Scale.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "chartview/ChartSfxItemIds.hxx" #include "AxisHelper.hxx" @@ -31,7 +31,7 @@ #include <svl/intitem.hxx> #include <vcl/msgbox.hxx> #include <svl/zformat.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <com/sun/star/chart2/AxisType.hpp> @@ -430,7 +430,7 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) nStepFmt = 0; Control* pControl = nullptr; - sal_uInt16 nErrStrId = 0; + const char* pErrStrId = nullptr; double fDummy; fMax = m_pFmtFldMax->GetValue(); @@ -452,7 +452,7 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) || ( !m_pCbxAutoMax->IsChecked() && fMax <= 0.0 ) ) ) { pControl = m_pFmtFldMin; - nErrStrId = STR_BAD_LOGARITHM; + pErrStrId = STR_BAD_LOGARITHM; } // check for entries that cannot be parsed for the current number format else if ( m_pFmtFldMin->IsModified() @@ -460,38 +460,38 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) && !pNumFormatter->IsNumberFormat( m_pFmtFldMin->GetText(), nMinMaxOriginFmt, fDummy)) { pControl = m_pFmtFldMin; - nErrStrId = STR_INVALID_NUMBER; + pErrStrId = STR_INVALID_NUMBER; } else if ( m_pFmtFldMax->IsModified() && !m_pCbxAutoMax->IsChecked() && !pNumFormatter->IsNumberFormat( m_pFmtFldMax->GetText(), nMinMaxOriginFmt, fDummy)) { pControl = m_pFmtFldMax; - nErrStrId = STR_INVALID_NUMBER; + pErrStrId = STR_INVALID_NUMBER; } else if ( !bDateAxis && m_pFmtFldStepMain->IsModified() && !m_pCbxAutoStepMain->IsChecked() && !pNumFormatter->IsNumberFormat( m_pFmtFldStepMain->GetText(), nStepFmt, fDummy)) { pControl = m_pFmtFldStepMain; - nErrStrId = STR_INVALID_NUMBER; + pErrStrId = STR_INVALID_NUMBER; } else if (m_pFmtFldOrigin->IsModified() && !m_pCbxAutoOrigin->IsChecked() && !pNumFormatter->IsNumberFormat( m_pFmtFldOrigin->GetText(), nMinMaxOriginFmt, fDummy)) { pControl = m_pFmtFldOrigin; - nErrStrId = STR_INVALID_NUMBER; + pErrStrId = STR_INVALID_NUMBER; } else if (!m_pCbxAutoStepMain->IsChecked() && fStepMain <= 0.0) { pControl = m_pFmtFldStepMain; - nErrStrId = STR_STEP_GT_ZERO; + pErrStrId = STR_STEP_GT_ZERO; } else if (!m_pCbxAutoMax->IsChecked() && !m_pCbxAutoMin->IsChecked() && fMin >= fMax) { pControl = m_pFmtFldMin; - nErrStrId = STR_MIN_GREATER_MAX; + pErrStrId = STR_MIN_GREATER_MAX; } else if( bDateAxis ) { @@ -500,15 +500,15 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) if( m_nHelpTimeUnit > m_nMainTimeUnit ) { pControl = m_pLB_MainTimeUnit; - nErrStrId = STR_INVALID_INTERVALS; + pErrStrId = STR_INVALID_INTERVALS; } else if( m_nHelpTimeUnit == m_nMainTimeUnit && nStepHelp > fStepMain ) { pControl = m_pLB_MainTimeUnit; - nErrStrId = STR_INVALID_INTERVALS; + pErrStrId = STR_INVALID_INTERVALS; } } - if( !nErrStrId && !m_pCbx_AutoTimeResolution->IsChecked() ) + if( !pErrStrId && !m_pCbx_AutoTimeResolution->IsChecked() ) { if( (!m_pCbxAutoStepMain->IsChecked() && m_nTimeResolution > m_nMainTimeUnit ) || @@ -516,12 +516,12 @@ DeactivateRC ScaleTabPage::DeactivatePage(SfxItemSet* pItemSet) ) { pControl = m_pLB_TimeResolution; - nErrStrId = STR_INVALID_TIME_UNIT; + pErrStrId = STR_INVALID_TIME_UNIT; } } } - if( ShowWarning( nErrStrId, pControl ) ) + if( ShowWarning( pErrStrId, pControl ) ) return DeactivateRC::KeepPage; if( pItemSet ) @@ -609,12 +609,12 @@ void ScaleTabPage::ShowAxisOrigin( bool bShowOrigin ) m_bShowAxisOrigin = true; } -bool ScaleTabPage::ShowWarning( sal_uInt16 nResIdMessage, Control* pControl /* = NULL */ ) +bool ScaleTabPage::ShowWarning(const char* pResIdMessage, Control* pControl /* = NULL */ ) { - if( nResIdMessage == 0 ) + if (pResIdMessage == nullptr) return false; - ScopedVclPtrInstance<WarningBox>(this, WinBits( WB_OK ), SchResId(nResIdMessage))->Execute(); + ScopedVclPtrInstance<WarningBox>(this, WinBits( WB_OK ), SchResId(pResIdMessage))->Execute(); if( pControl ) { pControl->GrabFocus(); diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index 33a58582a508..75c869d23141 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -103,9 +103,9 @@ private: /** shows a warning window due to an invalid input. - @param nResIdMessage + @param pResIdMessage The resource identifier that represents the localized warning text. - If this is 0, no warning is shown and false is returned. + If this is nullptr, no warning is shown and false is returned. @param pControl If non-NULL, contains a pointer to the control in which the @@ -114,7 +114,7 @@ private: @return false, if nResIdMessage was 0, true otherwise */ - bool ShowWarning( sal_uInt16 nResIdMessage, Control* pControl ); + bool ShowWarning(const char* pResIdMessage, Control* pControl); void HideAllControls(); }; diff --git a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx index bc7122cdb9d0..d022f12d6306 100644 --- a/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx +++ b/chart2/source/controller/dialogs/tp_SeriesToAxis.cxx @@ -25,7 +25,7 @@ #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <svl/ilstitem.hxx> -#include <svtools/controldims.hrc> +#include <svtools/controldims.hxx> #include <com/sun/star/chart/MissingValueTreatment.hpp> diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx index be85cacf6647..beeedc457cd0 100644 --- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx +++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.cxx @@ -18,7 +18,7 @@ */ #include "tp_Wizard_TitlesAndObjects.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "res_Titles.hxx" #include "res_LegendPosition.hxx" #include "ResId.hxx" diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 307a2a6d27ed..2e822ceea120 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -28,7 +28,7 @@ #include "dlg_DataSource.hxx" #include "ChartModelHelper.hxx" #include "ControllerCommandDispatch.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "chartview/ExplicitValueProvider.hxx" #include "ChartViewHelper.hxx" diff --git a/chart2/source/controller/main/ChartController_EditData.cxx b/chart2/source/controller/main/ChartController_EditData.cxx index ffab4b3a90d1..949700b82138 100644 --- a/chart2/source/controller/main/ChartController_EditData.cxx +++ b/chart2/source/controller/main/ChartController_EditData.cxx @@ -26,7 +26,7 @@ #include "ControllerLockGuard.hxx" #include "UndoGuard.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include <vcl/msgbox.hxx> #include <vcl/svapp.hxx> diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx index 27ff61e1772b..eceb5af49d6d 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -40,7 +40,7 @@ #include "ControllerLockGuard.hxx" #include "UndoGuard.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ReferenceSizeProvider.hxx" #include "ObjectIdentifier.hxx" #include "RegressionCurveHelper.hxx" diff --git a/chart2/source/controller/main/ChartController_Position.cxx b/chart2/source/controller/main/ChartController_Position.cxx index 1e0762bdfc92..532a8cbd8c19 100644 --- a/chart2/source/controller/main/ChartController_Position.cxx +++ b/chart2/source/controller/main/ChartController_Position.cxx @@ -25,7 +25,7 @@ #include "PositionAndSizeHelper.hxx" #include "ChartModelHelper.hxx" #include "UndoGuard.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ObjectNameProvider.hxx" #include "DiagramHelper.hxx" #include "chartview/ExplicitValueProvider.hxx" diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx index 6da7736eea60..fcbfc3073f06 100644 --- a/chart2/source/controller/main/ChartController_Properties.cxx +++ b/chart2/source/controller/main/ChartController_Properties.cxx @@ -48,7 +48,7 @@ #include "UndoGuard.hxx" #include "ObjectNameProvider.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ReferenceSizeProvider.hxx" #include "RegressionCurveHelper.hxx" #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/chart2/source/controller/main/ChartController_TextEdit.cxx b/chart2/source/controller/main/ChartController_TextEdit.cxx index 3fb555bace30..ab8189642b36 100644 --- a/chart2/source/controller/main/ChartController_TextEdit.cxx +++ b/chart2/source/controller/main/ChartController_TextEdit.cxx @@ -28,7 +28,7 @@ #include "macros.hxx" #include "ControllerLockGuard.hxx" #include "AccessibleTextHelper.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "chartview/DrawModelWrapper.hxx" #include <svx/svdotext.hxx> diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index 240ab15f6952..38772a491eea 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -27,7 +27,7 @@ #include "ControllerLockGuard.hxx" #include "macros.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ObjectIdentifier.hxx" #include "ReferenceSizeProvider.hxx" #include "chartview/ExplicitValueProvider.hxx" @@ -62,6 +62,7 @@ #include <vcl/svapp.hxx> #include <svx/dialmgr.hxx> #include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <editeng/outliner.hxx> #include <svx/svditer.hxx> #include <svx/svdpage.hxx> @@ -724,20 +725,20 @@ bool ChartController::executeDispatch_Delete() ObjectIdentifier::getObjectPropertySet( aCID, getModel() )); if( xErrorBarProp.is()) { - sal_Int16 nId; + const char* pId; if ( aObjectType == OBJECTTYPE_DATA_ERRORS_X ) - nId = STR_OBJECT_ERROR_BARS_X; + pId = STR_OBJECT_ERROR_BARS_X; else if ( aObjectType == OBJECTTYPE_DATA_ERRORS_Y ) - nId = STR_OBJECT_ERROR_BARS_Y; + pId = STR_OBJECT_ERROR_BARS_Y; else - nId = STR_OBJECT_ERROR_BARS_Z; + pId = STR_OBJECT_ERROR_BARS_Z; uno::Reference< frame::XModel > xModel( getModel() ); UndoGuard aUndoGuard( ActionDescriptionProvider::createDescription( - ActionDescriptionProvider::ActionType::Delete, SchResId( nId )), - m_xUndoManager ); + ActionDescriptionProvider::ActionType::Delete, SchResId(pId)), + m_xUndoManager); { ControllerLockGuardUNO aCtlLockGuard( xModel ); xErrorBarProp->setPropertyValue( diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 83e0bb7d76a8..e33db229fc59 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -29,7 +29,7 @@ #include "UndoGuard.hxx" #include "ControllerLockGuard.hxx" #include "ObjectNameProvider.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "macros.hxx" #include "DragMethod_PieSegment.hxx" #include "DragMethod_RotateDiagram.hxx" diff --git a/chart2/source/controller/main/DragMethod_Base.cxx b/chart2/source/controller/main/DragMethod_Base.cxx index d333197f695a..dc65a7d5862e 100644 --- a/chart2/source/controller/main/DragMethod_Base.cxx +++ b/chart2/source/controller/main/DragMethod_Base.cxx @@ -19,7 +19,7 @@ #include "DragMethod_Base.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "macros.hxx" #include "ObjectNameProvider.hxx" diff --git a/chart2/source/controller/main/DragMethod_PieSegment.cxx b/chart2/source/controller/main/DragMethod_PieSegment.cxx index 331a506a1840..8271118a2e6f 100644 --- a/chart2/source/controller/main/DragMethod_PieSegment.cxx +++ b/chart2/source/controller/main/DragMethod_PieSegment.cxx @@ -19,7 +19,7 @@ #include "DragMethod_PieSegment.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ResId.hxx" #include "macros.hxx" #include "ObjectIdentifier.hxx" diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx index d990e351bbd1..b68d2b7c0737 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.cxx +++ b/chart2/source/controller/main/DrawCommandDispatch.cxx @@ -29,6 +29,7 @@ #include <svl/itempool.hxx> #include <editeng/adjustitem.hxx> #include <svx/dialogs.hrc> +#include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <svx/fmmodel.hxx> #include <svx/gallery.hxx> @@ -74,13 +75,13 @@ bool DrawCommandDispatch::isFeatureSupported( const OUString& rCommandURL ) return parseCommandURL( rCommandURL, &nFeatureId, &aBaseCommand, &aCustomShapeType ); } -::basegfx::B2DPolyPolygon getPolygon( sal_uInt16 nResId, SdrModel& rModel ) +::basegfx::B2DPolyPolygon getPolygon(const char* pResId, SdrModel& rModel) { ::basegfx::B2DPolyPolygon aReturn; XLineEndListRef pLineEndList = rModel.GetLineEndList(); if ( pLineEndList.is() ) { - OUString aName( SvxResId( nResId ) ); + OUString aName(SvxResId(pResId)); long nCount = pLineEndList->Count(); for ( long nIndex = 0; nIndex < nCount; ++nIndex ) { diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx index 9a4436197a97..c4d1ef375c2b 100644 --- a/chart2/source/controller/main/ElementSelector.cxx +++ b/chart2/source/controller/main/ElementSelector.cxx @@ -25,7 +25,7 @@ #include <chartview/ExplicitValueProvider.hxx> #include "DrawViewWrapper.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "ObjectIdentifier.hxx" #include <cppuhelper/supportsservice.hxx> diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index 459ac3eb79b8..96fd0de5e90d 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -28,7 +28,7 @@ #include <vcl/svapp.hxx> #include <tools/diagnose_ex.h> -#include <svtools/svtools.hrc> +#include <svtools/strings.hrc> #include <svtools/svtresid.hxx> using namespace ::com::sun::star; diff --git a/chart2/source/inc/ResId.hxx b/chart2/source/inc/ResId.hxx index 0eefc83d5362..31d96d155b91 100644 --- a/chart2/source/inc/ResId.hxx +++ b/chart2/source/inc/ResId.hxx @@ -25,7 +25,7 @@ namespace chart { -OUString OOO_DLLPUBLIC_CHARTTOOLS SchResId(sal_uInt16 nId); +OUString OOO_DLLPUBLIC_CHARTTOOLS SchResId(const char *pId); } // namespace chart diff --git a/chart2/source/inc/ResourceManager.hxx b/chart2/source/inc/ResourceManager.hxx index d5c3272db684..afb1e76f9165 100644 --- a/chart2/source/inc/ResourceManager.hxx +++ b/chart2/source/inc/ResourceManager.hxx @@ -20,16 +20,14 @@ #define INCLUDED_CHART2_SOURCE_INC_RESOURCEMANAGER_HXX #include "charttoolsdllapi.hxx" - -// defined in <tools/resmgr.hxx> -class ResMgr; +#include <locale> namespace chart { namespace ResourceManager { - ::ResMgr & getResourceManager(); + const std::locale& getResourceLocale(); } } // namespace chart diff --git a/chart2/source/inc/Strings.hrc b/chart2/source/inc/Strings.hrc deleted file mode 100644 index d3b45f0e4907..000000000000 --- a/chart2/source/inc/Strings.hrc +++ /dev/null @@ -1,265 +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 CHART_STRINGS_HRC -#define CHART_STRINGS_HRC - -// this includes no link dependency -#include <svl/solar.hrc> - -//next free is 305 - -//chart types -//see Strings_ChartTypes.src - -#define STR_NORMAL (RID_APP_START + 10) -#define STR_STACKED (RID_APP_START + 11) -#define STR_PERCENT (RID_APP_START + 12) -#define STR_DEEP (RID_APP_START + 13) -#define STR_FILLED (RID_APP_START + 285) - -#define STR_DONUT (RID_APP_START + 8) -#define STR_TYPE_PIE (RID_APP_START + 187) -#define STR_PIE_EXPLODED (RID_APP_START + 188) -#define STR_DONUT_EXPLODED (RID_APP_START + 189) - -#define STR_TYPE_COLUMN (RID_APP_START + 190) -#define STR_TYPE_BAR (RID_APP_START + 191) -#define STR_TYPE_AREA (RID_APP_START + 192) - -#define STR_LINES_3D (RID_APP_START + 193) -#define STR_POINTS_ONLY (RID_APP_START + 194) -#define STR_LINES_ONLY (RID_APP_START + 116) -#define STR_POINTS_AND_LINES (RID_APP_START + 124) -#define STR_TYPE_LINE (RID_APP_START + 125) -#define STR_TYPE_XY (RID_APP_START + 240) - -#define STR_LINE_COLUMN (RID_APP_START + 22) -#define STR_LINE_STACKEDCOLUMN (RID_APP_START + 23) -#define STR_TYPE_COMBI_COLUMN_LINE (RID_APP_START + 24) - -#define STR_TYPE_NET (RID_APP_START + 52) - -#define STR_TYPE_STOCK (RID_APP_START + 126) -#define STR_STOCK_1 (RID_APP_START + 143) -#define STR_STOCK_2 (RID_APP_START + 144) -#define STR_STOCK_3 (RID_APP_START + 145) -#define STR_STOCK_4 (RID_APP_START + 146) - -#define STR_TYPE_BUBBLE (RID_APP_START + 282) -#define STR_BUBBLE_1 (RID_APP_START + 283) - -#define STR_TYPE_GL3D_BAR (RID_APP_START + 127) -#define STR_GL3D_BAR (RID_APP_START + 128) - -//SchStatisticTabPage and SchDataStatisticsDlg -//see Strings_Statistic.src - -#define STR_REGRESSION_LINEAR (RID_APP_START + 135) -#define STR_REGRESSION_LOG (RID_APP_START + 136) -#define STR_REGRESSION_EXP (RID_APP_START + 137) -#define STR_REGRESSION_POWER (RID_APP_START + 138) -#define STR_REGRESSION_MEAN (RID_APP_START + 180) -#define STR_REGRESSION_POLYNOMIAL (RID_APP_START + 300) -#define STR_REGRESSION_MOVING_AVERAGE (RID_APP_START + 301) - -//for scale tab page -//see Strings_Scale.src - -#define STR_INVALID_NUMBER (RID_APP_START + 100) -#define STR_STEP_GT_ZERO (RID_APP_START + 102) -#define STR_BAD_LOGARITHM (RID_APP_START + 111) -#define STR_MIN_GREATER_MAX (RID_APP_START + 101) -#define STR_INVALID_INTERVALS (RID_APP_START + 291) -#define STR_INVALID_TIME_UNIT (RID_APP_START + 292) - -//for range dialog -#define STR_DATA_ROLE_LABEL (RID_APP_START + 241) -#define STR_DATA_ROLE_X (RID_APP_START + 242) -#define STR_DATA_ROLE_Y (RID_APP_START + 243) -#define STR_DATA_ROLE_X_ERROR (RID_APP_START + 244) -#define STR_DATA_ROLE_X_ERROR_POSITIVE (RID_APP_START + 272) -#define STR_DATA_ROLE_X_ERROR_NEGATIVE (RID_APP_START + 273) -#define STR_DATA_ROLE_Y_ERROR (RID_APP_START + 245) -#define STR_DATA_ROLE_Y_ERROR_POSITIVE (RID_APP_START + 274) -#define STR_DATA_ROLE_Y_ERROR_NEGATIVE (RID_APP_START + 275) -#define STR_DATA_ROLE_FIRST (RID_APP_START + 246) -#define STR_DATA_ROLE_LAST (RID_APP_START + 247) -#define STR_DATA_ROLE_MIN (RID_APP_START + 248) -#define STR_DATA_ROLE_MAX (RID_APP_START + 249) -#define STR_DATA_ROLE_CATEGORIES (RID_APP_START + 260) -#define STR_DATA_ROLE_SIZE (RID_APP_START + 284) -#define STR_PROPERTY_ROLE_FILLCOLOR (RID_APP_START + 303) -#define STR_PROPERTY_ROLE_BORDERCOLOR (RID_APP_START + 304) - -#define STR_DATA_UNNAMED_SERIES (RID_APP_START + 250) -#define STR_DATA_UNNAMED_SERIES_WITH_INDEX (RID_APP_START + 251) - -#define STR_DATA_SELECT_RANGE_FOR_SERIES (RID_APP_START + 252) -#define STR_DATA_SELECT_RANGE_FOR_CATEGORIES (RID_APP_START + 253) -#define STR_DATA_SELECT_RANGE_FOR_DATALABELS (RID_APP_START + 195) - -//chart objects -//e.g. used as titles for insert dialogs and object properties dialog -//also used in tip help, in status descriptions e.g. '%object% marked' or in undo action e.g. 'moved %object%' - -#define STR_PAGE_CHARTTYPE (RID_APP_START + 197) -#define STR_PAGE_DATA_RANGE (RID_APP_START + 238) -#define STR_ACTION_EDIT_CHART_DATA (RID_APP_START + 198) - -#define STR_OBJECT_PAGE (RID_APP_START + 30) -#define STR_OBJECT_DIAGRAM (RID_APP_START + 31) -#define STR_OBJECT_DIAGRAM_WALL (RID_APP_START + 32) -#define STR_OBJECT_DIAGRAM_FLOOR (RID_APP_START + 33) -#define STR_OBJECT_LEGEND (RID_APP_START + 48) -#define STR_OBJECT_LEGEND_SYMBOL (RID_APP_START + 49) - -#define STR_OBJECT_DATALABELS (RID_APP_START + 45) -#define STR_OBJECT_LABEL (RID_APP_START + 199) - -#define STR_OBJECT_TITLE (RID_APP_START + 200) -#define STR_OBJECT_TITLES (RID_APP_START + 201) - -#define STR_OBJECT_TITLE_MAIN (RID_APP_START + 254) -#define STR_OBJECT_TITLE_SUB (RID_APP_START + 255) -#define STR_OBJECT_TITLE_X_AXIS (RID_APP_START + 256) -#define STR_OBJECT_TITLE_Y_AXIS (RID_APP_START + 257) -#define STR_OBJECT_TITLE_Z_AXIS (RID_APP_START + 258) -#define STR_OBJECT_TITLE_SECONDARY_X_AXIS (RID_APP_START + 87) -#define STR_OBJECT_TITLE_SECONDARY_Y_AXIS (RID_APP_START + 88) - -#define STR_OBJECT_DATAPOINT (RID_APP_START + 202) -#define STR_OBJECT_DATAPOINTS (RID_APP_START + 203) -#define STR_OBJECT_DATASERIES (RID_APP_START + 204) -#define STR_OBJECT_DATASERIES_PLURAL (RID_APP_START + 205) - -#define STR_OBJECT_FOR_SERIES (RID_APP_START + 288) -#define STR_OBJECT_FOR_ALL_SERIES (RID_APP_START + 289) - -#define STR_OBJECT_AVERAGE_LINE (RID_APP_START + 174) -#define STR_OBJECT_ERROR_BARS_X (RID_APP_START + 175) -#define STR_OBJECT_ERROR_BARS_Y (RID_APP_START + 295) -#define STR_OBJECT_ERROR_BARS_Z (RID_APP_START + 296) -#define STR_OBJECT_CURVE (RID_APP_START + 176) -#define STR_OBJECT_CURVES (RID_APP_START + 130) - -#define STR_OBJECT_STOCK_LOSS (RID_APP_START + 207) -#define STR_OBJECT_STOCK_GAIN (RID_APP_START + 208) - -#define STR_OBJECT_AXES (RID_APP_START + 209) -#define STR_OBJECT_AXIS (RID_APP_START + 210) -#define STR_OBJECT_AXIS_X (RID_APP_START + 211) -#define STR_OBJECT_AXIS_Y (RID_APP_START + 212) -#define STR_OBJECT_AXIS_Z (RID_APP_START + 213) - -#define STR_OBJECT_SECONDARY_X_AXIS (RID_APP_START + 286) -#define STR_OBJECT_SECONDARY_Y_AXIS (RID_APP_START + 287) - -#define STR_OBJECT_GRID (RID_APP_START + 214) -#define STR_OBJECT_GRIDS (RID_APP_START + 215) - -#define STR_OBJECT_GRID_MAJOR_X (RID_APP_START + 37) -#define STR_OBJECT_GRID_MAJOR_Y (RID_APP_START + 38) -#define STR_OBJECT_GRID_MAJOR_Z (RID_APP_START + 39) -#define STR_OBJECT_GRID_MINOR_X (RID_APP_START + 40) -#define STR_OBJECT_GRID_MINOR_Y (RID_APP_START + 41) -#define STR_OBJECT_GRID_MINOR_Z (RID_APP_START + 42) - -#define STR_OBJECT_CURVE_WITH_PARAMETERS (RID_APP_START + 264) -#define STR_OBJECT_AVERAGE_LINE_WITH_PARAMETERS (RID_APP_START + 265) -#define STR_OBJECT_MOVING_AVERAGE_WITH_PARAMETERS (RID_APP_START + 302) - -#define STR_OBJECT_CURVE_EQUATION (RID_APP_START + 268) -#define STR_OBJECT_SHAPE (RID_APP_START + 290) - -//Titles for tabpages and dialogs - -#define STR_PAGE_LINE (RID_APP_START + 216) -#define STR_PAGE_BORDER (RID_APP_START + 217) -#define STR_PAGE_AREA (RID_APP_START + 218) -#define STR_PAGE_TRANSPARENCY (RID_APP_START + 219) -#define STR_PAGE_FONT (RID_APP_START + 220) -#define STR_PAGE_FONT_EFFECTS (RID_APP_START + 221) -#define STR_PAGE_LAYOUT (RID_APP_START + 222) -#define STR_PAGE_OPTIONS (RID_APP_START + 223) -#define STR_PAGE_SCALE (RID_APP_START + 224) -#define STR_PAGE_NUMBERS (RID_APP_START + 225) -#define STR_PAGE_ALIGNMENT (RID_APP_START + 226) -#define STR_PAGE_POSITION (RID_APP_START + 227) - -#define STR_PAGE_PERSPECTIVE (RID_APP_START + 235) -#define STR_PAGE_APPEARANCE (RID_APP_START + 236) -#define STR_PAGE_ILLUMINATION (RID_APP_START + 237) - -#define STR_PAGE_TRENDLINE_TYPE (RID_APP_START + 89) -#define STR_PAGE_XERROR_BARS (RID_APP_START + 293) -#define STR_PAGE_YERROR_BARS (RID_APP_START + 206) -#define STR_CONTROLTEXT_ERROR_BARS_FROM_DATA (RID_APP_START + 276) - -#define STR_DLG_CHART_WIZARD (RID_APP_START + 228) -#define STR_PAGE_CHART_ELEMENTS (RID_APP_START + 229) - -#define STR_DLG_SMOOTH_LINE_PROPERTIES (RID_APP_START + 239) -#define STR_DLG_STEPPED_LINE_PROPERTIES (RID_APP_START + 270) - -#define STR_PAGE_POSITIONING (RID_APP_START + 277) -#define STR_PAGE_ASIAN (RID_APP_START + 281) - -//strings used as description for actions on toolbar icons, as tip help or for undo - -#define STR_ACTION_EDIT_CHARTTYPE (RID_APP_START + 78) -#define STR_ACTION_EDIT_DATA_RANGES (RID_APP_START + 64) -#define STR_ACTION_EDIT_3D_VIEW (RID_APP_START + 80) -#define STR_ACTION_TOGGLE_LEGEND (RID_APP_START + 83) -#define STR_ACTION_TOGGLE_GRID_HORZ (RID_APP_START + 86) -#define STR_ACTION_TOGGLE_GRID_VERTICAL (RID_APP_START + 139) -#define STR_ACTION_SCALE_TEXT (RID_APP_START + 93) -#define STR_ACTION_REARRANGE_CHART (RID_APP_START + 94) -#define STR_ACTION_EDIT_TEXT (RID_APP_START + 95) - -//statusbar strings and balloon help - -#define STR_STATUS_PIE_SEGMENT_EXPLODED (RID_APP_START + 179) -#define STR_STATUS_OBJECT_MARKED (RID_APP_START + 51) -#define STR_STATUS_DATAPOINT_MARKED (RID_APP_START + 44) -#define STR_TIP_DATASERIES (RID_APP_START + 43) -#define STR_TIP_DATAPOINT (RID_APP_START + 140) -#define STR_TIP_DATAPOINT_INDEX (RID_APP_START + 141) -#define STR_TIP_DATAPOINT_VALUES (RID_APP_START + 142) - -//warning and info boxes -#define STR_ACTION_NOTPOSSIBLE (RID_APP_START + 107) - -#define STR_COLUMN_LABEL (RID_APP_START + 262) -#define STR_ROW_LABEL (RID_APP_START + 263) - -#define STR_DATA_EDITOR_INCORRECT_INPUT (RID_APP_START + 269) - -// frame direction ------------------------------------------------------------ - -#define STR_TEXT_DIRECTION_LTR (RID_APP_START + 278) -#define STR_TEXT_DIRECTION_RTL (RID_APP_START + 279) -#define STR_TEXT_DIRECTION_SUPER (RID_APP_START + 280) - -// There is a gap here due to removed strings -// RID_APP_START + 500 and RID_APP_START + 501 are removed - -// CHART_STRINGS_HRC -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx index 59d5cb1b6dee..54d4f5c61567 100644 --- a/chart2/source/tools/InternalData.cxx +++ b/chart2/source/tools/InternalData.cxx @@ -19,7 +19,7 @@ #include "InternalData.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include <osl/diagnose.h> #include <rtl/math.hxx> diff --git a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx index 60ee6b10c0fa..3624e9d1a749 100644 --- a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx +++ b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx @@ -20,7 +20,7 @@ #include "MovingAverageRegressionCurveCalculator.hxx" #include "RegressionCalculationHelper.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "macros.hxx" #include <rtl/math.hxx> diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx index da43fee9b0c6..4a3558d6a38e 100644 --- a/chart2/source/tools/RegressionCurveHelper.cxx +++ b/chart2/source/tools/RegressionCurveHelper.cxx @@ -32,7 +32,7 @@ #include "macros.hxx" #include "PropertyHelper.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "DiagramHelper.hxx" #include <com/sun/star/chart2/XChartDocument.hpp> diff --git a/chart2/source/tools/ResId.cxx b/chart2/source/tools/ResId.cxx index 6bff5b7efc0e..68ea0df902f7 100644 --- a/chart2/source/tools/ResId.cxx +++ b/chart2/source/tools/ResId.cxx @@ -19,13 +19,13 @@ #include "ResId.hxx" #include "ResourceManager.hxx" -#include <tools/resid.hxx> +#include <tools/resmgr.hxx> namespace chart { - OUString SchResId(sal_uInt16 nId) + OUString SchResId(const char *pId) { - return ResId(nId, ResourceManager::getResourceManager()); + return Translate::get(pId, ResourceManager::getResourceLocale()); } } // namespace chart diff --git a/chart2/source/tools/ResourceManager.cxx b/chart2/source/tools/ResourceManager.cxx index 3f3fb615697a..3cd51d70c7a7 100644 --- a/chart2/source/tools/ResourceManager.cxx +++ b/chart2/source/tools/ResourceManager.cxx @@ -18,20 +18,17 @@ */ #include "ResourceManager.hxx" - #include <tools/resmgr.hxx> +#include <vcl/settings.hxx> +#include <vcl/svapp.hxx> namespace chart { -ResMgr & ResourceManager::getResourceManager() +const std::locale& ResourceManager::getResourceLocale() { - // not threadsafe - static ResMgr * pResourceManager = nullptr; - if( ! pResourceManager ) - pResourceManager = ResMgr::CreateResMgr("chartcontroller"); - OSL_ASSERT( pResourceManager ); - return *pResourceManager; + static std::locale loc = Translate::Create("chart", Application::GetSettings().GetUILanguageTag()); + return loc; } } // namespace chart diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index 0cd1aa8d8896..3697f9456601 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -39,7 +39,7 @@ #include "VLegendSymbolFactory.hxx" #include "FormattedStringHelper.hxx" #include "ResId.hxx" -#include "Strings.hrc" +#include "strings.hrc" #include "RelativePositionHelper.hxx" #include "DateHelper.hxx" #include "DiagramHelper.hxx" diff --git a/chart2/source/view/inc/AbstractShapeFactory.hxx b/chart2/source/view/inc/AbstractShapeFactory.hxx index be0ceb56dbc3..ca735afaec73 100644 --- a/chart2/source/view/inc/AbstractShapeFactory.hxx +++ b/chart2/source/view/inc/AbstractShapeFactory.hxx @@ -34,7 +34,7 @@ class OpenGLWindow; namespace chart { // Be careful here not to clash with the SYMBOL_FOO #defines in -// <rsc/rsc-vcl-shared-types.hxx> +// <vcl/vclenum.hxx> enum SymbolEnum { Symbol_Square=0 , Symbol_Diamond , Symbol_DownArrow diff --git a/chart2/uiconfig/ui/3dviewdialog.ui b/chart2/uiconfig/ui/3dviewdialog.ui index a448519819e0..0410f04661e7 100644 --- a/chart2/uiconfig/ui/3dviewdialog.ui +++ b/chart2/uiconfig/ui/3dviewdialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="3DViewDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">3D View</property> + <property name="title" translatable="yes" context="3dviewdialog|3DViewDialog">3D View</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> diff --git a/chart2/uiconfig/ui/attributedialog.ui b/chart2/uiconfig/ui/attributedialog.ui index cac251fdf5b2..c45fe71965d3 100644 --- a/chart2/uiconfig/ui/attributedialog.ui +++ b/chart2/uiconfig/ui/attributedialog.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="AttributeDialog"> <property name="can_focus">False</property> diff --git a/chart2/uiconfig/ui/chardialog.ui b/chart2/uiconfig/ui/chardialog.ui index 0f6b1382fda7..7461a6e8d808 100644 --- a/chart2/uiconfig/ui/chardialog.ui +++ b/chart2/uiconfig/ui/chardialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="CharDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Character</property> + <property name="title" translatable="yes" context="chardialog|CharDialog">Character</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -96,7 +96,7 @@ <object class="GtkLabel" id="font"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Font</property> + <property name="label" translatable="yes" context="chardialog|font">Font</property> </object> <packing> <property name="tab_fill">False</property> @@ -109,7 +109,7 @@ <object class="GtkLabel" id="fonteffects"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Font Effects</property> + <property name="label" translatable="yes" context="chardialog|fonteffects">Font Effects</property> </object> <packing> <property name="position">1</property> @@ -123,7 +123,7 @@ <object class="GtkLabel" id="position"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="chardialog|position">Position</property> </object> <packing> <property name="position">2</property> diff --git a/chart2/uiconfig/ui/chartdatadialog.ui b/chart2/uiconfig/ui/chartdatadialog.ui index f5c3f2b15897..c275737119fb 100644 --- a/chart2/uiconfig/ui/chartdatadialog.ui +++ b/chart2/uiconfig/ui/chartdatadialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.4"/> <object class="GtkDialog" id="ChartDataDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Data Table</property> + <property name="title" translatable="yes" context="chartdatadialog|ChartDataDialog">Data Table</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -85,7 +85,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">InsertRow</property> - <property name="label" translatable="yes">Insert Row</property> + <property name="label" translatable="yes" context="chartdatadialog|InsertRow">Insert Row</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon01.png</property> </object> @@ -99,7 +99,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">InsertColumn</property> - <property name="label" translatable="yes">Insert Series</property> + <property name="label" translatable="yes" context="chartdatadialog|InsertColumn">Insert Series</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon02.png</property> </object> @@ -113,7 +113,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">InsertTextColumn</property> - <property name="label" translatable="yes">Insert Text Column</property> + <property name="label" translatable="yes" context="chartdatadialog|InsertTextColumn">Insert Text Column</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon07.png</property> </object> @@ -127,7 +127,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">RemoveRow</property> - <property name="label" translatable="yes">Delete Row</property> + <property name="label" translatable="yes" context="chartdatadialog|RemoveRow">Delete Row</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon03.png</property> </object> @@ -141,7 +141,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">RemoveColumn</property> - <property name="label" translatable="yes">Delete Series</property> + <property name="label" translatable="yes" context="chartdatadialog|RemoveColumn">Delete Series</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon04.png</property> </object> @@ -165,7 +165,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">MoveLeftColumn</property> - <property name="label" translatable="yes">Move Series Left</property> + <property name="label" translatable="yes" context="chartdatadialog|MoveLeftColumn">Move Series Left</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon08.png</property> </object> @@ -179,7 +179,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">MoveRightColumn</property> - <property name="label" translatable="yes">Move Series Right</property> + <property name="label" translatable="yes" context="chartdatadialog|MoveRightColumn">Move Series Right</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon05.png</property> </object> @@ -193,7 +193,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">MoveUpRow</property> - <property name="label" translatable="yes">Move Row Up</property> + <property name="label" translatable="yes" context="chartdatadialog|MoveUpRow">Move Row Up</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon09.png</property> </object> @@ -207,7 +207,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="action_name">MoveDownRow</property> - <property name="label" translatable="yes">Move Row Down</property> + <property name="label" translatable="yes" context="chartdatadialog|MoveDownRow">Move Row Down</property> <property name="use_underline">True</property> <property name="icon_name">chart2/res/dataeditor_icon06.png</property> </object> diff --git a/chart2/uiconfig/ui/charttypedialog.ui b/chart2/uiconfig/ui/charttypedialog.ui index 6cc181c91ecd..4a5e085b9b00 100644 --- a/chart2/uiconfig/ui/charttypedialog.ui +++ b/chart2/uiconfig/ui/charttypedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="ChartTypeDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Chart Type</property> + <property name="title" translatable="yes" context="charttypedialog|ChartTypeDialog">Chart Type</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> diff --git a/chart2/uiconfig/ui/datarangedialog.ui b/chart2/uiconfig/ui/datarangedialog.ui index 184546b5737f..a977a9df6aa2 100644 --- a/chart2/uiconfig/ui/datarangedialog.ui +++ b/chart2/uiconfig/ui/datarangedialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="DataRangeDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Data Ranges</property> + <property name="title" translatable="yes" context="datarangedialog|DataRangeDialog">Data Ranges</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> diff --git a/chart2/uiconfig/ui/dlg_DataLabel.ui b/chart2/uiconfig/ui/dlg_DataLabel.ui index 51f38590950c..093bec57d65b 100644 --- a/chart2/uiconfig/ui/dlg_DataLabel.ui +++ b/chart2/uiconfig/ui/dlg_DataLabel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustmentDEGREE"> @@ -17,55 +17,55 @@ </columns> <data> <row> - <col id="0" translatable="yes">Best fit</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Best fit</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Center</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Center</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Above</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Above</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">Top left</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Top left</col> <col id="1">3</col> </row> <row> - <col id="0" translatable="yes">Left</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Left</col> <col id="1">4</col> </row> <row> - <col id="0" translatable="yes">Bottom left</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Bottom left</col> <col id="1">5</col> </row> <row> - <col id="0" translatable="yes">Below</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Below</col> <col id="1">6</col> </row> <row> - <col id="0" translatable="yes">Bottom right</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Bottom right</col> <col id="1">7</col> </row> <row> - <col id="0" translatable="yes">Right</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Right</col> <col id="1">8</col> </row> <row> - <col id="0" translatable="yes">Top right</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Top right</col> <col id="1">9</col> </row> <row> - <col id="0" translatable="yes">Inside</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Inside</col> <col id="1">10</col> </row> <row> - <col id="0" translatable="yes">Outside</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Outside</col> <col id="1">11</col> </row> <row> - <col id="0" translatable="yes">Near origin</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststorePLACEMENT">Near origin</col> <col id="1">12</col> </row> </data> @@ -79,19 +79,19 @@ </columns> <data> <row> - <col id="0" translatable="yes">Space</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Space</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Comma</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Comma</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Semicolon</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">Semicolon</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">New line</col> + <col id="0" translatable="yes" context="dlg_DataLabel|liststoreSEPARATOR">New line</col> <col id="1">3</col> </row> </data> @@ -99,7 +99,7 @@ <object class="GtkDialog" id="dlg_DataLabels"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Data Labels for all Data Series</property> + <property name="title" translatable="yes" context="dlg_DataLabel|dlg_DataLabels">Data Labels for all Data Series</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -191,7 +191,7 @@ <property name="row_homogeneous">True</property> <child> <object class="GtkCheckButton" id="CB_VALUE_AS_NUMBER"> - <property name="label" translatable="yes">Show value as _number</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CB_VALUE_AS_NUMBER">Show value as _number</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -206,7 +206,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_VALUE_AS_PERCENTAGE"> - <property name="label" translatable="yes">Show value as _percentage</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CB_VALUE_AS_PERCENTAGE">Show value as _percentage</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -221,7 +221,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_CATEGORY"> - <property name="label" translatable="yes">Show _category</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CB_CATEGORY">Show _category</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -236,7 +236,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_SYMBOL"> - <property name="label" translatable="yes">Show _legend key</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CB_SYMBOL">Show _legend key</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -251,7 +251,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_WRAP_TEXT"> - <property name="label" translatable="yes">Auto text _wrap</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CB_WRAP_TEXT">Auto text _wrap</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -266,7 +266,7 @@ </child> <child> <object class="GtkButton" id="PB_NUMBERFORMAT"> - <property name="label" translatable="yes">Number _format...</property> + <property name="label" translatable="yes" context="dlg_DataLabel|PB_NUMBERFORMAT">Number _format...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -280,7 +280,7 @@ </child> <child> <object class="GtkButton" id="PB_PERCENT_NUMBERFORMAT"> - <property name="label" translatable="yes">Percentage f_ormat...</property> + <property name="label" translatable="yes" context="dlg_DataLabel|PB_PERCENT_NUMBERFORMAT">Percentage f_ormat...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -296,7 +296,7 @@ <object class="GtkLabel" id="CT_LABEL_DIAL"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">ABCD</property> + <property name="label" translatable="yes" context="dlg_DataLabel|CT_LABEL_DIAL">ABCD</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -316,7 +316,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Separator</property> + <property name="label" translatable="yes" context="dlg_DataLabel|FT_TEXT_SEPARATOR">_Separator</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_TEXT_SEPARATOR</property> </object> @@ -356,7 +356,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Place_ment</property> + <property name="label" translatable="yes" context="dlg_DataLabel|FT_LABEL_PLACEMENT">Place_ment</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_LABEL_PLACEMENT</property> </object> @@ -389,7 +389,7 @@ <child> <object class="GtkLabel" id="STR_DLG_NUMBERFORMAT_FOR_PERCENTAGE_VALUE"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Number Format for Percentage Value</property> + <property name="label" translatable="yes" context="dlg_DataLabel|STR_DLG_NUMBERFORMAT_FOR_PERCENTAGE_VALUE">Number Format for Percentage Value</property> </object> <packing> <property name="left_attach">1</property> @@ -405,7 +405,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Text Attributes</property> + <property name="label" translatable="yes" context="dlg_DataLabel|label1">Text Attributes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -471,7 +471,7 @@ <object class="GtkLabel" id="FT_LABEL_DEGREES"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Degrees</property> + <property name="label" translatable="yes" context="dlg_DataLabel|FT_LABEL_DEGREES">_Degrees</property> <property name="use_underline">True</property> </object> <packing> @@ -496,7 +496,7 @@ <object class="GtkLabel" id="FT_LABEL_TEXTDIR"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Te_xt direction</property> + <property name="label" translatable="yes" context="dlg_DataLabel|FT_LABEL_TEXTDIR">Te_xt direction</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_LABEL_TEXTDIR</property> </object> @@ -533,7 +533,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Rotate Text</property> + <property name="label" translatable="yes" context="dlg_DataLabel|label2">Rotate Text</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/dlg_InsertErrorBars.ui b/chart2/uiconfig/ui/dlg_InsertErrorBars.ui index b39ea0cbcc0f..80115208e25f 100644 --- a/chart2/uiconfig/ui/dlg_InsertErrorBars.ui +++ b/chart2/uiconfig/ui/dlg_InsertErrorBars.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustmentPOS_NEG"> <property name="upper">100</property> @@ -26,19 +26,19 @@ </columns> <data> <row> - <col id="0" translatable="yes">Standard Error</col> + <col id="0" translatable="yes" context="dlg_InsertErrorBars|liststoreFUNCTION">Standard Error</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Standard Deviation</col> + <col id="0" translatable="yes" context="dlg_InsertErrorBars|liststoreFUNCTION">Standard Deviation</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Variance</col> + <col id="0" translatable="yes" context="dlg_InsertErrorBars|liststoreFUNCTION">Variance</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">Error Margin</col> + <col id="0" translatable="yes" context="dlg_InsertErrorBars|liststoreFUNCTION">Error Margin</col> <col id="1">3</col> </row> </data> @@ -46,7 +46,7 @@ <object class="GtkDialog" id="dlg_InsertErrorBars"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Legend</property> + <property name="title" translatable="yes" context="dlg_InsertErrorBars|dlg_InsertErrorBars">Legend</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -143,7 +143,7 @@ <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="RB_NONE"> - <property name="label" translatable="yes">_None</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_NONE">_None</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -160,7 +160,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_CONST"> - <property name="label" translatable="yes">_Constant Value</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_CONST">_Constant Value</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -177,7 +177,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_PERCENT"> - <property name="label" translatable="yes">_Percentage</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_PERCENT">_Percentage</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -233,7 +233,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_RANGE"> - <property name="label" translatable="yes">Cell _Range</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_RANGE">Cell _Range</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -256,7 +256,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Error Category</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|label1">Error Category</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -289,7 +289,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkRadioButton" id="RB_BOTH"> - <property name="label" translatable="yes">Positive _and Negative</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_BOTH">Positive _and Negative</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -305,7 +305,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_POSITIVE"> - <property name="label" translatable="yes">Pos_itive</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_POSITIVE">Pos_itive</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -321,7 +321,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_NEGATIVE"> - <property name="label" translatable="yes">Ne_gative</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|RB_NEGATIVE">Ne_gative</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -377,7 +377,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Error Indicator</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|label2">Error Indicator</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -424,7 +424,7 @@ <object class="GtkLabel" id="FT_POSITIVE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">P_ositive (+)</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|FT_POSITIVE">P_ositive (+)</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MF_POSITIVE:0</property> </object> @@ -465,7 +465,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="dlg_InsertErrorBars|IB_RANGE_POSITIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_POSITIVE</property> </object> <packing> @@ -490,7 +490,7 @@ <object class="GtkLabel" id="FT_NEGATIVE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Negative (-)</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|FT_NEGATIVE">_Negative (-)</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MF_NEGATIVE:0</property> </object> @@ -532,7 +532,7 @@ <property name="can_focus">False</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="dlg_InsertErrorBars|IB_RANGE_NEGATIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_NEG</property> </object> <packing> @@ -550,7 +550,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_SYN_POS_NEG"> - <property name="label" translatable="yes">Same value for both</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|CB_SYN_POS_NEG">Same value for both</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -572,7 +572,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Parameters</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|label3">Parameters</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -588,7 +588,7 @@ <child> <object class="GtkLabel" id="STR_DATA_SELECT_RANGE_FOR_POSITIVE_ERRORBARS"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Select Range for Positive Error Bars</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|STR_DATA_SELECT_RANGE_FOR_POSITIVE_ERRORBARS">Select Range for Positive Error Bars</property> </object> <packing> <property name="expand">False</property> @@ -599,7 +599,7 @@ <child> <object class="GtkLabel" id="STR_DATA_SELECT_RANGE_FOR_NEGATIVE_ERRORBARS"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Select Range for Negative Error Bars</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|STR_DATA_SELECT_RANGE_FOR_NEGATIVE_ERRORBARS">Select Range for Negative Error Bars</property> </object> <packing> <property name="expand">False</property> @@ -610,7 +610,7 @@ <child> <object class="GtkLabel" id="STR_CONTROLTEXT_ERROR_BARS_FROM_DATA"> <property name="can_focus">False</property> - <property name="label" translatable="yes">From Data Table</property> + <property name="label" translatable="yes" context="dlg_InsertErrorBars|STR_CONTROLTEXT_ERROR_BARS_FROM_DATA">From Data Table</property> </object> <packing> <property name="expand">False</property> diff --git a/chart2/uiconfig/ui/dlg_InsertLegend.ui b/chart2/uiconfig/ui/dlg_InsertLegend.ui index 34364f4063bd..45463bcd8782 100644 --- a/chart2/uiconfig/ui/dlg_InsertLegend.ui +++ b/chart2/uiconfig/ui/dlg_InsertLegend.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="dlg_InsertLegend"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Legend</property> + <property name="title" translatable="yes" context="dlg_InsertLegend|dlg_InsertLegend">Legend</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -97,7 +97,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="show"> - <property name="label" translatable="yes">_Display legend</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|show">_Display legend</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -119,7 +119,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="left"> - <property name="label" translatable="yes">_Left</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|left">_Left</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -135,7 +135,7 @@ </child> <child> <object class="GtkRadioButton" id="right"> - <property name="label" translatable="yes">_Right</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|right">_Right</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -151,7 +151,7 @@ </child> <child> <object class="GtkRadioButton" id="top"> - <property name="label" translatable="yes">_Top</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|top">_Top</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -167,7 +167,7 @@ </child> <child> <object class="GtkRadioButton" id="bottom"> - <property name="label" translatable="yes">_Bottom</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|bottom">_Bottom</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -197,7 +197,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="dlg_InsertLegend|TXT_POSITION">Position</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/insertaxisdlg.ui b/chart2/uiconfig/ui/insertaxisdlg.ui index fdbd609bbf33..563532abf41e 100644 --- a/chart2/uiconfig/ui/insertaxisdlg.ui +++ b/chart2/uiconfig/ui/insertaxisdlg.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="InsertAxisDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Axes</property> + <property name="title" translatable="yes" context="insertaxisdlg|InsertAxisDialog">Axes</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox3"> @@ -101,7 +101,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="primaryX"> - <property name="label" translatable="yes">_X axis</property> + <property name="label" translatable="yes" context="insertaxisdlg|primaryX">_X axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkCheckButton" id="primaryY"> - <property name="label" translatable="yes">_Y axis</property> + <property name="label" translatable="yes" context="insertaxisdlg|primaryY">_Y axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -133,7 +133,7 @@ </child> <child> <object class="GtkCheckButton" id="primaryZ"> - <property name="label" translatable="yes">_Z axis</property> + <property name="label" translatable="yes" context="insertaxisdlg|primaryZ">_Z axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -156,7 +156,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Axes</property> + <property name="label" translatable="yes" context="insertaxisdlg|label1">Axes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -191,7 +191,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="secondaryX"> - <property name="label" translatable="yes">X _axis</property> + <property name="label" translatable="yes" context="insertaxisdlg|secondaryX">X _axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -207,7 +207,7 @@ </child> <child> <object class="GtkCheckButton" id="secondaryY"> - <property name="label" translatable="yes">Y ax_is</property> + <property name="label" translatable="yes" context="insertaxisdlg|secondaryY">Y ax_is</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -223,7 +223,7 @@ </child> <child> <object class="GtkCheckButton" id="secondaryZ"> - <property name="label" translatable="yes">Z axi_s</property> + <property name="label" translatable="yes" context="insertaxisdlg|secondaryZ">Z axi_s</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -246,7 +246,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Secondary Axes</property> + <property name="label" translatable="yes" context="insertaxisdlg|label2">Secondary Axes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/insertgriddlg.ui b/chart2/uiconfig/ui/insertgriddlg.ui index 0472f480f576..5d2a32d17c87 100644 --- a/chart2/uiconfig/ui/insertgriddlg.ui +++ b/chart2/uiconfig/ui/insertgriddlg.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="InsertGridDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Grids</property> + <property name="title" translatable="yes" context="insertgriddlg|InsertGridDialog">Grids</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -101,7 +101,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="primaryX"> - <property name="label" translatable="yes">_X axis</property> + <property name="label" translatable="yes" context="insertgriddlg|primaryX">_X axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -117,7 +117,7 @@ </child> <child> <object class="GtkCheckButton" id="primaryY"> - <property name="label" translatable="yes">_Y axis</property> + <property name="label" translatable="yes" context="insertgriddlg|primaryY">_Y axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -133,7 +133,7 @@ </child> <child> <object class="GtkCheckButton" id="primaryZ"> - <property name="label" translatable="yes">_Z axis</property> + <property name="label" translatable="yes" context="insertgriddlg|primaryZ">_Z axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -156,7 +156,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Major Grids</property> + <property name="label" translatable="yes" context="insertgriddlg|label1">Major Grids</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -191,7 +191,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="secondaryX"> - <property name="label" translatable="yes">X _axis</property> + <property name="label" translatable="yes" context="insertgriddlg|secondaryX">X _axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -207,7 +207,7 @@ </child> <child> <object class="GtkCheckButton" id="secondaryY"> - <property name="label" translatable="yes">Y ax_is</property> + <property name="label" translatable="yes" context="insertgriddlg|secondaryY">Y ax_is</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -223,7 +223,7 @@ </child> <child> <object class="GtkCheckButton" id="secondaryZ"> - <property name="label" translatable="yes">Z axi_s</property> + <property name="label" translatable="yes" context="insertgriddlg|secondaryZ">Z axi_s</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -246,7 +246,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> - <property name="label" translatable="yes">Minor Grids</property> + <property name="label" translatable="yes" context="insertgriddlg|label2">Minor Grids</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/inserttitledlg.ui b/chart2/uiconfig/ui/inserttitledlg.ui index ce93162c27a5..fb94ec727a4c 100644 --- a/chart2/uiconfig/ui/inserttitledlg.ui +++ b/chart2/uiconfig/ui/inserttitledlg.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="InsertTitleDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Titles</property> + <property name="title" translatable="yes" context="inserttitledlg|InsertTitleDialog">Titles</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -86,7 +86,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Title</property> + <property name="label" translatable="yes" context="inserttitledlg|labelMainTitle">_Title</property> <property name="use_underline">True</property> <property name="mnemonic_widget">maintitle</property> </object> @@ -100,7 +100,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Subtitle</property> + <property name="label" translatable="yes" context="inserttitledlg|labelSubTitle">_Subtitle</property> <property name="use_underline">True</property> <property name="mnemonic_widget">subtitle</property> </object> @@ -163,7 +163,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_X axis</property> + <property name="label" translatable="yes" context="inserttitledlg|labelPrimaryXaxis">_X axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryXaxis</property> </object> @@ -177,7 +177,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Y axis</property> + <property name="label" translatable="yes" context="inserttitledlg|labelPrimaryYaxis">_Y axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryYaxis</property> </object> @@ -191,7 +191,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Z axis</property> + <property name="label" translatable="yes" context="inserttitledlg|labelPrimaryZaxis">_Z axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryZaxis</property> </object> @@ -244,7 +244,7 @@ <object class="GtkLabel" id="Axe"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Axes</property> + <property name="label" translatable="yes" context="inserttitledlg|Axe">Axes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -280,7 +280,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">X _axis</property> + <property name="label" translatable="yes" context="inserttitledlg|labelSecondaryXAxis">X _axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">secondaryXaxis</property> </object> @@ -294,7 +294,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Y ax_is</property> + <property name="label" translatable="yes" context="inserttitledlg|labelSecondaryYAxis">Y ax_is</property> <property name="use_underline">True</property> <property name="mnemonic_widget">secondaryYaxis</property> </object> @@ -335,7 +335,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Secondary Axes</property> + <property name="label" translatable="yes" context="inserttitledlg|label2">Secondary Axes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/paradialog.ui b/chart2/uiconfig/ui/paradialog.ui index 4b1e3ca3ef75..aef016979345 100644 --- a/chart2/uiconfig/ui/paradialog.ui +++ b/chart2/uiconfig/ui/paradialog.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="ParagraphDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Paragraph</property> + <property name="title" translatable="yes" context="paradialog|ParagraphDialog">Paragraph</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -96,7 +96,7 @@ <object class="GtkLabel" id="labelTP_PARA_STD"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Indents & Spacing</property> + <property name="label" translatable="yes" context="paradialog|labelTP_PARA_STD">Indents & Spacing</property> </object> <packing> <property name="tab_fill">False</property> @@ -110,7 +110,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0.4699999988079071</property> - <property name="label" translatable="yes">Alignment</property> + <property name="label" translatable="yes" context="paradialog|labelTP_PARA_ALIGN">Alignment</property> </object> <packing> <property name="position">1</property> @@ -124,7 +124,7 @@ <object class="GtkLabel" id="labelTP_PARA_ASIAN"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Asian Typography</property> + <property name="label" translatable="yes" context="paradialog|labelTP_PARA_ASIAN">Asian Typography</property> </object> <packing> <property name="position">2</property> @@ -138,7 +138,7 @@ <object class="GtkLabel" id="labelTP_TABULATOR"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Tabs</property> + <property name="label" translatable="yes" context="paradialog|labelTP_TABULATOR">Tabs</property> </object> <packing> <property name="position">3</property> diff --git a/chart2/uiconfig/ui/sidebaraxis.ui b/chart2/uiconfig/ui/sidebaraxis.ui index b758e317136f..cba9421b4a11 100644 --- a/chart2/uiconfig/ui/sidebaraxis.ui +++ b/chart2/uiconfig/ui/sidebaraxis.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.12"/> <object class="GtkGrid" id="ChartAxisPanel"> <property name="visible">True</property> @@ -15,7 +15,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_show_label"> - <property name="label" translatable="yes">Show labels</property> + <property name="label" translatable="yes" context="sidebaraxis|checkbutton_show_label">Show labels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -29,7 +29,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_reverse"> - <property name="label" translatable="yes">Reverse direction</property> + <property name="label" translatable="yes" context="sidebaraxis|checkbutton_reverse">Reverse direction</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -53,7 +53,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">_Label position:</property> + <property name="label" translatable="yes" context="sidebaraxis|label1">_Label position:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">comboboxtext_label_position</property> </object> @@ -67,10 +67,10 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Near Axis</item> - <item translatable="yes">Near Axis (other side)</item> - <item translatable="yes">Outside start</item> - <item translatable="yes">Outside end</item> + <item translatable="yes" context="sidebaraxis|comboboxtext_label_position">Near Axis</item> + <item translatable="yes" context="sidebaraxis|comboboxtext_label_position">Near Axis (other side)</item> + <item translatable="yes" context="sidebaraxis|comboboxtext_label_position">Outside start</item> + <item translatable="yes" context="sidebaraxis|comboboxtext_label_position">Outside end</item> </items> </object> <packing> @@ -84,7 +84,7 @@ <property name="can_focus">False</property> <property name="halign">end</property> <property name="valign">center</property> - <property name="label" translatable="yes">_Text orientation:</property> + <property name="label" translatable="yes" context="sidebaraxis|label2">_Text orientation:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">spinbutton1:0degrees</property> </object> diff --git a/chart2/uiconfig/ui/sidebarelements.ui b/chart2/uiconfig/ui/sidebarelements.ui index 9ee199e26ba4..1c2912b4459a 100644 --- a/chart2/uiconfig/ui/sidebarelements.ui +++ b/chart2/uiconfig/ui/sidebarelements.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkGrid" id="ChartElementsPanel"> <property name="visible">True</property> @@ -32,7 +32,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_subtitle"> - <property name="label" translatable="yes">Subtitle</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_subtitle">Subtitle</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -46,7 +46,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_title"> - <property name="label" translatable="yes">Title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_title">Title</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -66,7 +66,7 @@ <object class="GtkLabel" id="l"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Titles</property> + <property name="label" translatable="yes" context="sidebarelements|l">Titles</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -97,7 +97,7 @@ <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="checkbutton_legend"> - <property name="tooltip_text" translatable="yes">Show Legend</property> + <property name="tooltip_text" translatable="yes" context="sidebarelements|checkbutton_legend|tooltip_text">Show Legend</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -120,7 +120,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> - <property name="label" translatable="yes">_Placement:</property> + <property name="label" translatable="yes" context="sidebarelements|placement_label">_Placement:</property> <property name="use_underline">True</property> <property name="ellipsize">end</property> </object> @@ -136,11 +136,11 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Right</item> - <item translatable="yes">Top</item> - <item translatable="yes">Bottom</item> - <item translatable="yes">Left</item> - <item translatable="yes">Manual</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Right</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Top</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Bottom</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Left</item> + <item translatable="yes" context="sidebarelements|comboboxtext_legend">Manual</item> </items> </object> <packing> @@ -163,7 +163,7 @@ <object class="GtkLabel" id="label_legen"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Legend</property> + <property name="label" translatable="yes" context="sidebarelements|label_legen">Legend</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -196,7 +196,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_x_axis"> - <property name="label" translatable="yes">X axis</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_x_axis">X axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -210,7 +210,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_x_axis_title"> - <property name="label" translatable="yes">X axis title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_x_axis_title">X axis title</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -224,7 +224,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_y_axis"> - <property name="label" translatable="yes">Y axis</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_y_axis">Y axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -238,7 +238,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_y_axis_title"> - <property name="label" translatable="yes">Y axis title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_y_axis_title">Y axis title</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -252,7 +252,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_z_axis"> - <property name="label" translatable="yes">Z axis</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_z_axis">Z axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -266,7 +266,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_z_axis_title"> - <property name="label" translatable="yes">Z axis title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_z_axis_title">Z axis title</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -280,7 +280,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_2nd_x_axis"> - <property name="label" translatable="yes">2nd X axis</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_2nd_x_axis">2nd X axis</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> @@ -293,7 +293,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_2nd_x_axis_title"> - <property name="label" translatable="yes">2nd X axis title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_2nd_x_axis_title">2nd X axis title</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> @@ -306,7 +306,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_2nd_y_axis"> - <property name="label" translatable="yes">2nd Y axis</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_2nd_y_axis">2nd Y axis</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> @@ -319,7 +319,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_2nd_y_axis_title"> - <property name="label" translatable="yes">2nd Y axis title</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_2nd_y_axis_title">2nd Y axis title</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="xalign">0</property> @@ -338,7 +338,7 @@ <object class="GtkLabel" id="label_axes"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Axes</property> + <property name="label" translatable="yes" context="sidebarelements|label_axes">Axes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -371,7 +371,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_gridline_horizontal_major"> - <property name="label" translatable="yes">Horizontal major</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_gridline_horizontal_major">Horizontal major</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -385,7 +385,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_gridline_vertical_major"> - <property name="label" translatable="yes">Vertical major</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_gridline_vertical_major">Vertical major</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -399,7 +399,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_gridline_horizontal_minor"> - <property name="label" translatable="yes">Horizontal minor</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_gridline_horizontal_minor">Horizontal minor</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -413,7 +413,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_gridline_vertical_minor"> - <property name="label" translatable="yes">Vertical minor</property> + <property name="label" translatable="yes" context="sidebarelements|checkbutton_gridline_vertical_minor">Vertical minor</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -433,7 +433,7 @@ <object class="GtkLabel" id="label_gri"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Gridlines</property> + <property name="label" translatable="yes" context="sidebarelements|label_gri">Gridlines</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -452,7 +452,7 @@ <child> <object class="GtkLabel" id="text_title"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Title</property> + <property name="label" translatable="yes" context="sidebarelements|text_title">Title</property> </object> <packing> <property name="left_attach">0</property> @@ -462,7 +462,7 @@ <child> <object class="GtkLabel" id="text_subtitle"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Subtitle</property> + <property name="label" translatable="yes" context="sidebarelements|text_subtitle">Subtitle</property> </object> <packing> <property name="left_attach">1</property> diff --git a/chart2/uiconfig/ui/sidebarerrorbar.ui b/chart2/uiconfig/ui/sidebarerrorbar.ui index 43a7db9a3245..d71c944ec8a3 100644 --- a/chart2/uiconfig/ui/sidebarerrorbar.ui +++ b/chart2/uiconfig/ui/sidebarerrorbar.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.12"/> <object class="GtkImage" id="image1"> <property name="visible">True</property> @@ -45,7 +45,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Category:</property> + <property name="label" translatable="yes" context="sidebarerrorbar|label2">Category:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">comboboxtext_type</property> </object> @@ -61,13 +61,13 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Constant</item> - <item translatable="yes">Percentage</item> - <item translatable="yes">Cell Range or Data Table</item> - <item translatable="yes">Standard deviation</item> - <item translatable="yes">Standard error</item> - <item translatable="yes">Variance</item> - <item translatable="yes">Error margin</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Constant</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Percentage</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Cell Range or Data Table</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Standard deviation</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Standard error</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Variance</item> + <item translatable="yes" context="sidebarerrorbar|comboboxtext_type">Error margin</item> </items> </object> <packing> @@ -82,7 +82,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Positive (+):</property> + <property name="label" translatable="yes" context="sidebarerrorbar|label3">Positive (+):</property> </object> <packing> <property name="left_attach">0</property> @@ -96,7 +96,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Negative (-):</property> + <property name="label" translatable="yes" context="sidebarerrorbar|label4">Negative (-):</property> </object> <packing> <property name="left_attach">0</property> @@ -110,7 +110,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">start</property> - <property name="text" translatable="yes">0.00</property> + <property name="text" translatable="yes" context="sidebarerrorbar|spinbutton_pos">0.00</property> <property name="climb_rate">1</property> <property name="digits">2</property> </object> @@ -126,7 +126,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="halign">start</property> - <property name="text" translatable="yes">0.00</property> + <property name="text" translatable="yes" context="sidebarerrorbar|spinbutton_neg">0.00</property> <property name="input_purpose">alpha</property> <property name="climb_rate">1</property> <property name="digits">2</property> @@ -148,7 +148,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Positive and Negative</property> + <property name="tooltip_text" translatable="yes" context="sidebarerrorbar|radiobutton_positive_negative|tooltip_text">Positive and Negative</property> <property name="image">image2</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -164,7 +164,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Positive</property> + <property name="tooltip_text" translatable="yes" context="sidebarerrorbar|radiobutton_positive|tooltip_text">Positive</property> <property name="image">image1</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -180,7 +180,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="tooltip_text" translatable="yes">Negative</property> + <property name="tooltip_text" translatable="yes" context="sidebarerrorbar|radiobutton_negative|tooltip_text">Negative</property> <property name="image">image3</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -202,7 +202,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">Indicator</property> + <property name="label" translatable="yes" context="sidebarerrorbar|label5">Indicator</property> </object> <packing> <property name="left_attach">0</property> diff --git a/chart2/uiconfig/ui/sidebarseries.ui b/chart2/uiconfig/ui/sidebarseries.ui index 4dfee96a0649..a10820882e47 100644 --- a/chart2/uiconfig/ui/sidebarseries.ui +++ b/chart2/uiconfig/ui/sidebarseries.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.12"/> <object class="GtkGrid" id="ChartSeriesPanel"> <property name="visible">True</property> @@ -41,7 +41,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_label"> - <property name="label" translatable="yes">Show data labels</property> + <property name="label" translatable="yes" context="sidebarseries|checkbutton_label">Show data labels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -64,7 +64,7 @@ <object class="GtkLabel" id="label_box"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">P_lacement:</property> + <property name="label" translatable="yes" context="sidebarseries|label_box">P_lacement:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">comboboxtext_label</property> </object> @@ -79,12 +79,12 @@ <property name="visible">True</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Above</item> - <item translatable="yes">Below</item> - <item translatable="yes">Center</item> - <item translatable="yes">Outside</item> - <item translatable="yes">Inside</item> - <item translatable="yes">Near origin</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Above</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Below</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Center</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Outside</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Inside</item> + <item translatable="yes" context="sidebarseries|comboboxtext_label">Near origin</item> </items> </object> <packing> @@ -109,7 +109,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_trendline"> - <property name="label" translatable="yes">Show trendline</property> + <property name="label" translatable="yes" context="sidebarseries|checkbutton_trendline">Show trendline</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -144,7 +144,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="checkbutton_y_error"> - <property name="label" translatable="yes">Y error bars</property> + <property name="label" translatable="yes" context="sidebarseries|checkbutton_y_error">Y error bars</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -159,7 +159,7 @@ </child> <child> <object class="GtkCheckButton" id="checkbutton_x_error"> - <property name="label" translatable="yes">X error bars</property> + <property name="label" translatable="yes" context="sidebarseries|checkbutton_x_error">X error bars</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -180,7 +180,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Error Bars</property> + <property name="label" translatable="yes" context="sidebarseries|label1">Error Bars</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -213,7 +213,7 @@ <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="radiobutton_primary_axis"> - <property name="label" translatable="yes">Primary Y axis</property> + <property name="label" translatable="yes" context="sidebarseries|radiobutton_primary_axis">Primary Y axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -229,7 +229,7 @@ </child> <child> <object class="GtkRadioButton" id="radiobutton_secondary_axis"> - <property name="label" translatable="yes">Secondary Y axis</property> + <property name="label" translatable="yes" context="sidebarseries|radiobutton_secondary_axis">Secondary Y axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -251,7 +251,7 @@ <object class="GtkLabel" id="axis_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Align Series to Axis</property> + <property name="label" translatable="yes" context="sidebarseries|axis_label">Align Series to Axis</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -267,7 +267,7 @@ <child> <object class="GtkLabel" id="label_series_tmpl"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Data series '%1'</property> + <property name="label" translatable="yes" context="sidebarseries|label_series_tmpl">Data series '%1'</property> </object> <packing> <property name="expand">False</property> diff --git a/chart2/uiconfig/ui/smoothlinesdlg.ui b/chart2/uiconfig/ui/smoothlinesdlg.ui index a2d65da501ad..472d8be91c8f 100644 --- a/chart2/uiconfig/ui/smoothlinesdlg.ui +++ b/chart2/uiconfig/ui/smoothlinesdlg.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="PolynomialsAdjustment"> <property name="lower">1</property> @@ -19,7 +19,7 @@ <object class="GtkDialog" id="SmoothLinesDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="title" translatable="yes">Smooth Lines</property> + <property name="title" translatable="yes" context="smoothlinesdlg|SmoothLinesDialog">Smooth Lines</property> <property name="modal">True</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> @@ -101,7 +101,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Line _Type:</property> + <property name="label" translatable="yes" context="smoothlinesdlg|TypeLabel">Line _Type:</property> <property name="use_underline">True</property> </object> <packing> @@ -116,8 +116,8 @@ <property name="can_focus">False</property> <property name="active">0</property> <items> - <item translatable="yes">Cubic spline</item> - <item translatable="yes">B-spline</item> + <item translatable="yes" context="smoothlinesdlg|SplineTypeComboBox">Cubic spline</item> + <item translatable="yes" context="smoothlinesdlg|SplineTypeComboBox">B-spline</item> </items> </object> <packing> @@ -150,7 +150,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_Resolution:</property> + <property name="label" translatable="yes" context="smoothlinesdlg|ResolutionLabel">_Resolution:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ResolutionSpinbutton</property> </object> @@ -164,7 +164,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> - <property name="label" translatable="yes">_Degree of polynomials:</property> + <property name="label" translatable="yes" context="smoothlinesdlg|PolynomialsLabel">_Degree of polynomials:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">PolynomialsSpinButton</property> </object> @@ -232,11 +232,11 @@ </columns> <data> <row> - <col id="0" translatable="yes">Cubic Spline</col> + <col id="0" translatable="yes" context="smoothlinesdlg|SplineTypeModel">Cubic Spline</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">B-Spline</col> + <col id="0" translatable="yes" context="smoothlinesdlg|SplineTypeModel">B-Spline</col> <col id="1">1</col> </row> </data> diff --git a/chart2/uiconfig/ui/steppedlinesdlg.ui b/chart2/uiconfig/ui/steppedlinesdlg.ui index cf7ee627df2d..79bcc121ea9b 100644 --- a/chart2/uiconfig/ui/steppedlinesdlg.ui +++ b/chart2/uiconfig/ui/steppedlinesdlg.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <!-- interface-local-resource-path /home/eric/Documents/computers/libreoffice/core/icon-themes/galaxy/chart2 --> <object class="GtkDialog" id="SteppedLinesDialog"> @@ -122,7 +122,7 @@ </child> <child> <object class="GtkRadioButton" id="step_start_rb"> - <property name="label" translatable="yes">_Start with horizontal line</property> + <property name="label" translatable="yes" context="steppedlinesdlg|step_start_rb">_Start with horizontal line</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -139,7 +139,7 @@ </child> <child> <object class="GtkRadioButton" id="step_center_x_rb"> - <property name="label" translatable="yes">Step at the _horizontal mean</property> + <property name="label" translatable="yes" context="steppedlinesdlg|step_center_x_rb">Step at the _horizontal mean</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -156,7 +156,7 @@ </child> <child> <object class="GtkRadioButton" id="step_end_rb"> - <property name="label" translatable="yes">_End with horizontal line</property> + <property name="label" translatable="yes" context="steppedlinesdlg|step_end_rb">_End with horizontal line</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -173,7 +173,7 @@ </child> <child> <object class="GtkRadioButton" id="step_center_y_rb"> - <property name="label" translatable="yes">Step to the _vertical mean</property> + <property name="label" translatable="yes" context="steppedlinesdlg|step_center_y_rb">Step to the _vertical mean</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -207,7 +207,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Type of Stepping</property> + <property name="label" translatable="yes" context="steppedlinesdlg|label2">Type of Stepping</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/titlerotationtabpage.ui b/chart2/uiconfig/ui/titlerotationtabpage.ui index 6e0eb4356e5e..ee79d52aa349 100644 --- a/chart2/uiconfig/ui/titlerotationtabpage.ui +++ b/chart2/uiconfig/ui/titlerotationtabpage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustmentSpinDegrees"> @@ -55,7 +55,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_top">40</property> - <property name="label" translatable="yes">_Degrees</property> + <property name="label" translatable="yes" context="titlerotationtabpage|degreeL">_Degrees</property> <property name="use_underline">True</property> </object> <packing> @@ -108,7 +108,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="stackedCB"> - <property name="label" translatable="yes">Ve_rtically stacked</property> + <property name="label" translatable="yes" context="titlerotationtabpage|stackedCB">Ve_rtically stacked</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -127,7 +127,7 @@ <child> <object class="GtkLabel" id="labelABCD"> <property name="can_focus">False</property> - <property name="label" translatable="yes">ABCD</property> + <property name="label" translatable="yes" context="titlerotationtabpage|labelABCD">ABCD</property> </object> <packing> <property name="left_attach">0</property> @@ -148,7 +148,7 @@ <object class="GtkLabel" id="textdirL"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Te_xt direction:</property> + <property name="label" translatable="yes" context="titlerotationtabpage|textdirL">Te_xt direction:</property> <property name="use_underline">True</property> </object> <packing> @@ -178,7 +178,7 @@ <object class="GtkLabel" id="labelTextOrient"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text Orientation</property> + <property name="label" translatable="yes" context="titlerotationtabpage|labelTextOrient">Text Orientation</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui b/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui index e9347bd7f29e..93d0f6c02c3e 100644 --- a/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui +++ b/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkListStore" id="liststoreSCHEME"> <columns> @@ -10,15 +10,15 @@ </columns> <data> <row> - <col id="0" translatable="yes">Simple</col> + <col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Simple</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Realistic</col> + <col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Realistic</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Custom</col> + <col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Custom</col> <col id="1">2</col> </row> </data> @@ -39,7 +39,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Sche_me</property> + <property name="label" translatable="yes" context="tp_3D_SceneAppearance|FT_SCHEME">Sche_me</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_SCHEME</property> </object> @@ -87,7 +87,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_SHADING"> - <property name="label" translatable="yes">_Shading</property> + <property name="label" translatable="yes" context="tp_3D_SceneAppearance|CB_SHADING">_Shading</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -103,7 +103,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_OBJECTLINES"> - <property name="label" translatable="yes">_Object borders</property> + <property name="label" translatable="yes" context="tp_3D_SceneAppearance|CB_OBJECTLINES">_Object borders</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -119,7 +119,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_ROUNDEDEDGE"> - <property name="label" translatable="yes">_Rounded edges</property> + <property name="label" translatable="yes" context="tp_3D_SceneAppearance|CB_ROUNDEDEDGE">_Rounded edges</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> diff --git a/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui b/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui index f89fc13a726f..36ef02f1fb16 100644 --- a/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui +++ b/chart2/uiconfig/ui/tp_3D_SceneGeometry.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkAdjustment" id="adjustmentPERSPECTIVE"> <property name="upper">100</property> @@ -21,7 +21,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="CBX_RIGHT_ANGLED_AXES"> - <property name="label" translatable="yes">_Right-angled axes</property> + <property name="label" translatable="yes" context="tp_3D_SceneGeometry|CBX_RIGHT_ANGLED_AXES">_Right-angled axes</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -39,7 +39,7 @@ <object class="GtkLabel" id="FT_X_ROTATION"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_X rotation</property> + <property name="label" translatable="yes" context="tp_3D_SceneGeometry|FT_X_ROTATION">_X rotation</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MTR_FLD_X_ROTATION:0degrees</property> <property name="xalign">0</property> @@ -53,7 +53,7 @@ <object class="GtkLabel" id="FT_Y_ROTATION"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Y rotation</property> + <property name="label" translatable="yes" context="tp_3D_SceneGeometry|FT_Y_ROTATION">_Y rotation</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MTR_FLD_Y_ROTATION:0degrees</property> <property name="xalign">0</property> @@ -67,7 +67,7 @@ <object class="GtkLabel" id="FT_Z_ROTATION"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Z rotation</property> + <property name="label" translatable="yes" context="tp_3D_SceneGeometry|FT_Z_ROTATION">_Z rotation</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MTR_FLD_Z_ROTATION:0degrees</property> <property name="xalign">0</property> @@ -79,7 +79,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_PERSPECTIVE"> - <property name="label" translatable="yes">_Perspective</property> + <property name="label" translatable="yes" context="tp_3D_SceneGeometry|CBX_PERSPECTIVE">_Perspective</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -106,7 +106,7 @@ </accessibility> <child internal-child="accessible"> <object class="AtkObject" id="MTR_FLD_PERSPECTIVE:0%-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Perspective</property> + <property name="AtkObject::accessible-name" translatable="yes" context="tp_3D_SceneGeometry|MTR_FLD_PERSPECTIVE-atkobject">Perspective</property> </object> </child> </object> diff --git a/chart2/uiconfig/ui/tp_3D_SceneIllumination.ui b/chart2/uiconfig/ui/tp_3D_SceneIllumination.ui index 626124a9c580..128472e0e2f5 100644 --- a/chart2/uiconfig/ui/tp_3D_SceneIllumination.ui +++ b/chart2/uiconfig/ui/tp_3D_SceneIllumination.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkImage" id="IMG_AMBIENT_COLOR"> @@ -101,7 +101,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 1</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_1|tooltip_text">Light source 1</property> <property name="image">IMG_LIGHT_1</property> </object> <packing> @@ -117,7 +117,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 2</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_2|tooltip_text">Light source 2</property> <property name="image">IMG_LIGHT_2</property> </object> <packing> @@ -133,7 +133,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 3</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_3|tooltip_text">Light source 3</property> <property name="image">IMG_LIGHT_3</property> </object> <packing> @@ -149,7 +149,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 4</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_4|tooltip_text">Light source 4</property> <property name="image">IMG_LIGHT_4</property> </object> <packing> @@ -165,7 +165,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 5</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_5|tooltip_text">Light source 5</property> <property name="image">IMG_LIGHT_5</property> </object> <packing> @@ -181,7 +181,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 6</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_6|tooltip_text">Light source 6</property> <property name="image">IMG_LIGHT_6</property> </object> <packing> @@ -197,7 +197,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 7</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_7|tooltip_text">Light source 7</property> <property name="image">IMG_LIGHT_7</property> </object> <packing> @@ -213,7 +213,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Light source 8</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHT_8|tooltip_text">Light source 8</property> <property name="image">IMG_LIGHT_8</property> </object> <packing> @@ -252,7 +252,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select a color using the color dialog</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_LIGHTSOURCE_COLOR|tooltip_text">Select a color using the color dialog</property> <property name="image">IMG_LIGHTSOURCE_COLOR</property> </object> <packing> @@ -277,7 +277,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Light source</property> + <property name="label" translatable="yes" context="tp_3D_SceneIllumination|FT_LIGHTSOURCE">_Light source</property> <property name="use_underline">True</property> <property name="mnemonic_widget">BTN_LIGHT_1</property> <attributes> @@ -326,7 +326,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> - <property name="tooltip_text" translatable="yes">Select a color using the color dialog</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|BTN_AMBIENT_COLOR|tooltip_text">Select a color using the color dialog</property> <property name="image">IMG_AMBIENT_COLOR</property> </object> <packing> @@ -344,7 +344,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Ambient light</property> + <property name="label" translatable="yes" context="tp_3D_SceneIllumination|FT_AMBIENTLIGHT">_Ambient light</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_AMBIENTLIGHT</property> <attributes> @@ -370,7 +370,7 @@ <object class="svxlo-SvxLightCtl3D" id="CTL_LIGHT_PREVIEW"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Light Preview</property> + <property name="tooltip_text" translatable="yes" context="tp_3D_SceneIllumination|CTL_LIGHT_PREVIEW|tooltip_text">Light Preview</property> <property name="hexpand">True</property> <property name="vexpand">True</property> </object> diff --git a/chart2/uiconfig/ui/tp_AxisPositions.ui b/chart2/uiconfig/ui/tp_AxisPositions.ui index 9d502484034a..43c48e0aa1e2 100644 --- a/chart2/uiconfig/ui/tp_AxisPositions.ui +++ b/chart2/uiconfig/ui/tp_AxisPositions.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkBox" id="tp_AxisPositions"> @@ -36,7 +36,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Cross other axis at</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_CROSSES_OTHER_AXIS_AT">_Cross other axis at</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_CROSSES_OTHER_AXIS_AT</property> </object> @@ -54,10 +54,10 @@ <property name="entry_text_column">0</property> <property name="id_column">1</property> <items> - <item translatable="yes">Start</item> - <item translatable="yes">End</item> - <item translatable="yes">Value</item> - <item translatable="yes">Category</item> + <item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">Start</item> + <item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">End</item> + <item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">Value</item> + <item translatable="yes" context="tp_AxisPositions|LB_CROSSES_OTHER_AXIS_AT">Category</item> </items> </object> <packing> @@ -104,7 +104,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_AXIS_BETWEEN_CATEGORIES"> - <property name="label" translatable="yes">Axis _between categories</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_AXIS_BETWEEN_CATEGORIES">Axis _between categories</property> <property name="can_focus">False</property> <property name="receives_default">False</property> <property name="use_underline">True</property> @@ -126,7 +126,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Axis Line</property> + <property name="label" translatable="yes" context="tp_AxisPositions|TXT_AXIS_LINE">Axis Line</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -167,7 +167,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Place labels</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_PLACE_LABELS">_Place labels</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_PLACE_LABELS</property> </object> @@ -184,10 +184,10 @@ <property name="entry_text_column">0</property> <property name="id_column">1</property> <items> - <item translatable="yes">Near axis</item> - <item translatable="yes">Near axis (other side)</item> - <item translatable="yes">Outside start</item> - <item translatable="yes">Outside end</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Near axis</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Near axis (other side)</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Outside start</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_LABELS">Outside end</item> </items> </object> <packing> @@ -212,7 +212,7 @@ <object class="GtkLabel" id="FT_AXIS_LABEL_DISTANCE"> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Distance</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_AXIS_LABEL_DISTANCE">_Distance</property> <property name="use_underline">True</property> <property name="mnemonic_widget">EDT_AXIS_LABEL_DISTANCE</property> </object> @@ -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">Labels</property> + <property name="label" translatable="yes" context="tp_AxisPositions|TXT_FL_LABELS">Labels</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -291,7 +291,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Major:</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_MAJOR">Major:</property> <accessibility> <relation type="label-for" target="CB_TICKS_INNER"/> <relation type="label-for" target="CB_TICKS_OUTER"/> @@ -309,7 +309,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Minor:</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_MINOR">Minor:</property> <accessibility> <relation type="label-for" target="CB_MINOR_INNER"/> <relation type="label-for" target="CB_MINOR_OUTER"/> @@ -324,7 +324,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_TICKS_INNER"> - <property name="label" translatable="yes">_Inner</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_TICKS_INNER">_Inner</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -344,7 +344,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_TICKS_OUTER"> - <property name="label" translatable="yes">_Outer</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_TICKS_OUTER">_Outer</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -364,7 +364,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_MINOR_INNER"> - <property name="label" translatable="yes">I_nner</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_INNER">I_nner</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -384,7 +384,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_MINOR_OUTER"> - <property name="label" translatable="yes">O_uter</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_OUTER">O_uter</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -419,7 +419,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Place _marks</property> + <property name="label" translatable="yes" context="tp_AxisPositions|FT_PLACE_TICKS">Place _marks</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_PLACE_TICKS</property> </object> @@ -436,9 +436,9 @@ <property name="entry_text_column">0</property> <property name="id_column">1</property> <items> - <item translatable="yes">At labels</item> - <item translatable="yes">At axis</item> - <item translatable="yes">At axis and labels</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_TICKS">At labels</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_TICKS">At axis</item> + <item translatable="yes" context="tp_AxisPositions|LB_PLACE_TICKS">At axis and labels</item> </items> </object> <packing> @@ -463,7 +463,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Interval Marks</property> + <property name="label" translatable="yes" context="tp_AxisPositions|TXT_FL_TICKS">Interval Marks</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -495,7 +495,7 @@ <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="CB_MAJOR_GRID"> - <property name="label" translatable="yes">Show major _grid</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_MAJOR_GRID">Show major _grid</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -513,7 +513,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_MINOR_GRID"> - <property name="label" translatable="yes">_Show minor grid</property> + <property name="label" translatable="yes" context="tp_AxisPositions|CB_MINOR_GRID">_Show minor grid</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -530,7 +530,7 @@ </child> <child> <object class="GtkButton" id="PB_MAJOR_GRID"> - <property name="label" translatable="yes">Mo_re...</property> + <property name="label" translatable="yes" context="tp_AxisPositions|PB_MAJOR_GRID">Mo_re...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -545,7 +545,7 @@ </child> <child> <object class="GtkButton" id="PB_MINOR_GRID"> - <property name="label" translatable="yes">Mor_e...</property> + <property name="label" translatable="yes" context="tp_AxisPositions|PB_MINOR_GRID">Mor_e...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -568,7 +568,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Grids</property> + <property name="label" translatable="yes" context="tp_AxisPositions|label2">Grids</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_ChartType.ui b/chart2/uiconfig/ui/tp_ChartType.ui index 242cd629a693..72a50e8f5d08 100644 --- a/chart2/uiconfig/ui/tp_ChartType.ui +++ b/chart2/uiconfig/ui/tp_ChartType.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustment1"> @@ -17,16 +17,16 @@ </columns> <data> <row> - <col id="0" translatable="yes">Bar</col> + <col id="0" translatable="yes" context="tp_ChartType|liststore1">Bar</col> </row> <row> - <col id="0" translatable="yes">Cylinder</col> + <col id="0" translatable="yes" context="tp_ChartType|liststore1">Cylinder</col> </row> <row> - <col id="0" translatable="yes">Cone</col> + <col id="0" translatable="yes" context="tp_ChartType|liststore1">Cone</col> </row> <row> - <col id="0" translatable="yes">Pyramid</col> + <col id="0" translatable="yes" context="tp_ChartType|liststore1">Pyramid</col> </row> </data> </object> @@ -50,7 +50,7 @@ <property name="visible">False</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Choose a Chart Type</property> + <property name="label" translatable="yes" context="tp_ChartType|FT_CAPTION_FOR_WIZARD">Choose a Chart Type</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -99,7 +99,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="3dlook"> - <property name="label" translatable="yes">_3D Look</property> + <property name="label" translatable="yes" context="tp_ChartType|3dlook">_3D Look</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -122,8 +122,8 @@ <property name="visible">False</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Simple</item> - <item translatable="yes">Realistic</item> + <item translatable="yes" context="tp_ChartType|3dscheme">Simple</item> + <item translatable="yes" context="tp_ChartType|3dscheme">Realistic</item> </items> <accessibility> <relation type="labelled-by" target="3dlook"/> @@ -149,7 +149,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Sh_ape</property> + <property name="label" translatable="yes" context="tp_ChartType|shapeft">Sh_ape</property> <property name="use_underline">True</property> <property name="mnemonic_widget">shape:border</property> <property name="angle">0.02</property> @@ -192,7 +192,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="stack"> - <property name="label" translatable="yes">_Stack series</property> + <property name="label" translatable="yes" context="tp_ChartType|stack">_Stack series</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -219,7 +219,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="ontop"> - <property name="label" translatable="yes">On top</property> + <property name="label" translatable="yes" context="tp_ChartType|ontop">On top</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -238,7 +238,7 @@ </child> <child> <object class="GtkRadioButton" id="percent"> - <property name="label" translatable="yes">Percent</property> + <property name="label" translatable="yes" context="tp_ChartType|percent">Percent</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -256,7 +256,7 @@ </child> <child> <object class="GtkRadioButton" id="deep"> - <property name="label" translatable="yes">Deep</property> + <property name="label" translatable="yes" context="tp_ChartType|deep">Deep</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -292,7 +292,7 @@ <property name="visible">False</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Line type</property> + <property name="label" translatable="yes" context="tp_ChartType|linetypeft">_Line type</property> <property name="use_underline">True</property> <property name="mnemonic_widget">linetype</property> <property name="ellipsize">end</property> @@ -309,9 +309,9 @@ <property name="visible">False</property> <property name="can_focus">False</property> <items> - <item translatable="yes">Straight</item> - <item translatable="yes">Smooth</item> - <item translatable="yes">Stepped</item> + <item translatable="yes" context="tp_ChartType|linetype">Straight</item> + <item translatable="yes" context="tp_ChartType|linetype">Smooth</item> + <item translatable="yes" context="tp_ChartType|linetype">Stepped</item> </items> </object> <packing> @@ -323,7 +323,7 @@ </child> <child> <object class="GtkButton" id="properties"> - <property name="label" translatable="yes">Properties...</property> + <property name="label" translatable="yes" context="tp_ChartType|properties">Properties...</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -346,7 +346,7 @@ </child> <child> <object class="GtkCheckButton" id="sort"> - <property name="label" translatable="yes">_Sort by X values</property> + <property name="label" translatable="yes" context="tp_ChartType|sort">_Sort by X values</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -371,7 +371,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Number of lines</property> + <property name="label" translatable="yes" context="tp_ChartType|nolinesft">_Number of lines</property> <property name="use_underline">True</property> <property name="mnemonic_widget">nolines</property> <property name="ellipsize">end</property> @@ -418,7 +418,7 @@ <property name="can_focus">False</property> <child> <object class="GtkCheckButton" id="rounded-edge"> - <property name="label" translatable="yes">Rounded edge</property> + <property name="label" translatable="yes" context="tp_ChartType|rounded-edge">Rounded edge</property> <property name="visible">False</property> <property name="can_focus">True</property> <property name="no_show_all">True</property> diff --git a/chart2/uiconfig/ui/tp_DataLabel.ui b/chart2/uiconfig/ui/tp_DataLabel.ui index 476a2ec3d809..76597cd9acca 100644 --- a/chart2/uiconfig/ui/tp_DataLabel.ui +++ b/chart2/uiconfig/ui/tp_DataLabel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustmentDEGREE"> @@ -17,55 +17,55 @@ </columns> <data> <row> - <col id="0" translatable="yes">Best fit</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Best fit</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Center</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Center</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Above</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Above</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">Top left</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Top left</col> <col id="1">3</col> </row> <row> - <col id="0" translatable="yes">Left</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Left</col> <col id="1">4</col> </row> <row> - <col id="0" translatable="yes">Bottom left</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Bottom left</col> <col id="1">5</col> </row> <row> - <col id="0" translatable="yes">Below</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Below</col> <col id="1">6</col> </row> <row> - <col id="0" translatable="yes">Bottom right</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Bottom right</col> <col id="1">7</col> </row> <row> - <col id="0" translatable="yes">Right</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Right</col> <col id="1">8</col> </row> <row> - <col id="0" translatable="yes">Top right</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Top right</col> <col id="1">9</col> </row> <row> - <col id="0" translatable="yes">Inside</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Inside</col> <col id="1">10</col> </row> <row> - <col id="0" translatable="yes">Outside</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Outside</col> <col id="1">11</col> </row> <row> - <col id="0" translatable="yes">Near origin</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststorePLACEMENT">Near origin</col> <col id="1">12</col> </row> </data> @@ -79,19 +79,19 @@ </columns> <data> <row> - <col id="0" translatable="yes">Space</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Space</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Comma</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Comma</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Semicolon</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">Semicolon</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">New line</col> + <col id="0" translatable="yes" context="tp_DataLabel|liststoreSEPARATOR">New line</col> <col id="1">3</col> </row> </data> @@ -123,7 +123,7 @@ <property name="row_homogeneous">True</property> <child> <object class="GtkCheckButton" id="CB_VALUE_AS_NUMBER"> - <property name="label" translatable="yes">Show value as _number</property> + <property name="label" translatable="yes" context="tp_DataLabel|CB_VALUE_AS_NUMBER">Show value as _number</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -140,7 +140,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_VALUE_AS_PERCENTAGE"> - <property name="label" translatable="yes">Show value as _percentage</property> + <property name="label" translatable="yes" context="tp_DataLabel|CB_VALUE_AS_PERCENTAGE">Show value as _percentage</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -157,7 +157,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_CATEGORY"> - <property name="label" translatable="yes">Show _category</property> + <property name="label" translatable="yes" context="tp_DataLabel|CB_CATEGORY">Show _category</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -174,7 +174,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_SYMBOL"> - <property name="label" translatable="yes">Show _legend key</property> + <property name="label" translatable="yes" context="tp_DataLabel|CB_SYMBOL">Show _legend key</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -191,7 +191,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_WRAP_TEXT"> - <property name="label" translatable="yes">Auto text _wrap</property> + <property name="label" translatable="yes" context="tp_DataLabel|CB_WRAP_TEXT">Auto text _wrap</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -208,7 +208,7 @@ </child> <child> <object class="GtkButton" id="PB_NUMBERFORMAT"> - <property name="label" translatable="yes">Number _format...</property> + <property name="label" translatable="yes" context="tp_DataLabel|PB_NUMBERFORMAT">Number _format...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -224,7 +224,7 @@ </child> <child> <object class="GtkButton" id="PB_PERCENT_NUMBERFORMAT"> - <property name="label" translatable="yes">Percentage f_ormat...</property> + <property name="label" translatable="yes" context="tp_DataLabel|PB_PERCENT_NUMBERFORMAT">Percentage f_ormat...</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> @@ -242,7 +242,7 @@ <object class="GtkLabel" id="CT_LABEL_DIAL"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label" translatable="yes">ABCD</property> + <property name="label" translatable="yes" context="tp_DataLabel|CT_LABEL_DIAL">ABCD</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -264,7 +264,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Separator</property> + <property name="label" translatable="yes" context="tp_DataLabel|FT_TEXT_SEPARATOR">_Separator</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_TEXT_SEPARATOR</property> </object> @@ -305,7 +305,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Place_ment</property> + <property name="label" translatable="yes" context="tp_DataLabel|FT_LABEL_PLACEMENT">Place_ment</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_LABEL_PLACEMENT</property> </object> @@ -339,7 +339,7 @@ <child> <object class="GtkLabel" id="STR_DLG_NUMBERFORMAT_FOR_PERCENTAGE_VALUE"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Number Format for Percentage Value</property> + <property name="label" translatable="yes" context="tp_DataLabel|STR_DLG_NUMBERFORMAT_FOR_PERCENTAGE_VALUE">Number Format for Percentage Value</property> </object> <packing> <property name="left_attach">1</property> @@ -357,7 +357,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Text Attributes</property> + <property name="label" translatable="yes" context="tp_DataLabel|label1">Text Attributes</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -423,7 +423,7 @@ <object class="GtkLabel" id="FT_LABEL_DEGREES"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Degrees</property> + <property name="label" translatable="yes" context="tp_DataLabel|FT_LABEL_DEGREES">_Degrees</property> <property name="use_underline">True</property> </object> <packing> @@ -448,7 +448,7 @@ <object class="GtkLabel" id="FT_LABEL_TEXTDIR"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Te_xt direction</property> + <property name="label" translatable="yes" context="tp_DataLabel|FT_LABEL_TEXTDIR">Te_xt direction</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_LABEL_TEXTDIR</property> </object> @@ -485,7 +485,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Rotate Text</property> + <property name="label" translatable="yes" context="tp_DataLabel|label2">Rotate Text</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_DataSource.ui b/chart2/uiconfig/ui/tp_DataSource.ui index 55918aaab42c..71b9bbc39cce 100644 --- a/chart2/uiconfig/ui/tp_DataSource.ui +++ b/chart2/uiconfig/ui/tp_DataSource.ui @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkImage" id="imageIMB_RANGE_CAT"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_DataSource|imageIMB_RANGE_CAT|tooltip_text">Select data range</property> <property name="pixbuf">chart2/res/selectrange.png</property> </object> <object class="GtkImage" id="imageIMB_RANGE_MAIN"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_DataSource|imageIMB_RANGE_MAIN|tooltip_text">Select data range</property> <property name="pixbuf">chart2/res/selectrange.png</property> </object> <object class="GtkBox" id="tp_DataSource"> @@ -25,7 +25,7 @@ <object class="GtkLabel" id="FT_CAPTION_FOR_WIZARD"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Customize Data Ranges for Individual Data Series</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_CAPTION_FOR_WIZARD">Customize Data Ranges for Individual Data Series</property> <property name="xalign">0</property> <attributes> <attribute name="weight" value="bold"/> @@ -55,7 +55,7 @@ <object class="GtkLabel" id="FT_SERIES"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Data _series:</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_SERIES">Data _series:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_SERIES:border</property> <property name="xalign">0</property> @@ -92,7 +92,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkButton" id="BTN_ADD"> - <property name="label" translatable="yes">_Add</property> + <property name="label" translatable="yes" context="tp_DataSource|BTN_ADD">_Add</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -113,7 +113,7 @@ <property name="always_show_image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="BTN_UP-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Up</property> + <property name="AtkObject::accessible-name" translatable="yes" context="tp_DataSource|BTN_UP-atkobject">Up</property> </object> </child> </object> @@ -124,7 +124,7 @@ </child> <child> <object class="GtkButton" id="BTN_REMOVE"> - <property name="label" translatable="yes">_Remove</property> + <property name="label" translatable="yes" context="tp_DataSource|BTN_REMOVE">_Remove</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -145,7 +145,7 @@ <property name="receives_default">True</property> <child internal-child="accessible"> <object class="AtkObject" id="BTN_DOWN-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes">Down</property> + <property name="AtkObject::accessible-name" translatable="yes" context="tp_DataSource|BTN_DOWN-atkobject">Down</property> </object> </child> </object> @@ -180,7 +180,7 @@ <object class="GtkLabel" id="FT_ROLE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Data ranges:</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_ROLE">_Data ranges:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_ROLE:border</property> <property name="xalign">0</property> @@ -211,7 +211,7 @@ <object class="GtkLabel" id="FT_RANGE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Ran_ge for %VALUETYPE</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_RANGE">Ran_ge for %VALUETYPE</property> <property name="use_underline">True</property> <property name="mnemonic_widget">EDT_RANGE</property> <property name="xalign">0</property> @@ -269,7 +269,7 @@ <object class="GtkLabel" id="FT_CATEGORIES"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Categories</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_CATEGORIES">_Categories</property> <property name="use_underline">True</property> <property name="mnemonic_widget">EDT_CATEGORIES</property> <property name="xalign">0</property> @@ -284,7 +284,7 @@ <object class="GtkLabel" id="FT_DATALABELS"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Data _labels</property> + <property name="label" translatable="yes" context="tp_DataSource|FT_DATALABELS">Data _labels</property> <property name="use_underline">True</property> <property name="xalign">0</property> </object> diff --git a/chart2/uiconfig/ui/tp_ErrorBars.ui b/chart2/uiconfig/ui/tp_ErrorBars.ui index 9e1d058056ae..075c3719e70b 100644 --- a/chart2/uiconfig/ui/tp_ErrorBars.ui +++ b/chart2/uiconfig/ui/tp_ErrorBars.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAdjustment" id="adjustmentPOS_NEG"> <property name="upper">100</property> @@ -25,19 +25,19 @@ </columns> <data> <row> - <col id="0" translatable="yes">Standard Error</col> + <col id="0" translatable="yes" context="tp_ErrorBars|liststoreFUNCTION">Standard Error</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Standard Deviation</col> + <col id="0" translatable="yes" context="tp_ErrorBars|liststoreFUNCTION">Standard Deviation</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Variance</col> + <col id="0" translatable="yes" context="tp_ErrorBars|liststoreFUNCTION">Variance</col> <col id="1">2</col> </row> <row> - <col id="0" translatable="yes">Error Margin</col> + <col id="0" translatable="yes" context="tp_ErrorBars|liststoreFUNCTION">Error Margin</col> <col id="1">3</col> </row> </data> @@ -74,7 +74,7 @@ <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="RB_NONE"> - <property name="label" translatable="yes">_None</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_NONE">_None</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -92,7 +92,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_CONST"> - <property name="label" translatable="yes">_Constant Value</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_CONST">_Constant Value</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -110,7 +110,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_PERCENT"> - <property name="label" translatable="yes">_Percentage</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_PERCENT">_Percentage</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -168,7 +168,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_RANGE"> - <property name="label" translatable="yes">Cell _Range</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_RANGE">Cell _Range</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -192,7 +192,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Error Category</property> + <property name="label" translatable="yes" context="tp_ErrorBars|label1">Error Category</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -225,7 +225,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkRadioButton" id="RB_BOTH"> - <property name="label" translatable="yes">Positive _and Negative</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_BOTH">Positive _and Negative</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -244,7 +244,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_POSITIVE"> - <property name="label" translatable="yes">Pos_itive</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_POSITIVE">Pos_itive</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -263,7 +263,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_NEGATIVE"> - <property name="label" translatable="yes">Ne_gative</property> + <property name="label" translatable="yes" context="tp_ErrorBars|RB_NEGATIVE">Ne_gative</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -328,7 +328,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Error Indicator</property> + <property name="label" translatable="yes" context="tp_ErrorBars|label2">Error Indicator</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -375,7 +375,7 @@ <object class="GtkLabel" id="FT_POSITIVE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">P_ositive (+)</property> + <property name="label" translatable="yes" context="tp_ErrorBars|FT_POSITIVE">P_ositive (+)</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MF_POSITIVE:0</property> </object> @@ -416,7 +416,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_ErrorBars|IB_RANGE_POSITIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_POSITIVE</property> </object> <packing> @@ -441,7 +441,7 @@ <object class="GtkLabel" id="FT_NEGATIVE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Negative (-)</property> + <property name="label" translatable="yes" context="tp_ErrorBars|FT_NEGATIVE">_Negative (-)</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MF_NEGATIVE:0</property> </object> @@ -482,7 +482,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_ErrorBars|IB_RANGE_NEGATIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_NEG</property> </object> <packing> @@ -500,7 +500,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_SYN_POS_NEG"> - <property name="label" translatable="yes">Same value for both</property> + <property name="label" translatable="yes" context="tp_ErrorBars|CB_SYN_POS_NEG">Same value for both</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -522,7 +522,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Parameters</property> + <property name="label" translatable="yes" context="tp_ErrorBars|label3">Parameters</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -538,7 +538,7 @@ <child> <object class="GtkLabel" id="STR_DATA_SELECT_RANGE_FOR_POSITIVE_ERRORBARS"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Select Range for Positive Error Bars</property> + <property name="label" translatable="yes" context="tp_ErrorBars|STR_DATA_SELECT_RANGE_FOR_POSITIVE_ERRORBARS">Select Range for Positive Error Bars</property> </object> <packing> <property name="expand">False</property> @@ -549,7 +549,7 @@ <child> <object class="GtkLabel" id="STR_DATA_SELECT_RANGE_FOR_NEGATIVE_ERRORBARS"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Select Range for Negative Error Bars</property> + <property name="label" translatable="yes" context="tp_ErrorBars|STR_DATA_SELECT_RANGE_FOR_NEGATIVE_ERRORBARS">Select Range for Negative Error Bars</property> </object> <packing> <property name="expand">False</property> @@ -560,7 +560,7 @@ <child> <object class="GtkLabel" id="STR_CONTROLTEXT_ERROR_BARS_FROM_DATA"> <property name="can_focus">False</property> - <property name="label" translatable="yes">From Data Table</property> + <property name="label" translatable="yes" context="tp_ErrorBars|STR_CONTROLTEXT_ERROR_BARS_FROM_DATA">From Data Table</property> </object> <packing> <property name="expand">False</property> diff --git a/chart2/uiconfig/ui/tp_LegendPosition.ui b/chart2/uiconfig/ui/tp_LegendPosition.ui index 8d4d72ef3136..18db310c701d 100644 --- a/chart2/uiconfig/ui/tp_LegendPosition.ui +++ b/chart2/uiconfig/ui/tp_LegendPosition.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkBox" id="tp_LegendPosition"> @@ -27,7 +27,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="left"> - <property name="label" translatable="yes">_Left</property> + <property name="label" translatable="yes" context="tp_LegendPosition|left">_Left</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -46,7 +46,7 @@ </child> <child> <object class="GtkRadioButton" id="right"> - <property name="label" translatable="yes">_Right</property> + <property name="label" translatable="yes" context="tp_LegendPosition|right">_Right</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -64,7 +64,7 @@ </child> <child> <object class="GtkRadioButton" id="top"> - <property name="label" translatable="yes">_Top</property> + <property name="label" translatable="yes" context="tp_LegendPosition|top">_Top</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -82,7 +82,7 @@ </child> <child> <object class="GtkRadioButton" id="bottom"> - <property name="label" translatable="yes">_Bottom</property> + <property name="label" translatable="yes" context="tp_LegendPosition|bottom">_Bottom</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -107,7 +107,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Position</property> + <property name="label" translatable="yes" context="tp_LegendPosition|TXT_POSITION">Position</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -142,7 +142,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Te_xt direction</property> + <property name="label" translatable="yes" context="tp_LegendPosition|FT_LEGEND_TEXTDIR">Te_xt direction</property> <property name="use_underline">True</property> </object> <packing> @@ -171,7 +171,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Text Orientation</property> + <property name="label" translatable="yes" context="tp_LegendPosition|TXT_ORIENTATION">Text Orientation</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_PolarOptions.ui b/chart2/uiconfig/ui/tp_PolarOptions.ui index 6f5d8d85ebc9..eb41d2723bf8 100644 --- a/chart2/uiconfig/ui/tp_PolarOptions.ui +++ b/chart2/uiconfig/ui/tp_PolarOptions.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustmentDEGREE"> @@ -28,7 +28,7 @@ <property name="left_padding">12</property> <child> <object class="GtkCheckButton" id="CB_CLOCKWISE"> - <property name="label" translatable="yes">_Clockwise direction</property> + <property name="label" translatable="yes" context="tp_PolarOptions|CB_CLOCKWISE">_Clockwise direction</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -44,7 +44,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Orientation</property> + <property name="label" translatable="yes" context="tp_PolarOptions|label1">Orientation</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -105,7 +105,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Degrees</property> + <property name="label" translatable="yes" context="tp_PolarOptions|FT_ROTATION_DEGREES">_Degrees</property> <property name="use_underline">True</property> <property name="mnemonic_widget">NF_STARTING_ANGLE</property> </object> @@ -124,7 +124,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Starting Angle</property> + <property name="label" translatable="yes" context="tp_PolarOptions|label2">Starting Angle</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -151,7 +151,7 @@ <property name="left_padding">12</property> <child> <object class="GtkCheckButton" id="CB_INCLUDE_HIDDEN_CELLS_POLAR"> - <property name="label" translatable="yes">Include _values from hidden cells</property> + <property name="label" translatable="yes" context="tp_PolarOptions|CB_INCLUDE_HIDDEN_CELLS_POLAR">Include _values from hidden cells</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -167,7 +167,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Plot Options</property> + <property name="label" translatable="yes" context="tp_PolarOptions|label3">Plot Options</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_RangeChooser.ui b/chart2/uiconfig/ui/tp_RangeChooser.ui index ac472b67a8a5..9b2ff0bad36e 100644 --- a/chart2/uiconfig/ui/tp_RangeChooser.ui +++ b/chart2/uiconfig/ui/tp_RangeChooser.ui @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <object class="GtkImage" id="imageIB_RANGE"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_RangeChooser|imageIB_RANGE|tooltip_text">Select data range</property> <property name="pixbuf">chart2/res/selectrange.png</property> </object> <object class="GtkBox" id="tp_RangeChooser"> @@ -25,7 +25,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Choose a Data Range</property> + <property name="label" translatable="yes" context="tp_RangeChooser|FT_CAPTION_FOR_WIZARD">Choose a Data Range</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -47,7 +47,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Data range:</property> + <property name="label" translatable="yes" context="tp_RangeChooser|FT_RANGE">_Data range:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ED_RANGE</property> </object> @@ -76,7 +76,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes">Select data range</property> + <property name="tooltip_text" translatable="yes" context="tp_RangeChooser|IB_RANGE|tooltip_text">Select data range</property> <property name="image">imageIB_RANGE</property> </object> <packing> @@ -94,7 +94,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_DATAROWS"> - <property name="label" translatable="yes">Data series in _rows</property> + <property name="label" translatable="yes" context="tp_RangeChooser|RB_DATAROWS">Data series in _rows</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -113,7 +113,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_DATACOLS"> - <property name="label" translatable="yes">Data series in _columns</property> + <property name="label" translatable="yes" context="tp_RangeChooser|RB_DATACOLS">Data series in _columns</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -132,7 +132,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_FIRST_ROW_ASLABELS"> - <property name="label" translatable="yes">_First row as label</property> + <property name="label" translatable="yes" context="tp_RangeChooser|CB_FIRST_ROW_ASLABELS">_First row as label</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -149,7 +149,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_FIRST_COLUMN_ASLABELS"> - <property name="label" translatable="yes">F_irst column as label</property> + <property name="label" translatable="yes" context="tp_RangeChooser|CB_FIRST_COLUMN_ASLABELS">F_irst column as label</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">False</property> @@ -177,7 +177,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_TIME_BASED"> - <property name="label" translatable="yes">Time based charting</property> + <property name="label" translatable="yes" context="tp_RangeChooser|CB_TIME_BASED">Time based charting</property> <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> @@ -232,7 +232,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xpad">4</property> - <property name="label" translatable="yes">Start Table Index</property> + <property name="label" translatable="yes" context="tp_RangeChooser|label1">Start Table Index</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ED_TIME_BASED_START</property> </object> @@ -248,7 +248,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xpad">8</property> - <property name="label" translatable="yes">End Table Index</property> + <property name="label" translatable="yes" context="tp_RangeChooser|label2">End Table Index</property> <property name="use_underline">True</property> <property name="mnemonic_widget">ED_TIME_BASED_END</property> </object> @@ -269,7 +269,7 @@ <child> <object class="GtkLabel" id="STR_PAGE_DATA_RANGE"> <property name="can_focus">False</property> - <property name="label" translatable="yes">Data Range</property> + <property name="label" translatable="yes" context="tp_RangeChooser|STR_PAGE_DATA_RANGE">Data Range</property> </object> <packing> <property name="expand">False</property> diff --git a/chart2/uiconfig/ui/tp_Scale.ui b/chart2/uiconfig/ui/tp_Scale.ui index 286b6df8b876..8e763accb74d 100644 --- a/chart2/uiconfig/ui/tp_Scale.ui +++ b/chart2/uiconfig/ui/tp_Scale.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustmentINTERVAL"> @@ -17,15 +17,15 @@ </columns> <data> <row> - <col id="0" translatable="yes">Days</col> + <col id="0" translatable="yes" context="tp_Scale|liststoreDATE">Days</col> <col id="1">0</col> </row> <row> - <col id="0" translatable="yes">Months</col> + <col id="0" translatable="yes" context="tp_Scale|liststoreDATE">Months</col> <col id="1">1</col> </row> <row> - <col id="0" translatable="yes">Years</col> + <col id="0" translatable="yes" context="tp_Scale|liststoreDATE">Years</col> <col id="1">2</col> </row> </data> @@ -56,7 +56,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="CBX_REVERSE"> - <property name="label" translatable="yes">_Reverse direction</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_REVERSE">_Reverse direction</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -72,7 +72,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_LOGARITHM"> - <property name="label" translatable="yes">_Logarithmic scale</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_LOGARITHM">_Logarithmic scale</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -96,7 +96,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">T_ype</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_AXIS_TYPE">T_ype</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_AXIS_TYPE</property> </object> @@ -113,9 +113,9 @@ <property name="entry_text_column">0</property> <property name="id_column">1</property> <items> - <item translatable="yes">Automatic</item> - <item translatable="yes">Text</item> - <item translatable="yes">Date</item> + <item translatable="yes" context="tp_Scale|LB_AXIS_TYPE">Automatic</item> + <item translatable="yes" context="tp_Scale|LB_AXIS_TYPE">Text</item> + <item translatable="yes" context="tp_Scale|LB_AXIS_TYPE">Date</item> </items> </object> <packing> @@ -149,7 +149,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Minimum</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_MIN">_Minimum</property> <property name="use_underline">True</property> <property name="mnemonic_widget">EDT_MIN</property> </object> @@ -165,7 +165,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Ma_ximum</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_MAX">Ma_ximum</property> <property name="use_underline">True</property> <property name="mnemonic_widget">EDT_MAX</property> </object> @@ -178,7 +178,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_MIN"> - <property name="label" translatable="yes">_Automatic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_MIN">_Automatic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -195,7 +195,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_MAX"> - <property name="label" translatable="yes">A_utomatic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_MAX">A_utomatic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -253,7 +253,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">R_esolution</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_TIME_RESOLUTION">R_esolution</property> <property name="use_underline">True</property> <property name="mnemonic_widget">LB_TIME_RESOLUTION</property> </object> @@ -277,7 +277,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_TIME_RESOLUTION"> - <property name="label" translatable="yes">Automat_ic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_TIME_RESOLUTION">Automat_ic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -308,7 +308,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Ma_jor interval</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_STEP_MAIN">Ma_jor interval</property> <property name="use_underline">True</property> </object> <packing> @@ -380,7 +380,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_STEP_MAIN"> - <property name="label" translatable="yes">Au_tomatic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_STEP_MAIN">Au_tomatic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -416,7 +416,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Minor inter_val</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_STEP_HELP">Minor inter_val</property> <property name="use_underline">True</property> </object> <packing> @@ -430,7 +430,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Minor inter_val count</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_STEP_HELP_COUNT">Minor inter_val count</property> <property name="use_underline">True</property> </object> <packing> @@ -474,7 +474,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_STEP_HELP"> - <property name="label" translatable="yes">Aut_omatic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_STEP_HELP">Aut_omatic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -505,7 +505,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Re_ference value</property> + <property name="label" translatable="yes" context="tp_Scale|TXT_ORIGIN">Re_ference value</property> <property name="use_underline">True</property> </object> <packing> @@ -528,7 +528,7 @@ </child> <child> <object class="GtkCheckButton" id="CBX_AUTO_ORIGIN"> - <property name="label" translatable="yes">Automat_ic</property> + <property name="label" translatable="yes" context="tp_Scale|CBX_AUTO_ORIGIN">Automat_ic</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -558,7 +558,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Scale</property> + <property name="label" translatable="yes" context="tp_Scale|FL_SCALE">Scale</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_SeriesToAxis.ui b/chart2/uiconfig/ui/tp_SeriesToAxis.ui index 4f9738840b74..f922a1a7367f 100644 --- a/chart2/uiconfig/ui/tp_SeriesToAxis.ui +++ b/chart2/uiconfig/ui/tp_SeriesToAxis.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAdjustment" id="adjustmentGAP"> <property name="upper">600</property> @@ -38,7 +38,7 @@ <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="RBT_OPT_AXIS_1"> - <property name="label" translatable="yes">Primary Y axis</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|RBT_OPT_AXIS_1">Primary Y axis</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -55,7 +55,7 @@ </child> <child> <object class="GtkRadioButton" id="RBT_OPT_AXIS_2"> - <property name="label" translatable="yes">Secondary Y axis</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|RBT_OPT_AXIS_2">Secondary Y axis</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -79,7 +79,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Align Data Series to</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|label1">Align Data Series to</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -120,7 +120,7 @@ <object class="GtkLabel" id="FT_GAP"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Spacing</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|FT_GAP">_Spacing</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MT_GAP:0%</property> </object> @@ -135,7 +135,7 @@ <object class="GtkLabel" id="FT_OVERLAP"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">_Overlap</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|FT_OVERLAP">_Overlap</property> <property name="use_underline">True</property> <property name="mnemonic_widget">MT_OVERLAP:0%</property> </object> @@ -183,7 +183,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_BARS_SIDE_BY_SIDE"> - <property name="label" translatable="yes">Show _bars side by side</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|CB_BARS_SIDE_BY_SIDE">Show _bars side by side</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -199,7 +199,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_CONNECTOR"> - <property name="label" translatable="yes">Connection lines</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|CB_CONNECTOR">Connection lines</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -221,7 +221,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Settings</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|label2">Settings</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -263,7 +263,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Plot missing values</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|FT_MISSING_VALUES">Plot missing values</property> </object> <packing> <property name="left_attach">0</property> @@ -274,7 +274,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_DONT_PAINT"> - <property name="label" translatable="yes">_Leave gap</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|RB_DONT_PAINT">_Leave gap</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -293,7 +293,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_ASSUME_ZERO"> - <property name="label" translatable="yes">_Assume zero</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|RB_ASSUME_ZERO">_Assume zero</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -312,7 +312,7 @@ </child> <child> <object class="GtkRadioButton" id="RB_CONTINUE_LINE"> - <property name="label" translatable="yes">_Continue line</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|RB_CONTINUE_LINE">_Continue line</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -344,7 +344,7 @@ </child> <child> <object class="GtkCheckButton" id="CB_INCLUDE_HIDDEN_CELLS"> - <property name="label" translatable="yes">Include _values from hidden cells</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|CB_INCLUDE_HIDDEN_CELLS">Include _values from hidden cells</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="receives_default">False</property> @@ -367,7 +367,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Plot Options</property> + <property name="label" translatable="yes" context="tp_SeriesToAxis|label3">Plot Options</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_Trendline.ui b/chart2/uiconfig/ui/tp_Trendline.ui index fb1904b05c9c..5411a470e35e 100644 --- a/chart2/uiconfig/ui/tp_Trendline.ui +++ b/chart2/uiconfig/ui/tp_Trendline.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAdjustment" id="adjustmentDegree"> <property name="lower">2</property> @@ -49,7 +49,7 @@ <property name="row_homogeneous">True</property> <child> <object class="GtkRadioButton" id="linear"> - <property name="label" translatable="yes">_Linear</property> + <property name="label" translatable="yes" context="tp_Trendline|linear">_Linear</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -68,7 +68,7 @@ </child> <child> <object class="GtkRadioButton" id="logarithmic"> - <property name="label" translatable="yes">L_ogarithmic</property> + <property name="label" translatable="yes" context="tp_Trendline|logarithmic">L_ogarithmic</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -87,7 +87,7 @@ </child> <child> <object class="GtkRadioButton" id="exponential"> - <property name="label" translatable="yes">_Exponential</property> + <property name="label" translatable="yes" context="tp_Trendline|exponential">_Exponential</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -106,7 +106,7 @@ </child> <child> <object class="GtkRadioButton" id="power"> - <property name="label" translatable="yes">Po_wer</property> + <property name="label" translatable="yes" context="tp_Trendline|power">Po_wer</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -125,7 +125,7 @@ </child> <child> <object class="GtkRadioButton" id="polynomial"> - <property name="label" translatable="yes">_Polynomial</property> + <property name="label" translatable="yes" context="tp_Trendline|polynomial">_Polynomial</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -144,7 +144,7 @@ </child> <child> <object class="GtkRadioButton" id="movingAverage"> - <property name="label" translatable="yes">_Moving Average</property> + <property name="label" translatable="yes" context="tp_Trendline|movingAverage">_Moving Average</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -170,7 +170,7 @@ <object class="GtkLabel" id="label3"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Degree</property> + <property name="label" translatable="yes" context="tp_Trendline|label3">Degree</property> </object> <packing> <property name="left_attach">0</property> @@ -210,7 +210,7 @@ <object class="GtkLabel" id="label4"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Period</property> + <property name="label" translatable="yes" context="tp_Trendline|label4">Period</property> </object> <packing> <property name="left_attach">0</property> @@ -333,7 +333,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Regression Type</property> + <property name="label" translatable="yes" context="tp_Trendline|label1">Regression Type</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -370,7 +370,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Extrapolate Forward</property> + <property name="label" translatable="yes" context="tp_Trendline|label7">Extrapolate Forward</property> <property name="use_underline">True</property> <property name="mnemonic_widget">extrapolateForward</property> </object> @@ -386,7 +386,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Extrapolate Backward</property> + <property name="label" translatable="yes" context="tp_Trendline|label8">Extrapolate Backward</property> <property name="use_underline">True</property> <property name="mnemonic_widget">extrapolateBackward</property> </object> @@ -427,7 +427,7 @@ </child> <child> <object class="GtkCheckButton" id="setIntercept"> - <property name="label" translatable="yes">Force _Intercept</property> + <property name="label" translatable="yes" context="tp_Trendline|setIntercept">Force _Intercept</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -444,7 +444,7 @@ </child> <child> <object class="GtkCheckButton" id="showEquation"> - <property name="label" translatable="yes">Show E_quation</property> + <property name="label" translatable="yes" context="tp_Trendline|showEquation">Show E_quation</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -461,7 +461,7 @@ </child> <child> <object class="GtkCheckButton" id="showCorrelationCoefficient"> - <property name="label" translatable="yes">Show _Coefficient of Determination (R²)</property> + <property name="label" translatable="yes" context="tp_Trendline|showCorrelationCoefficient">Show _Coefficient of Determination (R²)</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -481,7 +481,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Trendline _Name</property> + <property name="label" translatable="yes" context="tp_Trendline|label5">Trendline _Name</property> <property name="use_underline">True</property> <property name="mnemonic_widget">entry_name</property> </object> @@ -526,7 +526,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_X Variable Name</property> + <property name="label" translatable="yes" context="tp_Trendline|label6">_X Variable Name</property> <property name="use_underline">True</property> <property name="mnemonic_widget">entry_Xname</property> </object> @@ -555,7 +555,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Y Variable Name</property> + <property name="label" translatable="yes" context="tp_Trendline|label9">_Y Variable Name</property> <property name="use_underline">True</property> <property name="mnemonic_widget">entry_Yname</property> </object> @@ -587,7 +587,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Options</property> + <property name="label" translatable="yes" context="tp_Trendline|label2">Options</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/tp_axisLabel.ui b/chart2/uiconfig/ui/tp_axisLabel.ui index 74d6fa5f315c..e13fff3faa16 100644 --- a/chart2/uiconfig/ui/tp_axisLabel.ui +++ b/chart2/uiconfig/ui/tp_axisLabel.ui @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.16.1 --> -<interface> +<interface domain="chart"> <requires lib="gtk+" version="3.0"/> <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustmentSpinDegrees"> @@ -17,7 +17,7 @@ <property name="spacing">12</property> <child> <object class="GtkCheckButton" id="showlabelsCB"> - <property name="label" translatable="yes">Sho_w labels</property> + <property name="label" translatable="yes" context="tp_axisLabel|showlabelsCB">Sho_w labels</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -60,7 +60,7 @@ <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="tile"> - <property name="label" translatable="yes">_Tile</property> + <property name="label" translatable="yes" context="tp_axisLabel|tile">_Tile</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -78,7 +78,7 @@ </child> <child> <object class="GtkRadioButton" id="odd"> - <property name="label" translatable="yes">St_agger odd</property> + <property name="label" translatable="yes" context="tp_axisLabel|odd">St_agger odd</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -95,7 +95,7 @@ </child> <child> <object class="GtkRadioButton" id="even"> - <property name="label" translatable="yes">Stagger _even</property> + <property name="label" translatable="yes" context="tp_axisLabel|even">Stagger _even</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -112,7 +112,7 @@ </child> <child> <object class="GtkRadioButton" id="auto"> - <property name="label" translatable="yes">A_utomatic</property> + <property name="label" translatable="yes" context="tp_axisLabel|auto">A_utomatic</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -135,7 +135,7 @@ <object class="GtkLabel" id="orderL"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Order</property> + <property name="label" translatable="yes" context="tp_axisLabel|orderL">Order</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -170,7 +170,7 @@ <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="overlapCB"> - <property name="label" translatable="yes">O_verlap</property> + <property name="label" translatable="yes" context="tp_axisLabel|overlapCB">O_verlap</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -186,7 +186,7 @@ </child> <child> <object class="GtkCheckButton" id="breakCB"> - <property name="label" translatable="yes">_Break</property> + <property name="label" translatable="yes" context="tp_axisLabel|breakCB">_Break</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -208,7 +208,7 @@ <object class="GtkLabel" id="textflowL"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text Flow</property> + <property name="label" translatable="yes" context="tp_axisLabel|textflowL">Text Flow</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -277,7 +277,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_top">40</property> - <property name="label" translatable="yes">_Degrees</property> + <property name="label" translatable="yes" context="tp_axisLabel|degreeL">_Degrees</property> <property name="use_underline">True</property> </object> <packing> @@ -330,7 +330,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="stackedCB"> - <property name="label" translatable="yes">Ve_rtically stacked</property> + <property name="label" translatable="yes" context="tp_axisLabel|stackedCB">Ve_rtically stacked</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -349,7 +349,7 @@ <child> <object class="GtkLabel" id="labelABCD"> <property name="can_focus">False</property> - <property name="label" translatable="yes">ABCD</property> + <property name="label" translatable="yes" context="tp_axisLabel|labelABCD">ABCD</property> </object> <packing> <property name="left_attach">0</property> @@ -370,7 +370,7 @@ <object class="GtkLabel" id="textdirL"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Te_xt direction:</property> + <property name="label" translatable="yes" context="tp_axisLabel|textdirL">Te_xt direction:</property> <property name="use_underline">True</property> </object> <packing> @@ -400,7 +400,7 @@ <object class="GtkLabel" id="labelTextOrient"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Text Orientation</property> + <property name="label" translatable="yes" context="tp_axisLabel|labelTextOrient">Text Orientation</property> <attributes> <attribute name="weight" value="bold"/> </attributes> diff --git a/chart2/uiconfig/ui/wizelementspage.ui b/chart2/uiconfig/ui/wizelementspage.ui index 05450cbf439d..9fb6651f87f0 100644 --- a/chart2/uiconfig/ui/wizelementspage.ui +++ b/chart2/uiconfig/ui/wizelementspage.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<interface> +<interface domain="chart"> <!-- interface-requires gtk+ 3.6 --> <object class="GtkBox" id="WizElementsPage"> <property name="visible">True</property> @@ -36,7 +36,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_X axis</property> + <property name="label" translatable="yes" context="wizelementspage|labelPrimaryXaxis">_X axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryXaxis</property> </object> @@ -52,7 +52,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Y axis</property> + <property name="label" translatable="yes" context="wizelementspage|labelPrimaryYaxis">_Y axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryYaxis</property> </object> @@ -68,7 +68,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Z axis</property> + <property name="label" translatable="yes" context="wizelementspage|labelPrimaryZaxis">_Z axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">primaryZaxis</property> </object> @@ -129,7 +129,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Title</property> + <property name="label" translatable="yes" context="wizelementspage|labelMainTitle">_Title</property> <property name="use_underline">True</property> <property name="mnemonic_widget">maintitle</property> </object> @@ -145,7 +145,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">_Subtitle</property> + <property name="label" translatable="yes" context="wizelementspage|labelSubTitle">_Subtitle</property> <property name="use_underline">True</property> <property name="mnemonic_widget">subtitle</property> </object> @@ -191,7 +191,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">X _axis</property> + <property name="label" translatable="yes" context="wizelementspage|labelSecondaryXAxis">X _axis</property> <property name="use_underline">True</property> <property name="mnemonic_widget">secondaryXaxis</property> </object> @@ -207,7 +207,7 @@ <property name="can_focus">False</property> <property name="no_show_all">True</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Y ax_is</property> + <property name="label" translatable="yes" context="wizelementspage|labelSecondaryYAxis">Y ax_is</property> <property name="use_underline">True</property> <property name="mnemonic_widget">secondaryYaxis</property> </object> @@ -263,7 +263,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkCheckButton" id="show"> - <property name="label" translatable="yes">_Display legend</property> + <property name="label" translatable="yes" context="wizelementspage|show">_Display legend</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -290,7 +290,7 @@ <property name="row_spacing">6</property> <child> <object class="GtkRadioButton" id="left"> - <property name="label" translatable="yes">_Left</property> + <property name="label" translatable="yes" context="wizelementspage|left">_Left</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -308,7 +308,7 @@ </child> <child> <object class="GtkRadioButton" id="right"> - <property name="label" translatable="yes">_Right</property> + <property name="label" translatable="yes" context="wizelementspage|right">_Right</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -326,7 +326,7 @@ </child> <child> <object class="GtkRadioButton" id="top"> - <property name="label" translatable="yes">_Top</property> + <property name="label" translatable="yes" context="wizelementspage|top">_Top</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -344,7 +344,7 @@ </child> <child> <object class="GtkRadioButton" id="bottom"> - <property name="label" translatable="yes">_Bottom</property> + <property name="label" translatable="yes" context="wizelementspage|bottom">_Bottom</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -386,7 +386,7 @@ <object class="GtkLabel" id="Axe"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Choose Titles, Legend, and Grid Settings</property> + <property name="label" translatable="yes" context="wizelementspage|Axe">Choose Titles, Legend, and Grid Settings</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -419,7 +419,7 @@ <property name="column_spacing">12</property> <child> <object class="GtkCheckButton" id="x"> - <property name="label" translatable="yes">X axis</property> + <property name="label" translatable="yes" context="wizelementspage|x">X axis</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -436,7 +436,7 @@ </child> <child> <object class="GtkCheckButton" id="y"> - <property name="label" translatable="yes">Y ax_is</property> + <property name="label" translatable="yes" context="wizelementspage|y">Y ax_is</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -453,7 +453,7 @@ </child> <child> <object class="GtkCheckButton" id="z"> - <property name="label" translatable="yes">Z axi_s</property> + <property name="label" translatable="yes" context="wizelementspage|z">Z axi_s</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> @@ -476,7 +476,7 @@ <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Display Grids</property> + <property name="label" translatable="yes" context="wizelementspage|label2">Display Grids</property> <attributes> <attribute name="weight" value="bold"/> </attributes> |