Update git submodules
[LibreOffice.git] / forms / inc / strings.hrc
blob37a3d8388370902d424514e482d5134d4bab3b42
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  *   Licensed to the Apache Software Foundation (ASF) under one or more
12  *   contributor license agreements. See the NOTICE file distributed
13  *   with this work for additional information regarding copyright
14  *   ownership. The ASF licenses this file to you under the Apache
15  *   License, Version 2.0 (the "License"); you may not use this file
16  *   except in compliance with the License. You may obtain a copy of
17  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
20 #pragma once
22 #include <unotools/resmgr.hxx>
24 #define NC_(Context, String) TranslateId(Context, u8##String)
26 #define RID_BASELISTBOX_ERROR_FILLLIST              NC_("RID_BASELISTBOX_ERROR_FILLLIST", "The contents of a combo box or list field could not be determined.")
27 #define RID_STR_IMPORT_GRAPHIC                      NC_("RID_STR_IMPORT_GRAPHIC", "Insert Image" )
28 #define RID_STR_CONTROL_SUBSTITUTED_NAME            NC_("RID_STR_CONTROL_SUBSTITUTED_NAME", "substituted")
29 #define RID_STR_CONTROL_SUBSTITUTED_EPXPLAIN        NC_("RID_STR_CONTROL_SUBSTITUTED_EPXPLAIN", "An error occurred while this control was being loaded. It was therefore replaced with a placeholder.")
30 #define RID_STR_READERROR                           NC_("RID_STR_READERROR", "Error reading data from database" )
31 #define RID_STR_CONNECTERROR                        NC_("RID_STR_CONNECTERROR", "Connection failed" )
32 #define RID_ERR_LOADING_FORM                        NC_("RID_ERR_LOADING_FORM", "The data content could not be loaded.")
33 #define RID_ERR_REFRESHING_FORM                     NC_("RID_ERR_REFRESHING_FORM", "The data content could not be updated")
34 #define RID_STR_ERR_INSERTRECORD                    NC_("RID_STR_ERR_INSERTRECORD", "Error inserting the new record")
35 #define RID_STR_ERR_UPDATERECORD                    NC_("RID_STR_ERR_UPDATERECORD", "Error updating the current record")
36 #define RID_STR_ERR_DELETERECORD                    NC_("RID_STR_ERR_DELETERECORD", "Error deleting the current record")
37 #define RID_STR_ERR_DELETERECORDS                   NC_("RID_STR_ERR_DELETERECORDS", "Error deleting the specified records")
38 #define RID_STR_NEED_NON_NULL_OBJECT                NC_("RID_STR_NEED_NON_NULL_OBJECT", "The object cannot be NULL.")
39 #define RID_STR_OPEN_GRAPHICS                       NC_("RID_STR_OPEN_GRAPHICS", "Insert Image from...")
40 #define RID_STR_CLEAR_GRAPHICS                      NC_("RID_STR_CLEAR_GRAPHICS", "Remove Image")
41 #define RID_STR_INVALIDSTREAM                       NC_("RID_STR_INVALIDSTREAM", "The given stream is invalid.")
42 #define RID_STR_SYNTAXERROR                         NC_("RID_STR_SYNTAXERROR", "Syntax error in query expression" )
43 #define RID_STR_INCOMPATIBLE_TYPES                  NC_("RID_STR_INCOMPATIBLE_TYPES", "The value types supported by the binding cannot be used for exchanging data with this control.")
44 #define RID_STR_LABEL_RECORD                        NC_("RID_STR_LABEL_RECORD", "Record")
45 #define RID_STR_INVALID_VALIDATOR                   NC_("RID_STR_INVALID_VALIDATOR", "The control is connected to an external value binding, which at the same time acts as validator. You need to revoke the value binding, before you can set a new validator.")
46 #define RID_STR_LABEL_OF                            NC_("RID_STR_LABEL_OF", "of")
47 #define RID_STR_QUERY_SAVE_MODIFIED_ROW             NC_("RID_STR_QUERY_SAVE_MODIFIED_ROW", "The content of the current form has been modified.\nDo you want to save your changes?")
48 #define RID_STR_COULD_NOT_SET_ORDER                 NC_("RID_STR_COULD_NOT_SET_ORDER", "Error setting the sort criteria")
49 #define RID_STR_COULD_NOT_SET_FILTER                NC_("RID_STR_COULD_NOT_SET_FILTER", "Error setting the filter criteria")
50 #define RID_STR_FEATURE_REQUIRES_PARAMETERS         NC_("RID_STR_FEATURE_REQUIRES_PARAMETERS", "To execute this function, parameters are needed.")
51 #define RID_STR_FEATURE_NOT_EXECUTABLE              NC_("RID_STR_FEATURE_NOT_EXECUTABLE", "This function cannot be executed, but is only for status queries.")
52 #define RID_STR_FEATURE_UNKNOWN                     NC_("RID_STR_FEATURE_UNKNOWN", "Unknown function.")
54 #define RID_STR_XFORMS_NO_BINDING_EXPRESSION        NC_("RID_STR_XFORMS_NO_BINDING_EXPRESSION", "Please enter a binding expression.")
55 #define RID_STR_XFORMS_INVALID_BINDING_EXPRESSION   NC_("RID_STR_XFORMS_INVALID_BINDING_EXPRESSION", "This is an invalid binding expression.")
56 #define RID_STR_XFORMS_INVALID_VALUE                NC_("RID_STR_XFORMS_INVALID_VALUE", "Value is invalid.")
57 #define RID_STR_XFORMS_REQUIRED                     NC_("RID_STR_XFORMS_REQUIRED", "A value is required.")
58 #define RID_STR_XFORMS_INVALID_CONSTRAINT           NC_("RID_STR_XFORMS_INVALID_CONSTRAINT", "The constraint '$1' not validated.")
59 #define RID_STR_XFORMS_VALUE_IS_NOT_A               NC_("RID_STR_XFORMS_VALUE_IS_NOT_A", "The value is not of the type '$2'.")
60 #define RID_STR_XFORMS_VALUE_MAX_INCL               NC_("RID_STR_XFORMS_VALUE_MAX_INCL", "The value must be smaller than or equal to $2.")
61 #define RID_STR_XFORMS_VALUE_MAX_EXCL               NC_("RID_STR_XFORMS_VALUE_MAX_EXCL", "The value must be smaller than $2.")
62 #define RID_STR_XFORMS_VALUE_MIN_INCL               NC_("RID_STR_XFORMS_VALUE_MIN_INCL", "The value must be greater than or equal to $2.")
63 #define RID_STR_XFORMS_VALUE_MIN_EXCL               NC_("RID_STR_XFORMS_VALUE_MIN_EXCL", "The value must be greater than $2.")
64 #define RID_STR_XFORMS_VALUE_TOTAL_DIGITS           NC_("RID_STR_XFORMS_VALUE_TOTAL_DIGITS", "$2 digits allowed at most.")
65 #define RID_STR_XFORMS_VALUE_FRACTION_DIGITS        NC_("RID_STR_XFORMS_VALUE_FRACTION_DIGITS", "$2 fraction digits allowed at most.")
66 #define RID_STR_XFORMS_VALUE_LENGTH                 NC_("RID_STR_XFORMS_VALUE_LENGTH", "The string must be $2 characters long.")
67 #define RID_STR_XFORMS_VALUE_MIN_LENGTH             NC_("RID_STR_XFORMS_VALUE_MIN_LENGTH", "The string must be at least $2 characters long.")
68 #define RID_STR_XFORMS_VALUE_MAX_LENGTH             NC_("RID_STR_XFORMS_VALUE_MAX_LENGTH", "The string can only be $2 characters long at most.")
69 #define RID_STR_DATATYPE_STRING                     NC_("RID_STR_DATATYPE_STRING", "String")
70 #define RID_STR_DATATYPE_URL                        NC_("RID_STR_DATATYPE_URL", "Hyperlink")
71 #define RID_STR_DATATYPE_BOOLEAN                    NC_("RID_STR_DATATYPE_BOOLEAN", "True/False (Boolean)")
72 #define RID_STR_DATATYPE_DECIMAL                    NC_("RID_STR_DATATYPE_DECIMAL", "Decimal")
73 #define RID_STR_DATATYPE_FLOAT                      NC_("RID_STR_DATATYPE_FLOAT", "Floating point")
74 #define RID_STR_DATATYPE_DOUBLE                     NC_("RID_STR_DATATYPE_DOUBLE", "Double precision")
75 #define RID_STR_DATATYPE_DATE                       NC_("RID_STR_DATATYPE_DATE", "Date")
76 #define RID_STR_DATATYPE_TIME                       NC_("RID_STR_DATATYPE_TIME", "Time")
77 #define RID_STR_DATATYPE_DATETIME                   NC_("RID_STR_DATATYPE_DATETIME", "Date and Time")
78 #define RID_STR_DATATYPE_YEAR                       NC_("RID_STR_DATATYPE_YEAR", "Year")
79 #define RID_STR_DATATYPE_MONTH                      NC_("RID_STR_DATATYPE_MONTH", "Month")
80 #define RID_STR_DATATYPE_DAY                        NC_("RID_STR_DATATYPE_DAY", "Day")
81 #define RID_STR_XFORMS_CANT_EVALUATE                NC_("RID_STR_XFORMS_CANT_EVALUATE", "Error during evaluation")
82 #define RID_STR_XFORMS_PATTERN_DOESNT_MATCH         NC_("RID_STR_XFORMS_PATTERN_DOESNT_MATCH", "The string '$1' does not match the required regular expression '$2'.")
83 #define RID_STR_XFORMS_BINDING_UI_NAME              NC_("RID_STR_XFORMS_BINDING_UI_NAME", "Binding" )
84 #define RID_STR_XFORMS_CANT_REMOVE_TYPE             NC_("RID_STR_XFORMS_CANT_REMOVE_TYPE", "This is a built-in type and cannot be removed." )
85 #define RID_STR_XFORMS_WARN_TARGET_IS_FILE          NC_("RID_STR_XFORMS_WARN_TARGET_IS_FILE", "Are you sure you want to write to local file \"$\"?" )
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */