Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition of your own translations #294

Closed
mariuszgromada opened this issue Jan 28, 2023 · 3 comments
Closed

Definition of your own translations #294

mariuszgromada opened this issue Jan 28, 2023 · 3 comments

Comments

@mariuszgromada
Copy link
Owner

No description provided.

@mariuszgromada
Copy link
Owner Author

To see current string resources

StringResources stringResources = StringModel.getStringResources(); 
stringResources.print();

Result

USER_LANGUAGE = [DEF]"English";
// -------------------------------------------------
STARTING_SYNTAX_CHECK = [DEF]"Starting syntax check...";
NO_ERRORS_DETECTED = [DEF]"No errors detected.";
NO_ERRORS_DETECTED_IN_ARGUMENT_DEFINITION = [DEF]"No errors detected in argument definition.";
NO_ERRORS_DETECTED_IN_RECURSIVE_ARGUMENT_DEFINITION = [DEF]"No errors detected in recursive argument definition.";
NO_ERRORS_DETECTED_IN_FUNCTION_DEFINITION = [DEF]"No errors detected in function definition.";
NO_ERRORS_DETECTED_IN_CONSTANT_DEFINITION = [DEF]"No errors detected in function definition.";
LEXICAL_ERROR_HAS_BEEN_FOUND = [DEF]"A lexical error has been found.";
ERRORS_HAVE_BEEN_FOUND = [DEF]"Errors have been found.";
ALREADY_CHECKED_NO_ERRORS = [DEF]"The syntax has already been checked - no errors detected.";
SYNTAX_STATUS_UNKNOWN = [DEF]"The syntax status is unknown.";
PROBLEM_WITH_EXPRESSION_SYNTAX = [DEF]"There is a problem with expression syntax.";
// -------------------------------------------------
ENCOUNTERED = [DEF]"Encountered";
AT_INDEX = [DEF]"at index";
WAS_EXPECTING = [DEF]"Was expecting";
WAS_EXPECTING_ONE_OF = [DEF]"Was expecting one of";
UNEXPECTED_EXCEPTION_WAS_ENCOUNTERED = [DEF]"An unexpected exception was encountered. Probably a parser error - please report it.";
UNEXPECTED_TOKEN_MANAGER_ERROR_WAS_ENCOUNTERED = [DEF]"An unexpected token manager error was encountered. Probably a parser error - please report it.";
// -------------------------------------------------
EXPRESSION_STRING_IS_EMPTY = [DEF]"The expression string is empty.";
EXPRESSION_DOES_NOT_CONTAIN_ANY_TOKENS = [DEF]"The expression does not contain any tokens.";
DUPLICATED_KEYWORD = [DEF]"Duplicated keywords were found. Check user-defined items. Consider using option to override built-in tokens.";
ELEMENT = [DEF]"Element";
ERROR = [DEF]"Error";
EXCEPTION = [DEF]"Exception";
TOKEN = [DEF]"Token";
INDEX = [DEF]"index";
INVALID_TOKEN = [DEF]"Invalid token.";
INVALID_TOKEN_POSSIBLY_MISSING_MULTIPLICATION_OPERATOR = [DEF]"Invalid token. Possibly missing multiplication operator - try implied multiplication mode.";
EXPRESSION_TOKENS = [DEF]"Expression tokens";
NULL_TOKENS_LIST = [DEF]"NULL tokens list";
// -------------------------------------------------
FUNCTION_WITH_EXTENDED_BODY_NO_ERRORS = [DEF]"User-defined function with extended body - no errors by assumption.";
ARGUMENT_WITH_EXTENDED_BODY_NO_ERRORS = [DEF]"User-defined argument with extended body - no errors by assumption.";
PROVIDED_EXTENSION_IS_NULL = [DEF]"Provided extension is null.";
PROVIDED_STRING_IS_NULL = [DEF]"Provided string is null.";
PROVIDED_ELEMENTS_ARE_NULL = [DEF]"Provided elements are null.";
MULTIPLICATION_OPERATOR_MISSING_TRY_IMPLIED_MULTIPLICATION_MODE = [DEF]"Possibly missing multiplication operator - try implied multiplication mode.";
// -------------------------------------------------
STARTING_SYNTAX_CHECK_DEPENDENT_ARGUMENT = [DEF]"Starting syntax check of the dependent user-defined argument.";
STARTING_SYNTAX_CHECK_RECURSIVE_ARGUMENT = [DEF]"Starting syntax check of the user-defined recursive argument.";
STARTING_SYNTAX_CHECK_USER_DEFINED_FUNCTION = [DEF]"Starting syntax check of the user-defined function.";
STARTING_SYNTAX_CHECK_VARIADIC_USER_DEFINED_FUNCTION = [DEF]"Starting syntax check of the variadic user-defined function.";
// -------------------------------------------------
ARGUMENT_WAS_EXPECTED = [DEF]"User-defined argument was expected.";
RECURSIVE_ARGUMENT_EXPECTING_1_PARAMETER = [DEF]"A recursive user-defined argument requires one parameter.";
// -------------------------------------------------
INCORRECT_NUMBER_OF_PARAMETERS_IN_USER_DEFINED_FUNCTION = [DEF]"Incorrect number of parameters in user-defined function.";
// -------------------------------------------------
INCORRECT_NUMBER_OF_FUNCTION_PARAMETERS = [DEF]"Incorrect number of function parameters.";
EXPECTED = [DEF]"Expected";
PROVIDED = [DEF]"provided";
USER_DEFINED_FUNCTION_EXPECTING_AT_LEAST_ONE_ARGUMENT = [DEF]"Incorrect number of parameters in user-defined function - at least one argument is expected.";
EXPECTED_EVEN_NUMBER_OF_ARGUMENTS = [DEF]"Even number of arguments was expected.";
// -------------------------------------------------
INVALID_FUNCTION_NAME = [DEF]"Invalid function name.";
INVALID_ARGUMENT_NAME = [DEF]"Invalid argument name.";
INVALID_CONSTANT_NAME = [DEF]"Invalid constant name.";
INVALID_FUNCTION_DEFINITION = [DEF]"Invalid function definition.";
INVALID_ARGUMENT_DEFINITION = [DEF]"Invalid argument definition.";
INVALID_CONSTANT_DEFINITION = [DEF]"Invalid constant definition.";
PATTERN_DOES_NOT_MATCH = [DEF]"Pattern does not match.";
PATTERN_EXAMPLES = [DEF]"Pattern examples";
// -------------------------------------------------
CONSTANT_WAS_EXPECTED = [DEF]"Constant value was expected.";
USER_CONSTANT_WAS_EXPECTED = [DEF]"User-defined constant was expected.";
// -------------------------------------------------
UNARY_FUNCTION_EXPECTS_1_PARAMETER = [DEF]"A unary function expects 1 parameter.";
BINARY_FUNCTION_EXPECTS_2_PARAMETERS = [DEF]"A binary function expects 2 parameters.";
TERNARY_FUNCTION_EXPECTS_3_PARAMETERS = [DEF]"A ternary function expects 3 parameters.";
// -------------------------------------------------
DERIVATIVE_OPERATOR_EXPECTS_2_OR_3_OR_4_OR_5_CALCULUS_PARAMETERS = [DEF]"A derivative operator expects 2 or 3 or 4 or 5 calculus parameters.";
ARGUMENT_WAS_EXPECTED_IN_A_DERIVATIVE_OPERATOR_INVOCATION = [DEF]"An argument was expected in a derivative operator invocation.";
DUPLICATED_KEYWORDS_WERE_FOUND_IN_THE_CALCULUS_OPERATOR_INVOCATION = [DEF]"Duplicated keywords were found in the calculus operator invocation, check calculus parameters.";
ONE_TOKEN_WAS_EXPECTED_IN_THE_CALCULUS_OPERATOR_INVOCATION = [DEF]"One token (argument or unknown) was expected in the calculus operator invocation.";
NTH_ORDER_DERIVATIVE_OPERATOR_EXPECTS_3_OR_5_CALCULUS_PARAMETERS = [DEF]"N-th order derivative operator expects 3 or 5 calculus parameters.";
INTEGRAL_SOLVE_OPERATOR_EXPECTS_4_CALCULUS_PARAMETERS = [DEF]"The integral / solve operator expects 4 calculus parameters.";
ITERATED_OPERATOR_EXPECTS_4_OR_5_CALCULUS_PARAMETERS = [DEF]"The iterated operator expects 4 or 5 calculus parameters.";
FORWARD_BACKWARD_DIFFERENCE_EXPECTS_2_OR_3_PARAMETERS = [DEF]"The forward / backward difference operator expects 2 or 3 calculus parameters.";
FORWARD_BACKWARD_DIFFERENCE_ARGUMENT_WAS_EXPECTED = [DEF]"An argument was expected in the forward / backward difference operator invocation.";
AT_LEAST_ONE_ARGUMENT_WAS_EXPECTED = [DEF]"At least one argument was expected.";
// -------------------------------------------------
ERROR_WHILE_EXECUTING_THE_CALCULATE = [DEF]"Error while executing the calculate.";
RECURSION_CALLS_COUNTER_EXCEEDED = [DEF]"Recursion calls counter exceeded maximum calls allowed.";
RECURSION_CALLS_COUNTER = [DEF]"Recursion calls counter";
STARTING_CALCULATION_LOOP = [DEF]"Starting calculation loop.";
CANCEL_REQUEST_FINISHING = [DEF]"Cancel request encountered - finishing.";
INTERNAL_ERROR_STRANGE_TOKEN_LEVEL_FINISHING = [DEF]"Internal error / strange token level - finishing. Probably a parser error - please report it.";
FATAL_ERROR_DO_NOT_KNOW_WHAT_TO_DO_WITH_THE_ENCOUNTERED_TOKEN = [DEF]"Fatal error, do not know what to do with the encountered token. Probably a parser error - please report it.";
MAXIMUM_ERROR_MESSAGE_LENGTH_EXCEEDED = [DEF]"The maximum error message length has been exceeded.";
// -------------------------------------------------
STARTING = [DEF]"Starting...";
PARSING = [DEF]"Parsing";
CALCULATED_VALUE = [DEF]"Calculated value";
EXITING = [DEF]"Exiting.";
DONE = [DEF]"done.";
// -------------------------------------------------
KEYWORD = [DEF]"Keyword";
SYNTAX = [DEF]"Syntax";
NUMBER = [DEF]"Number";
NUMBER_LITERAL = [DEF]"Number literal";
TYPE = [DEF]"Type";
SINCE = [DEF]"Since";
DESCRIPTION = [DEF]"Description";
// -------------------------------------------------
CALC_STEPS_REGISTER_IS_EMPTY = [DEF]"CalcStepsRegister is empty";
CALC_STEPS_REGISTER_FOR = [DEF]"CalcStepsRegister for";
ARGUMENT = [DEF]"Argument";
FUNCTION = [DEF]"Function";
EXPRESSION = [DEF]"Expression";
RESULT = [DEF]"result";
COMPUTING_TIME = [DEF]"Computing time";
GROUP_SHORT = [DEF]"gr";
NUMBER_SHORT = [DEF]"nr";
FIRST = [DEF]"first";
LAST = [DEF]"last";
DESCRIPTION_SHORT = [DEF]"descr";
STEP = [DEF]"step";
// -------------------------------------------------
SERIALIZATION_PERFORMED = [DEF]"Serialization has been performed:";
DESERIALIZATION_PERFORMED = [DEF]"Deserialization has been performed:";
NULL_OBJECT_PROVIDED = [DEF]"Null object passed in the parameter.";
NULL_FILE_PATH_PROVIDED = [DEF]"Null file passed in the parameter.";
FILE_PATH_ZERO_LENGTH_PROVIDED = [DEF]"The file path does not contain any characters.";
FILE_PATH_IS_NOT_A_FILE = [DEF]"The file path is not a file:";
FILE_PATH_NOT_EXISTS = [DEF]"The file path does not exist:";
NULL_DATA_PROVIDED = [DEF]"Null data passed in the parameter.";
BINARY_SERIALIZATION_ENABLED = [DEF]"Binary serialization is enabled. Use it only in a conscious and limited way.";
BINARY_SERIALIZATION_DISABLED = [DEF]"Binary serialization is disabled. You can enable it if you are aware of security risks.";
// -------------------------------------------------
USER_DEFINED_EXPRESSION = [DEF]"User defined expression";
USER_DEFINED_ARGUMENT = [DEF]"User defined argument";
USER_DEFINED_CONSTANT = [DEF]"User defined constant";
USER_DEFINED_FUNCTION = [DEF]"User defined function";
USER_DEFINED_RECURSIVE_ARGUMENT = [DEF]"User defined recursive argument";
// -------------------------------------------------
HELP_CONTENT_LIMITED_TO_QUERY = [DEF]"Help content limited to query";
ALL_HELP_CONTENT = [DEF]"All help content.";
CAPTION = [DEF]"Caption";
// -------------------------------------------------
WARNING_BINARY_SERIALIZATION_SECURITY_RISKS = [DEF]"SECURITY WARNING:\n"
+ "Deserializing data from an untrusted source can introduce security vulnerabilities\n"
+ "to your application. Depending on the settings used during deserialization,\n"
+ "untrusted data may be able to execute arbitrary code or cause a denial of service\n"
+ "attack. Untrusted data can come from over the network from an untrusted source\n"
+ "(e.g. any network client), or it can be manipulated/tampered by an intermediary while\n"
+ "in transit over an unauthenticated connection, or from local storage where it may\n"
+ "have been compromised/tampered, or from many other sources. MathParser.org-mXparser\n"
+ "does not provide any means to authenticate data or secure it from tampering. Use an\n"
+ "appropriate data authentication method before deserializing. Be very mindful of these\n"
+ "attack scenarios; many projects and companies and users of serialization libraries in\n"
+ "general have been bitten by untrusted deserialization of user data in the past.";
// -------------------------------------------------
BINARY_RELATION = [DEF]"Binary relation";
BITWISE_OPERATOR = [DEF]"Bitwise operator";
BOOLEAN_OPERATOR = [DEF]"Boolean operator";
CALCULUS_OPERATOR = [DEF]"Calculus operator";
CONSTANT_VALUE = [DEF]"Constant value";
FUNCTION_1_ARG = [DEF]"Unary function";
FUNCTION_2_ARG = [DEF]"Binary function";
FUNCTION_3_ARG = [DEF]"Ternary function";
FUNCTION_VARIADIC = [DEF]"Variadic function";
OPERATOR = [DEF]"Operator";
PARSER_SYMBOL = [DEF]"Parser symbol";
RANDOM_VARIABLE = [DEF]"Random variable";
UNIT = [DEF]"Unit";
DIMENSIONLESS_UNIT = [DEF]"Dimensionless unit";
ITERATED_OPERATOR = [DEF]"Iterated operator";
// -------------------------------------------------
RATIO_FRACTION = [DEF]"Ratio / Fraction";
METRIC_PREFIX = [DEF]"Metric prefix";
UNIT_OF_LENGTH = [DEF]"Unit of length";
UNIT_OF_AREA = [DEF]"Unit of area";
UNIT_OF_VOLUME = [DEF]"Unit of volume";
UNIT_OF_TIME = [DEF]"Unit of time";
UNIT_OF_MASS = [DEF]"Unit of mass";
UNIT_OF_INFORMATION = [DEF]"Unit of information";
UNIT_OF_ENERGY = [DEF]"Unit of energy";
UNIT_OF_SPEED = [DEF]"Unit of speed";
UNIT_OF_ACCELERATION = [DEF]"Unit of acceleration";
UNIT_OF_ANGLE = [DEF]"Unit of angle";
// -------------------------------------------------
PHYSICAL_CONSTANT = [DEF]"Physical constant";
ASTRONOMICAL_CONSTANT = [DEF]"Astronomical constant";
MATHEMATICAL_CONSTANT = [DEF]"Mathematical constant";
// -------------------------------------------------
PROBABILITY_DISTRIBUTION_FUNCTION = [DEF]"Probability distribution function";
CUMULATIVE_DISTRIBUTION_FUNCTION = [DEF]"Cumulative distribution function";
QUANTILE_FUNCTION = [DEF]"Quantile function (inverse cumulative distribution function)";
// -------------------------------------------------
STUDENTS_T_DISTRIBUTION = [DEF]"Student's t-distribution";
CHI_SQUARED_DISTRIBUTION = [DEF]"Chi-squared distribution";
SNEDECORS_F_DISTRIBUTION = [DEF]"Snedecor's F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution)";
UNIFORM_CONTINUOUS_DISTRIBUTION = [DEF]"Uniform continuous distribution";
UNIFORM_DISCRETE_DISTRIBUTION = [DEF]"Uniform discrete distribution";
NORMAL_DISTRIBUTION = [DEF]"Normal distribution";
// -------------------------------------------------
RANDOM_INTEGER = [DEF]"Random integer";
RANDOM_NATURAL_NUMBER = [DEF]"Random natural number";
RANDOM_NATURAL_NUMBER_INCLUDING_0 = [DEF]"Random natural number including 0";
// -------------------------------------------------
SPECIAL_FUNCTION = [DEF]"Special function";
// -------------------------------------------------
SEMI_MAJOR_AXIS = [DEF]"Semi major axis";
// -------------------------------------------------
BINARY_RELATION_EQ = [DEF]"Equality";
BINARY_RELATION_NEQ = [DEF]"Inequation";
BINARY_RELATION_LT = [DEF]"Lower than";
BINARY_RELATION_GT = [DEF]"Greater than";
BINARY_RELATION_LEQ = [DEF]"Lower or equal";
BINARY_RELATION_GEQ = [DEF]"Greater or equal";
// -------------------------------------------------
BITWISE_OPERATOR_COMPL = [DEF]"Bitwise unary complement";
BITWISE_OPERATOR_AND = [DEF]"Bitwise and";
BITWISE_OPERATOR_XOR = [DEF]"Bitwise exclusive or";
BITWISE_OPERATOR_OR = [DEF]"Bitwise inclusive or";
BITWISE_OPERATOR_LEFT_SHIFT = [DEF]"Signed left shift";
BITWISE_OPERATOR_RIGHT_SHIFT = [DEF]"Signed right shift";
// -------------------------------------------------
BOOLEAN_OPERATOR_AND = [DEF]"Logical conjunction";
BOOLEAN_OPERATOR_OR = [DEF]"Logical disjunction";
BOOLEAN_OPERATOR_NEG = [DEF]"Negation";
BOOLEAN_OPERATOR_NAND = [DEF]"Sheffer stroke";
BOOLEAN_OPERATOR_NOR = [DEF]"Logical not or (joint denial)";
BOOLEAN_OPERATOR_XOR = [DEF]"Exclusive or";
BOOLEAN_OPERATOR_IMP = [DEF]"Implication";
BOOLEAN_OPERATOR_CIMP = [DEF]"Converse implication";
BOOLEAN_OPERATOR_NIMP = [DEF]"Material nonimplication";
BOOLEAN_OPERATOR_CNIMP = [DEF]"Converse nonimplication";
BOOLEAN_OPERATOR_EQV = [DEF]"Logical biconditional";
// -------------------------------------------------
CALCULUS_OPERATOR_SUM = [DEF]"Summation SIGMA";
CALCULUS_OPERATOR_PROD = [DEF]"Product PI";
CALCULUS_OPERATOR_INT = [DEF]"Definite integral";
CALCULUS_OPERATOR_DER = [DEF]"Derivative";
CALCULUS_OPERATOR_DER_LEFT = [DEF]"Left derivative";
CALCULUS_OPERATOR_DER_RIGHT = [DEF]"Right derivative";
CALCULUS_OPERATOR_DERN = [DEF]"n-th derivative";
CALCULUS_OPERATOR_FORW_DIFF = [DEF]"Forward difference";
CALCULUS_OPERATOR_BACKW_DIFF = [DEF]"Backward difference";
CALCULUS_OPERATOR_AVG = [DEF]"Average";
CALCULUS_OPERATOR_VAR = [DEF]"Bias-corrected sample variance";
CALCULUS_OPERATOR_STD = [DEF]"Bias-corrected sample standard deviation";
CALCULUS_OPERATOR_MIN = [DEF]"Minimum value";
CALCULUS_OPERATOR_MAX = [DEF]"Maximum value";
CALCULUS_OPERATOR_SOLVE = [DEF]"Equation solving (root finding)";
// -------------------------------------------------
CONSTANT_VALUE_PI = [DEF]"Pi, Archimedes' or Ludolph's number";
CONSTANT_VALUE_EULER = [DEF]"Napier's or Euler's number (base of Natural logarithm)";
CONSTANT_VALUE_EULER_MASCHERONI = [DEF]"Euler-Mascheroni constant";
CONSTANT_VALUE_GOLDEN_RATIO = [DEF]"Golden ratio";
CONSTANT_VALUE_PLASTIC = [DEF]"Plastic constant";
CONSTANT_VALUE_EMBREE_TREFETHEN = [DEF]"Embree-Trefethen constant";
CONSTANT_VALUE_FEIGENBAUM_DELTA = [DEF]"Feigenbaum delta constant";
CONSTANT_VALUE_FEIGENBAUM_ALPHA = [DEF]"Feigenbaum alpha constant";
CONSTANT_VALUE_TWIN_PRIME = [DEF]"Twin prime constant";
CONSTANT_VALUE_MEISSEL_MERTEENS = [DEF]"Meissel-Mertens constant";
CONSTANT_VALUE_BRAUN_TWIN_PRIME = [DEF]"Brun's constant for twin primes";
CONSTANT_VALUE_BRAUN_PRIME_QUADR = [DEF]"Brun's constant for prime quadruplets";
CONSTANT_VALUE_BRUIJN_NEWMAN = [DEF]"de Bruijn-Newman constant";
CONSTANT_VALUE_CATALAN = [DEF]"Catalan's constant";
CONSTANT_VALUE_LANDAU_RAMANUJAN = [DEF]"Landau-Ramanujan constant";
CONSTANT_VALUE_VISWANATH = [DEF]"Viswanath's constant";
CONSTANT_VALUE_LEGENDRE = [DEF]"Legendre's constant";
CONSTANT_VALUE_RAMANUJAN_SOLDNER = [DEF]"Ramanujan-Soldner constant";
CONSTANT_VALUE_ERDOS_BORWEIN = [DEF]"Erdos-Borwein constant";
CONSTANT_VALUE_BERNSTEIN = [DEF]"Bernstein's constant";
CONSTANT_VALUE_GAUSS_KUZMIN_WIRSING = [DEF]"Gauss-Kuzmin-Wirsing constant";
CONSTANT_VALUE_HAFNER_SARNAK_MCCURLEY = [DEF]"Hafner-Sarnak-McCurley constant";
CONSTANT_VALUE_GOLOMB_DICKMAN = [DEF]"Golomb-Dickman constant";
CONSTANT_VALUE_CAHEN = [DEF]"Cahen's constant";
CONSTANT_VALUE_LAPLACE_LIMIT = [DEF]"Laplace limit constant";
CONSTANT_VALUE_ALLADI_GRINSTEAD = [DEF]"Alladi-Grinstead constant";
CONSTANT_VALUE_LENGYEL = [DEF]"Lengyel's constant";
CONSTANT_VALUE_LEVY = [DEF]"Levy's constant";
CONSTANT_VALUE_APERY = [DEF]"Apery's constant";
CONSTANT_VALUE_MILLS = [DEF]"Mills' constant";
CONSTANT_VALUE_BACKHOUSE = [DEF]"Backhouse's constant";
CONSTANT_VALUE_PORTER = [DEF]"Porter's constant";
CONSTANT_VALUE_LIEB_QUARE_ICE = [DEF]"Lieb's square ice constant";
CONSTANT_VALUE_NIVEN = [DEF]"Niven's constant";
CONSTANT_VALUE_SIERPINSKI = [DEF]"Sierpinski's constant";
CONSTANT_VALUE_KHINCHIN = [DEF]"Khinchin's constant";
CONSTANT_VALUE_FRANSEN_ROBINSON = [DEF]"Fransen-Robinson constant";
CONSTANT_VALUE_LANDAU = [DEF]"Landau's constant";
CONSTANT_VALUE_PARABOLIC = [DEF]"Parabolic constant";
CONSTANT_VALUE_OMEGA = [DEF]"Omega constant";
CONSTANT_VALUE_MRB = [DEF]"MRB constant";
CONSTANT_VALUE_LI2 = [DEF]"Logarithmic integral at point 2";
CONSTANT_VALUE_GOMPERTZ = [DEF]"Gompertz constant";
CONSTANT_VALUE_LIGHT_SPEED = [DEF]"Light speed in vacuum";
CONSTANT_VALUE_GRAVITATIONAL_CONSTANT = [DEF]"Gravitational constant";
CONSTANT_VALUE_GRAVIT_ACC_EARTH = [DEF]"Gravitational acceleration on Earth";
CONSTANT_VALUE_PLANCK_CONSTANT = [DEF]"Planck constant";
CONSTANT_VALUE_PLANCK_CONSTANT_REDUCED = [DEF]"Reduced Planck constant (Dirac constant)";
CONSTANT_VALUE_PLANCK_LENGTH = [DEF]"Planck length";
CONSTANT_VALUE_PLANCK_MASS = [DEF]"Planck mass";
CONSTANT_VALUE_PLANCK_TIME = [DEF]"Planck time";
CONSTANT_VALUE_LIGHT_YEAR = [DEF]"Light year";
CONSTANT_VALUE_ASTRONOMICAL_UNIT = [DEF]"Astronomical unit";
CONSTANT_VALUE_PARSEC = [DEF]"Parsec";
CONSTANT_VALUE_KILOPARSEC = [DEF]"Kiloparsec";
CONSTANT_VALUE_EARTH_RADIUS_EQUATORIAL = [DEF]"Earth equatorial radius";
CONSTANT_VALUE_EARTH_RADIUS_POLAR = [DEF]"Earth polar radius";
CONSTANT_VALUE_EARTH_RADIUS_MEAN = [DEF]"Earth mean radius";
CONSTANT_VALUE_EARTH_MASS = [DEF]"Earth mass";
CONSTANT_VALUE_EARTH_SEMI_MAJOR_AXIS = [DEF]"Earth-Sun distance";
CONSTANT_VALUE_MOON_RADIUS_MEAN = [DEF]"Moon mean radius";
CONSTANT_VALUE_MOON_MASS = [DEF]"Moon mass";
CONSTANT_VALUE_MONN_SEMI_MAJOR_AXIS = [DEF]"Moon-Earth distance";
CONSTANT_VALUE_SOLAR_RADIUS = [DEF]"Solar mean radius";
CONSTANT_VALUE_SOLAR_MASS = [DEF]"Solar mass";
CONSTANT_VALUE_MERCURY_RADIUS_MEAN = [DEF]"Mercury mean radius";
CONSTANT_VALUE_MERCURY_MASS = [DEF]"Mercury mass";
CONSTANT_VALUE_MERCURY_SEMI_MAJOR_AXIS = [DEF]"Mercury-Sun distance";
CONSTANT_VALUE_VENUS_RADIUS_MEAN = [DEF]"Venus mean radius";
CONSTANT_VALUE_VENUS_MASS = [DEF]"Venus mass";
CONSTANT_VALUE_VENUS_SEMI_MAJOR_AXIS = [DEF]"Venus-Sun distance";
CONSTANT_VALUE_MARS_RADIUS_MEAN = [DEF]"Mars mean radius";
CONSTANT_VALUE_MARS_MASS = [DEF]"Mars mass";
CONSTANT_VALUE_MARS_SEMI_MAJOR_AXIS = [DEF]"Mars-Sun distance";
CONSTANT_VALUE_JUPITER_RADIUS_MEAN = [DEF]"Jupiter mean radius";
CONSTANT_VALUE_JUPITER_MASS = [DEF]"Jupiter mass";
CONSTANT_VALUE_JUPITER_SEMI_MAJOR_AXIS = [DEF]"Jupiter-Sun distance";
CONSTANT_VALUE_SATURN_RADIUS_MEAN = [DEF]"Saturn mean radius";
CONSTANT_VALUE_SATURN_MASS = [DEF]"Saturn mass";
CONSTANT_VALUE_SATURN_SEMI_MAJOR_AXIS = [DEF]"Saturn-Sun distance";
CONSTANT_VALUE_URANUS_RADIUS_MEAN = [DEF]"Uranus mean radius";
CONSTANT_VALUE_URANUS_MASS = [DEF]"Uranus mass";
CONSTANT_VALUE_URANUS_SEMI_MAJOR_AXIS = [DEF]"Uranus-Sun distance";
CONSTANT_VALUE_NEPTUNE_RADIUS_MEAN = [DEF]"Neptune mean radius";
CONSTANT_VALUE_NEPTUNE_MASS = [DEF]"Neptune mass";
CONSTANT_VALUE_NEPTUNE_SEMI_MAJOR_AXIS = [DEF]"Neptune-Sun distance";
CONSTANT_VALUE_TRUE = [DEF]"Boolean True represented as 1";
CONSTANT_VALUE_FALSE = [DEF]"Boolean False represented as 0";
CONSTANT_VALUE_NPAR = [DEF]"Automatically generated constant for user defined functions, returns number of given function parameters";
CONSTANT_VALUE_NAN = [DEF]"Not-a-Number";
// -------------------------------------------------
FUNCTION_1_ARG_SIN = [DEF]"Trigonometric sine";
FUNCTION_1_ARG_COS = [DEF]"Trigonometric cosine";
FUNCTION_1_ARG_TAN = [DEF]"Trigonometric tangent";
FUNCTION_1_ARG_CTAN = [DEF]"Trigonometric cotangent";
FUNCTION_1_ARG_SEC = [DEF]"Trigonometric secant";
FUNCTION_1_ARG_COSEC = [DEF]"Trigonometric cosecant";
FUNCTION_1_ARG_ASIN = [DEF]"Inverse trigonometric sine";
FUNCTION_1_ARG_ACOS = [DEF]"Inverse trigonometric cosine";
FUNCTION_1_ARG_ATAN = [DEF]"Inverse trigonometric tangent";
FUNCTION_1_ARG_ACTAN = [DEF]"Inverse trigonometric cotangent";
FUNCTION_1_ARG_LN = [DEF]"Natural logarithm (base e)";
FUNCTION_1_ARG_LOG2 = [DEF]"Binary logarithm (base 2)";
FUNCTION_1_ARG_LOG10 = [DEF]"Common logarithm (base 10)";
FUNCTION_1_ARG_RAD = [DEF]"Degrees to radians";
FUNCTION_1_ARG_EXP = [DEF]"Exponential";
FUNCTION_1_ARG_SQRT = [DEF]"Squre root";
FUNCTION_1_ARG_SINH = [DEF]"Hyperbolic sine";
FUNCTION_1_ARG_COSH = [DEF]"Hyperbolic cosine";
FUNCTION_1_ARG_TANH = [DEF]"Hyperbolic tangent";
FUNCTION_1_ARG_COTH = [DEF]"Hyperbolic cotangent";
FUNCTION_1_ARG_SECH = [DEF]"Hyperbolic secant";
FUNCTION_1_ARG_CSCH = [DEF]"Hyperbolic cosecant";
FUNCTION_1_ARG_DEG = [DEF]"Radians to degrees";
FUNCTION_1_ARG_ABS = [DEF]"Absolut value";
FUNCTION_1_ARG_SGN = [DEF]"Signum";
FUNCTION_1_ARG_FLOOR = [DEF]"Floor";
FUNCTION_1_ARG_CEIL = [DEF]"Ceiling";
FUNCTION_1_ARG_NOT = [DEF]"Negation";
FUNCTION_1_ARG_ARSINH = [DEF]"Inverse hyperbolic sine";
FUNCTION_1_ARG_ARCOSH = [DEF]"Inverse hyperbolic cosine";
FUNCTION_1_ARG_ARTANH = [DEF]"Inverse hyperbolic tangent";
FUNCTION_1_ARG_ARCOTH = [DEF]"Inverse hyperbolic cotangent";
FUNCTION_1_ARG_ARSECH = [DEF]"Inverse hyperbolic secant";
FUNCTION_1_ARG_ARCSCH = [DEF]"Inverse hyperbolic cosecant";
FUNCTION_1_ARG_SA = [DEF]"Sinc (normalized)";
FUNCTION_1_ARG_SINC = [DEF]"Sinc (unnormalized)";
FUNCTION_1_ARG_BELL_NUMBER = [DEF]"Bell number";
FUNCTION_1_ARG_LUCAS_NUMBER = [DEF]"Lucas number";
FUNCTION_1_ARG_FIBONACCI_NUMBER = [DEF]"Fibonacci number";
FUNCTION_1_ARG_HARMONIC_NUMBER = [DEF]"Harmonic number";
FUNCTION_1_ARG_IS_PRIME = [DEF]"Prime number test (is number a prime?)";
FUNCTION_1_ARG_PRIME_COUNT = [DEF]"Prime-counting";
FUNCTION_1_ARG_EXP_INT = [DEF]"Exponential integral";
FUNCTION_1_ARG_LOG_INT = [DEF]"Logarithmic integral";
FUNCTION_1_ARG_OFF_LOG_INT = [DEF]"Offset logarithmic integral";
FUNCTION_1_ARG_GAUSS_ERF = [DEF]"Gauss error";
FUNCTION_1_ARG_GAUSS_ERFC = [DEF]"Gauss complementary error";
FUNCTION_1_ARG_GAUSS_ERF_INV = [DEF]"Inverse Gauss error";
FUNCTION_1_ARG_GAUSS_ERFC_INV = [DEF]"Inverse Gauss complementary error";
FUNCTION_1_ARG_ULP = [DEF]"Unit in The Last Place";
FUNCTION_1_ARG_ISNAN = [DEF]"Returns true if value is a Not-a-Number (NaN), false otherwise";
FUNCTION_1_ARG_NDIG10 = [DEF]"Number of digits in numeral system with base 10";
FUNCTION_1_ARG_NFACT = [DEF]"Prime decomposition - number of distinct prime factors";
FUNCTION_1_ARG_ARCSEC = [DEF]"Inverse trigonometric secant";
FUNCTION_1_ARG_ARCCSC = [DEF]"Inverse trigonometric cosecant";
FUNCTION_1_ARG_GAMMA = [DEF]"Gamma";
FUNCTION_1_ARG_LAMBERT_W0 = [DEF]"Lambert-W, principal branch 0, also called the omega or product logarithm";
FUNCTION_1_ARG_LAMBERT_W1 = [DEF]"Lambert-W, branch -1, also called the omega or product logarithm";
FUNCTION_1_ARG_SGN_GAMMA = [DEF]"Signum of Gamma";
FUNCTION_1_ARG_LOG_GAMMA = [DEF]"Log Gamma";
FUNCTION_1_ARG_DI_GAMMA = [DEF]"Digamma as the logarithmic derivative of the Gamma";
FUNCTION_1_ARG_PARAM = [DEF]"Automatically generated function for user defined functions, returns function parameter value at index 'i'";
// -------------------------------------------------
FUNCTION_2_ARG_LOG = [DEF]"Logarithm";
FUNCTION_2_ARG_MOD = [DEF]"Modulo";
FUNCTION_2_ARG_BINOM_COEFF = [DEF]"Binomial coefficient, number of k-combinations that can be drawn from n-elements set";
FUNCTION_2_ARG_BERNOULLI_NUMBER = [DEF]"Bernoulli numbers";
FUNCTION_2_ARG_STIRLING1_NUMBER = [DEF]"Stirling numbers of the first kind";
FUNCTION_2_ARG_STIRLING2_NUMBER = [DEF]"Stirling numbers of the second kind";
FUNCTION_2_ARG_WORPITZKY_NUMBER = [DEF]"Worpitzky number";
FUNCTION_2_ARG_EULER_NUMBER = [DEF]"Euler number";
FUNCTION_2_ARG_KRONECKER_DELTA = [DEF]"Kronecker delta";
FUNCTION_2_ARG_EULER_POLYNOMIAL = [DEF]"Euler polynomial";
FUNCTION_2_ARG_HARMONIC_NUMBER = [DEF]"Harmonic number";
FUNCTION_2_ARG_ROUND = [DEF]"Half-up rounding";
FUNCTION_2_ARG_NDIG = [DEF]"Number of digits representing the number in numeral system with given base";
FUNCTION_2_ARG_DIGIT10 = [DEF]"Digit at position 1 ... n (left -> right) or 0 ... -(n-1) (right -> left) - base 10 numeral system";
FUNCTION_2_ARG_FACTVAL = [DEF]"Prime decomposition - factor value at position between 1 ... nfact(n) - ascending order by factor value";
FUNCTION_2_ARG_FACTEXP = [DEF]"Prime decomposition - factor exponent / multiplicity at position between 1 ... nfact(n) - ascending order by factor value";
FUNCTION_2_ARG_ROOT = [DEF]"N-th order root of a number";
FUNCTION_2_ARG_INC_GAMMA_LOWER = [DEF]"Lower incomplete gamma";
FUNCTION_2_ARG_INC_GAMMA_UPPER = [DEF]"Upper incomplete Gamma";
FUNCTION_2_ARG_REG_GAMMA_LOWER = [DEF]"Lower regularized P gamma";
FUNCTION_2_ARG_REG_GAMMA_UPPER = [DEF]"Upper regularized Q Gamma";
FUNCTION_2_ARG_PERMUTATIONS = [DEF]"Number of k-permutations that can be drawn from n-elements set";
FUNCTION_2_ARG_BETA = [DEF]"The Beta, also called the Euler integral of the first kind";
FUNCTION_2_ARG_LOG_BETA = [DEF]"The Log Beta, also called the Log Euler integral of the first kind";
// -------------------------------------------------
FUNCTION_3_ARG_IF = [DEF]"If";
FUNCTION_3_ARG_CHI = [DEF]"Characteristic function for x in (a,b)";
FUNCTION_3_ARG_CHI_LR = [DEF]"Characteristic function for x in [a,b]";
FUNCTION_3_ARG_CHI_L = [DEF]"Characteristic function for x in [a,b)";
FUNCTION_3_ARG_CHI_R = [DEF]"Characteristic function for x in (a,b]";
FUNCTION_3_ARG_DIGIT = [DEF]"Digit at position 1 ... n (left -> right) or 0 ... -(n-1) (right -> left) - numeral system with given base";
FUNCTION_3_ARG_INC_BETA = [DEF]"The incomplete Beta, also called the incomplete Euler integral of the first kind";
FUNCTION_3_ARG_REG_BETA = [DEF]"The regularized incomplete Beta (or regularized beta), also called the regularized incomplete Euler integral of the first kind";
// -------------------------------------------------
FUNCTION_VARIADIC_IFF = [DEF]"If function";
FUNCTION_VARIADIC_MIN = [DEF]"Minimum";
FUNCTION_VARIADIC_MAX = [DEF]"Maximum";
FUNCTION_VARIADIC_CONT_FRAC = [DEF]"Continued fraction";
FUNCTION_VARIADIC_CONT_POL = [DEF]"Continued polynomial";
FUNCTION_VARIADIC_GCD = [DEF]"Greatest common divisor";
FUNCTION_VARIADIC_LCM = [DEF]"Least common multiple";
FUNCTION_VARIADIC_SUM = [DEF]"Summation";
FUNCTION_VARIADIC_PROD = [DEF]"Multiplication";
FUNCTION_VARIADIC_AVG = [DEF]"Mean / average value";
FUNCTION_VARIADIC_VAR = [DEF]"Bias-corrected sample variance";
FUNCTION_VARIADIC_STD = [DEF]"Bias-corrected sample standard deviation";
FUNCTION_VARIADIC_RND_LIST = [DEF]"Random number from a given list of numbers";
FUNCTION_VARIADIC_COALESCE = [DEF]"Returns the first non-NaN value";
FUNCTION_VARIADIC_OR = [DEF]"Logical disjunction (OR) - variadic";
FUNCTION_VARIADIC_AND = [DEF]"Logical conjunction (AND) - variadic";
FUNCTION_VARIADIC_XOR = [DEF]"Exclusive or (XOR) - variadic";
FUNCTION_VARIADIC_ARGMIN = [DEF]"Arguments / indices of the minima";
FUNCTION_VARIADIC_ARGMAX = [DEF]"Arguments / indices of the maxima";
FUNCTION_VARIADIC_MEDIAN = [DEF]"The sample median";
FUNCTION_VARIADIC_MODE = [DEF]"Mode - the value that appears most often";
FUNCTION_VARIADIC_BASE = [DEF]"Returns number in given numeral system base represented by list of digits";
FUNCTION_VARIADIC_NDIST = [DEF]"Number of distinct values";
// -------------------------------------------------
OPERATOR_PLUS = [DEF]"Addition";
OPERATOR_MINUS = [DEF]"Subtraction";
OPERATOR_MULTIPLY = [DEF]"Multiplication";
OPERATOR_DIVIDE = [DEF]"Division";
OPERATOR_POWER = [DEF]"Exponentiation";
OPERATOR_FACT = [DEF]"Factorial";
OPERATOR_MOD = [DEF]"Modulo";
OPERATOR_PERC = [DEF]"Percentage";
OPERATOR_TETRATION = [DEF]"Tetration (hyper-4, power tower, exponential tower)";
OPERATOR_SQUARE_ROOT = [DEF]"Square root";
OPERATOR_CUBE_ROOT = [DEF]"Cube root";
OPERATOR_FOURTH_ROOT = [DEF]"Fourth root";
// -------------------------------------------------
PARSER_SYMBOL_LEFT_PARENTHESES = [DEF]"Left parentheses";
PARSER_SYMBOL_RIGHT_PARENTHESES = [DEF]"Right parentheses";
PARSER_SYMBOL_COMMA = [DEF]"Comma (function parameters)";
PARSER_SYMBOL_SEMI = [DEF]"Semicolon (function parameters)";
PARSER_SYMBOL_BLANK = [DEF]"Blank (whitespace) character";
PARSER_SYMBOL_NUMBER_INTEGER = [DEF]"Integer";
PARSER_SYMBOL_NUMBER_DECIMAL = [DEF]"Decimal";
PARSER_SYMBOL_NUMBER_LEADING_ZERO = [DEF]"Leading zero";
PARSER_SYMBOL_NUMBER_SCI_NOTATION = [DEF]"Scientific notation";
PARSER_SYMBOL_NUMBER_NO_LEADING_ZERO = [DEF]"No leading zero";
PARSER_SYMBOL_NUMBER_FRACTIONS = [DEF]"Fractions";
PARSER_SYMBOL_NUMBER_OTHER_NUMERAL_SYSTEMS = [DEF]"Other numeral systems";
PARSER_SYMBOL_UNICODE_MATH = [DEF]" - Unicode math symbol";
// -------------------------------------------------
DIMENSIONLESS_UNIT_PERC = [DEF]"Percentage";
DIMENSIONLESS_UNIT_PROMIL = [DEF]"Promil, Per mille";
DIMENSIONLESS_UNIT_YOTTA = [DEF]"Septillion / Yotta";
DIMENSIONLESS_UNIT_ZETTA = [DEF]"Sextillion / Zetta";
DIMENSIONLESS_UNIT_EXA = [DEF]"Quintillion / Exa";
DIMENSIONLESS_UNIT_PETA = [DEF]"Quadrillion / Peta";
DIMENSIONLESS_UNIT_TERA = [DEF]"Trillion / Tera";
DIMENSIONLESS_UNIT_GIGA = [DEF]"Billion / Giga";
DIMENSIONLESS_UNIT_MEGA = [DEF]"Million / Mega";
DIMENSIONLESS_UNIT_KILO = [DEF]"Thousand / Kilo";
DIMENSIONLESS_UNIT_HECTO = [DEF]"Hundred / Hecto";
DIMENSIONLESS_UNIT_DECA = [DEF]"Ten / Deca";
DIMENSIONLESS_UNIT_DECI = [DEF]"Tenth / Deci";
DIMENSIONLESS_UNIT_CENTI = [DEF]"Hundredth / Centi";
DIMENSIONLESS_UNIT_MILLI = [DEF]"Thousandth / Milli";
DIMENSIONLESS_UNIT_MICRO = [DEF]"Millionth / Micro";
DIMENSIONLESS_UNIT_NANO = [DEF]"Billionth / Nano";
DIMENSIONLESS_UNIT_PICO = [DEF]"Trillionth / Pico";
DIMENSIONLESS_UNIT_FEMTO = [DEF]"Quadrillionth / Femto";
DIMENSIONLESS_UNIT_ATTO = [DEF]"Quintillionth / Atoo";
DIMENSIONLESS_UNIT_ZEPTO = [DEF]"Sextillionth / Zepto";
DIMENSIONLESS_UNIT_YOCTO = [DEF]"Septillionth / Yocto";
// -------------------------------------------------
UNIT_METRE = [DEF]"Meter";
UNIT_KILOMETRE = [DEF]"Kilometer";
UNIT_CENTIMETRE = [DEF]"Centimeter";
UNIT_MILLIMETRE = [DEF]"Millimeter";
UNIT_INCH = [DEF]"Inch";
UNIT_YARD = [DEF]"Yard";
UNIT_FEET = [DEF]"Feet";
UNIT_MILE = [DEF]"Mile";
UNIT_NAUTICAL_MILE = [DEF]"Nautical mile";
UNIT_METRE2 = [DEF]"Square meter";
UNIT_CENTIMETRE2 = [DEF]"Square centimeter";
UNIT_MILLIMETRE2 = [DEF]"Square millimeter";
UNIT_ARE = [DEF]"Are";
UNIT_HECTARE = [DEF]"Hectare";
UNIT_ACRE = [DEF]"Acre";
UNIT_KILOMETRE2 = [DEF]"Square kilometer";
UNIT_MILLIMETRE3 = [DEF]"Cubic millimeter";
UNIT_CENTIMETRE3 = [DEF]"Cubic centimeter";
UNIT_METRE3 = [DEF]"Cubic meter";
UNIT_KILOMETRE3 = [DEF]"Cubic kilometer";
UNIT_MILLILITRE = [DEF]"Milliliter";
UNIT_LITRE = [DEF]"Liter";
UNIT_GALLON = [DEF]"Gallon";
UNIT_PINT = [DEF]"Pint";
UNIT_SECOND = [DEF]"Second";
UNIT_MILLISECOND = [DEF]"Millisecond";
UNIT_MINUTE = [DEF]"Minute";
UNIT_HOUR = [DEF]"Hour";
UNIT_DAY = [DEF]"Day";
UNIT_WEEK = [DEF]"Week";
UNIT_JULIAN_YEAR = [DEF]"Julian year = 365.25 days";
UNIT_KILOGRAM = [DEF]"Kilogram";
UNIT_GRAM = [DEF]"Gram";
UNIT_MILLIGRAM = [DEF]"Milligram";
UNIT_DECAGRAM = [DEF]"Decagram";
UNIT_TONNE = [DEF]"Tonne";
UNIT_OUNCE = [DEF]"Ounce";
UNIT_POUND = [DEF]"Pound";
UNIT_BIT = [DEF]"Bit";
UNIT_KILOBIT = [DEF]"Kilobit";
UNIT_MEGABIT = [DEF]"Megabit";
UNIT_GIGABIT = [DEF]"Gigabit";
UNIT_TERABIT = [DEF]"Terabit";
UNIT_PETABIT = [DEF]"Petabit";
UNIT_EXABIT = [DEF]"Exabit";
UNIT_ZETTABIT = [DEF]"Zettabit";
UNIT_YOTTABIT = [DEF]"Yottabit";
UNIT_BYTE = [DEF]"Byte";
UNIT_KILOBYTE = [DEF]"Kilobyte";
UNIT_MEGABYTE = [DEF]"Megabyte";
UNIT_GIGABYTE = [DEF]"Gigabyte";
UNIT_TERABYTE = [DEF]"Terabyte";
UNIT_PETABYTE = [DEF]"Petabyte";
UNIT_EXABYTE = [DEF]"Exabyte";
UNIT_ZETTABYTE = [DEF]"Zettabyte";
UNIT_YOTTABYTE = [DEF]"Yottabyte";
UNIT_JOULE = [DEF]"Joule";
UNIT_ELECTRONO_VOLT = [DEF]"Electronovolt";
UNIT_KILO_ELECTRONO_VOLT = [DEF]"Kiloelectronovolt";
UNIT_MEGA_ELECTRONO_VOLT = [DEF]"Megaelectronovolt";
UNIT_GIGA_ELECTRONO_VOLT = [DEF]"Gigaelectronovolt";
UNIT_TERA_ELECTRONO_VOLT = [DEF]"Teraelectronovolt";
UNIT_METRE_PER_SECOND = [DEF]"Meter per second";
UNIT_KILOMETRE_PER_HOUR = [DEF]"Kilometer per hour";
UNIT_MILE_PER_HOUR = [DEF]"Mile per hour";
UNIT_KNOT = [DEF]"Knot";
UNIT_METRE_PER_SECOND2 = [DEF]"Meter per square second";
UNIT_KILOMETRE_PER_HOUR2 = [DEF]"Kilometer per square hour";
UNIT_MILE_PER_HOUR2 = [DEF]"Mile per square hour";
UNIT_RADIAN_ARC = [DEF]"Radian";
UNIT_DEGREE_ARC = [DEF]"Degree of arc";
UNIT_MINUTE_ARC = [DEF]"Minute of arc";
UNIT_SECOND_ARC = [DEF]"Second of arc";

@mariuszgromada
Copy link
Owner Author

mariuszgromada commented Jan 28, 2023

To print initial source code for user defined string resources:

StringResources stringResources = StringModel.getStringResources();
stringResources.printInitSrc();

Result

USER_LANGUAGE = "English";
// -------------------------------------------------
STARTING_SYNTAX_CHECK = "Starting syntax check...";
NO_ERRORS_DETECTED = "No errors detected.";
NO_ERRORS_DETECTED_IN_ARGUMENT_DEFINITION = "No errors detected in argument definition.";
NO_ERRORS_DETECTED_IN_RECURSIVE_ARGUMENT_DEFINITION = "No errors detected in recursive argument definition.";
NO_ERRORS_DETECTED_IN_FUNCTION_DEFINITION = "No errors detected in function definition.";
NO_ERRORS_DETECTED_IN_CONSTANT_DEFINITION = "No errors detected in function definition.";
LEXICAL_ERROR_HAS_BEEN_FOUND = "A lexical error has been found.";
ERRORS_HAVE_BEEN_FOUND = "Errors have been found.";
ALREADY_CHECKED_NO_ERRORS = "The syntax has already been checked - no errors detected.";
SYNTAX_STATUS_UNKNOWN = "The syntax status is unknown.";
PROBLEM_WITH_EXPRESSION_SYNTAX = "There is a problem with expression syntax.";
// -------------------------------------------------
ENCOUNTERED = "Encountered";
AT_INDEX = "at index";
WAS_EXPECTING = "Was expecting";
WAS_EXPECTING_ONE_OF = "Was expecting one of";
UNEXPECTED_EXCEPTION_WAS_ENCOUNTERED = "An unexpected exception was encountered. Probably a parser error - please report it.";
UNEXPECTED_TOKEN_MANAGER_ERROR_WAS_ENCOUNTERED = "An unexpected token manager error was encountered. Probably a parser error - please report it.";
// -------------------------------------------------
EXPRESSION_STRING_IS_EMPTY = "The expression string is empty.";
EXPRESSION_DOES_NOT_CONTAIN_ANY_TOKENS = "The expression does not contain any tokens.";
DUPLICATED_KEYWORD = "Duplicated keywords were found. Check user-defined items. Consider using option to override built-in tokens.";
ELEMENT = "Element";
ERROR = "Error";
EXCEPTION = "Exception";
TOKEN = "Token";
INDEX = "index";
INVALID_TOKEN = "Invalid token.";
INVALID_TOKEN_POSSIBLY_MISSING_MULTIPLICATION_OPERATOR = "Invalid token. Possibly missing multiplication operator - try implied multiplication mode.";
EXPRESSION_TOKENS = "Expression tokens";
NULL_TOKENS_LIST = "NULL tokens list";
// -------------------------------------------------
FUNCTION_WITH_EXTENDED_BODY_NO_ERRORS = "User-defined function with extended body - no errors by assumption.";
ARGUMENT_WITH_EXTENDED_BODY_NO_ERRORS = "User-defined argument with extended body - no errors by assumption.";
PROVIDED_EXTENSION_IS_NULL = "Provided extension is null.";
PROVIDED_STRING_IS_NULL = "Provided string is null.";
PROVIDED_ELEMENTS_ARE_NULL = "Provided elements are null.";
MULTIPLICATION_OPERATOR_MISSING_TRY_IMPLIED_MULTIPLICATION_MODE = "Possibly missing multiplication operator - try implied multiplication mode.";
// -------------------------------------------------
STARTING_SYNTAX_CHECK_DEPENDENT_ARGUMENT = "Starting syntax check of the dependent user-defined argument.";
STARTING_SYNTAX_CHECK_RECURSIVE_ARGUMENT = "Starting syntax check of the user-defined recursive argument.";
STARTING_SYNTAX_CHECK_USER_DEFINED_FUNCTION = "Starting syntax check of the user-defined function.";
STARTING_SYNTAX_CHECK_VARIADIC_USER_DEFINED_FUNCTION = "Starting syntax check of the variadic user-defined function.";
// -------------------------------------------------
ARGUMENT_WAS_EXPECTED = "User-defined argument was expected.";
RECURSIVE_ARGUMENT_EXPECTING_1_PARAMETER = "A recursive user-defined argument requires one parameter.";
// -------------------------------------------------
INCORRECT_NUMBER_OF_PARAMETERS_IN_USER_DEFINED_FUNCTION = "Incorrect number of parameters in user-defined function.";
// -------------------------------------------------
INCORRECT_NUMBER_OF_FUNCTION_PARAMETERS = "Incorrect number of function parameters.";
EXPECTED = "Expected";
PROVIDED = "provided";
USER_DEFINED_FUNCTION_EXPECTING_AT_LEAST_ONE_ARGUMENT = "Incorrect number of parameters in user-defined function - at least one argument is expected.";
EXPECTED_EVEN_NUMBER_OF_ARGUMENTS = "Even number of arguments was expected.";
// -------------------------------------------------
INVALID_FUNCTION_NAME = "Invalid function name.";
INVALID_ARGUMENT_NAME = "Invalid argument name.";
INVALID_CONSTANT_NAME = "Invalid constant name.";
INVALID_FUNCTION_DEFINITION = "Invalid function definition.";
INVALID_ARGUMENT_DEFINITION = "Invalid argument definition.";
INVALID_CONSTANT_DEFINITION = "Invalid constant definition.";
PATTERN_DOES_NOT_MATCH = "Pattern does not match.";
PATTERN_EXAMPLES = "Pattern examples";
// -------------------------------------------------
CONSTANT_WAS_EXPECTED = "Constant value was expected.";
USER_CONSTANT_WAS_EXPECTED = "User-defined constant was expected.";
// -------------------------------------------------
UNARY_FUNCTION_EXPECTS_1_PARAMETER = "A unary function expects 1 parameter.";
BINARY_FUNCTION_EXPECTS_2_PARAMETERS = "A binary function expects 2 parameters.";
TERNARY_FUNCTION_EXPECTS_3_PARAMETERS = "A ternary function expects 3 parameters.";
// -------------------------------------------------
DERIVATIVE_OPERATOR_EXPECTS_2_OR_3_OR_4_OR_5_CALCULUS_PARAMETERS = "A derivative operator expects 2 or 3 or 4 or 5 calculus parameters.";
ARGUMENT_WAS_EXPECTED_IN_A_DERIVATIVE_OPERATOR_INVOCATION = "An argument was expected in a derivative operator invocation.";
DUPLICATED_KEYWORDS_WERE_FOUND_IN_THE_CALCULUS_OPERATOR_INVOCATION = "Duplicated keywords were found in the calculus operator invocation, check calculus parameters.";
ONE_TOKEN_WAS_EXPECTED_IN_THE_CALCULUS_OPERATOR_INVOCATION = "One token (argument or unknown) was expected in the calculus operator invocation.";
NTH_ORDER_DERIVATIVE_OPERATOR_EXPECTS_3_OR_5_CALCULUS_PARAMETERS = "N-th order derivative operator expects 3 or 5 calculus parameters.";
INTEGRAL_SOLVE_OPERATOR_EXPECTS_4_CALCULUS_PARAMETERS = "The integral / solve operator expects 4 calculus parameters.";
ITERATED_OPERATOR_EXPECTS_4_OR_5_CALCULUS_PARAMETERS = "The iterated operator expects 4 or 5 calculus parameters.";
FORWARD_BACKWARD_DIFFERENCE_EXPECTS_2_OR_3_PARAMETERS = "The forward / backward difference operator expects 2 or 3 calculus parameters.";
FORWARD_BACKWARD_DIFFERENCE_ARGUMENT_WAS_EXPECTED = "An argument was expected in the forward / backward difference operator invocation.";
AT_LEAST_ONE_ARGUMENT_WAS_EXPECTED = "At least one argument was expected.";
// -------------------------------------------------
ERROR_WHILE_EXECUTING_THE_CALCULATE = "Error while executing the calculate.";
RECURSION_CALLS_COUNTER_EXCEEDED = "Recursion calls counter exceeded maximum calls allowed.";
RECURSION_CALLS_COUNTER = "Recursion calls counter";
STARTING_CALCULATION_LOOP = "Starting calculation loop.";
CANCEL_REQUEST_FINISHING = "Cancel request encountered - finishing.";
INTERNAL_ERROR_STRANGE_TOKEN_LEVEL_FINISHING = "Internal error / strange token level - finishing. Probably a parser error - please report it.";
FATAL_ERROR_DO_NOT_KNOW_WHAT_TO_DO_WITH_THE_ENCOUNTERED_TOKEN = "Fatal error, do not know what to do with the encountered token. Probably a parser error - please report it.";
MAXIMUM_ERROR_MESSAGE_LENGTH_EXCEEDED = "The maximum error message length has been exceeded.";
// -------------------------------------------------
STARTING = "Starting...";
PARSING = "Parsing";
CALCULATED_VALUE = "Calculated value";
EXITING = "Exiting.";
DONE = "done.";
// -------------------------------------------------
KEYWORD = "Keyword";
SYNTAX = "Syntax";
NUMBER = "Number";
NUMBER_LITERAL = "Number literal";
TYPE = "Type";
SINCE = "Since";
DESCRIPTION = "Description";
// -------------------------------------------------
CALC_STEPS_REGISTER_IS_EMPTY = "CalcStepsRegister is empty";
CALC_STEPS_REGISTER_FOR = "CalcStepsRegister for";
ARGUMENT = "Argument";
FUNCTION = "Function";
EXPRESSION = "Expression";
RESULT = "result";
COMPUTING_TIME = "Computing time";
GROUP_SHORT = "gr";
NUMBER_SHORT = "nr";
FIRST = "first";
LAST = "last";
DESCRIPTION_SHORT = "descr";
STEP = "step";
// -------------------------------------------------
SERIALIZATION_PERFORMED = "Serialization has been performed:";
DESERIALIZATION_PERFORMED = "Deserialization has been performed:";
NULL_OBJECT_PROVIDED = "Null object passed in the parameter.";
NULL_FILE_PATH_PROVIDED = "Null file passed in the parameter.";
FILE_PATH_ZERO_LENGTH_PROVIDED = "The file path does not contain any characters.";
FILE_PATH_IS_NOT_A_FILE = "The file path is not a file:";
FILE_PATH_NOT_EXISTS = "The file path does not exist:";
NULL_DATA_PROVIDED = "Null data passed in the parameter.";
BINARY_SERIALIZATION_ENABLED = "Binary serialization is enabled. Use it only in a conscious and limited way.";
BINARY_SERIALIZATION_DISABLED = "Binary serialization is disabled. You can enable it if you are aware of security risks.";
// -------------------------------------------------
USER_DEFINED_EXPRESSION = "User defined expression";
USER_DEFINED_ARGUMENT = "User defined argument";
USER_DEFINED_CONSTANT = "User defined constant";
USER_DEFINED_FUNCTION = "User defined function";
USER_DEFINED_RECURSIVE_ARGUMENT = "User defined recursive argument";
// -------------------------------------------------
HELP_CONTENT_LIMITED_TO_QUERY = "Help content limited to query";
ALL_HELP_CONTENT = "All help content.";
CAPTION = "Caption";
// -------------------------------------------------
WARNING_BINARY_SERIALIZATION_SECURITY_RISKS = "SECURITY WARNING:\n"
+ "Deserializing data from an untrusted source can introduce security vulnerabilities\n"
+ "to your application. Depending on the settings used during deserialization,\n"
+ "untrusted data may be able to execute arbitrary code or cause a denial of service\n"
+ "attack. Untrusted data can come from over the network from an untrusted source\n"
+ "(e.g. any network client), or it can be manipulated/tampered by an intermediary while\n"
+ "in transit over an unauthenticated connection, or from local storage where it may\n"
+ "have been compromised/tampered, or from many other sources. MathParser.org-mXparser\n"
+ "does not provide any means to authenticate data or secure it from tampering. Use an\n"
+ "appropriate data authentication method before deserializing. Be very mindful of these\n"
+ "attack scenarios; many projects and companies and users of serialization libraries in\n"
+ "general have been bitten by untrusted deserialization of user data in the past.";
// -------------------------------------------------
BINARY_RELATION = "Binary relation";
BITWISE_OPERATOR = "Bitwise operator";
BOOLEAN_OPERATOR = "Boolean operator";
CALCULUS_OPERATOR = "Calculus operator";
CONSTANT_VALUE = "Constant value";
FUNCTION_1_ARG = "Unary function";
FUNCTION_2_ARG = "Binary function";
FUNCTION_3_ARG = "Ternary function";
FUNCTION_VARIADIC = "Variadic function";
OPERATOR = "Operator";
PARSER_SYMBOL = "Parser symbol";
RANDOM_VARIABLE = "Random variable";
UNIT = "Unit";
DIMENSIONLESS_UNIT = "Dimensionless unit";
ITERATED_OPERATOR = "Iterated operator";
// -------------------------------------------------
RATIO_FRACTION = "Ratio / Fraction";
METRIC_PREFIX = "Metric prefix";
UNIT_OF_LENGTH = "Unit of length";
UNIT_OF_AREA = "Unit of area";
UNIT_OF_VOLUME = "Unit of volume";
UNIT_OF_TIME = "Unit of time";
UNIT_OF_MASS = "Unit of mass";
UNIT_OF_INFORMATION = "Unit of information";
UNIT_OF_ENERGY = "Unit of energy";
UNIT_OF_SPEED = "Unit of speed";
UNIT_OF_ACCELERATION = "Unit of acceleration";
UNIT_OF_ANGLE = "Unit of angle";
// -------------------------------------------------
PHYSICAL_CONSTANT = "Physical constant";
ASTRONOMICAL_CONSTANT = "Astronomical constant";
MATHEMATICAL_CONSTANT = "Mathematical constant";
// -------------------------------------------------
PROBABILITY_DISTRIBUTION_FUNCTION = "Probability distribution function";
CUMULATIVE_DISTRIBUTION_FUNCTION = "Cumulative distribution function";
QUANTILE_FUNCTION = "Quantile function (inverse cumulative distribution function)";
// -------------------------------------------------
STUDENTS_T_DISTRIBUTION = "Student's t-distribution";
CHI_SQUARED_DISTRIBUTION = "Chi-squared distribution";
SNEDECORS_F_DISTRIBUTION = "Snedecor's F distribution (F-distribution or F-ratio, also known as Fisher–Snedecor distribution)";
UNIFORM_CONTINUOUS_DISTRIBUTION = "Uniform continuous distribution";
UNIFORM_DISCRETE_DISTRIBUTION = "Uniform discrete distribution";
NORMAL_DISTRIBUTION = "Normal distribution";
// -------------------------------------------------
RANDOM_INTEGER = "Random integer";
RANDOM_NATURAL_NUMBER = "Random natural number";
RANDOM_NATURAL_NUMBER_INCLUDING_0 = "Random natural number including 0";
// -------------------------------------------------
SPECIAL_FUNCTION = "Special function";
// -------------------------------------------------
SEMI_MAJOR_AXIS = "Semi major axis";
// -------------------------------------------------
BINARY_RELATION_EQ = "Equality";
BINARY_RELATION_NEQ = "Inequation";
BINARY_RELATION_LT = "Lower than";
BINARY_RELATION_GT = "Greater than";
BINARY_RELATION_LEQ = "Lower or equal";
BINARY_RELATION_GEQ = "Greater or equal";
// -------------------------------------------------
BITWISE_OPERATOR_COMPL = "Bitwise unary complement";
BITWISE_OPERATOR_AND = "Bitwise and";
BITWISE_OPERATOR_XOR = "Bitwise exclusive or";
BITWISE_OPERATOR_OR = "Bitwise inclusive or";
BITWISE_OPERATOR_LEFT_SHIFT = "Signed left shift";
BITWISE_OPERATOR_RIGHT_SHIFT = "Signed right shift";
// -------------------------------------------------
BOOLEAN_OPERATOR_AND = "Logical conjunction";
BOOLEAN_OPERATOR_OR = "Logical disjunction";
BOOLEAN_OPERATOR_NEG = "Negation";
BOOLEAN_OPERATOR_NAND = "Sheffer stroke";
BOOLEAN_OPERATOR_NOR = "Logical not or (joint denial)";
BOOLEAN_OPERATOR_XOR = "Exclusive or";
BOOLEAN_OPERATOR_IMP = "Implication";
BOOLEAN_OPERATOR_CIMP = "Converse implication";
BOOLEAN_OPERATOR_NIMP = "Material nonimplication";
BOOLEAN_OPERATOR_CNIMP = "Converse nonimplication";
BOOLEAN_OPERATOR_EQV = "Logical biconditional";
// -------------------------------------------------
CALCULUS_OPERATOR_SUM = "Summation SIGMA";
CALCULUS_OPERATOR_PROD = "Product PI";
CALCULUS_OPERATOR_INT = "Definite integral";
CALCULUS_OPERATOR_DER = "Derivative";
CALCULUS_OPERATOR_DER_LEFT = "Left derivative";
CALCULUS_OPERATOR_DER_RIGHT = "Right derivative";
CALCULUS_OPERATOR_DERN = "n-th derivative";
CALCULUS_OPERATOR_FORW_DIFF = "Forward difference";
CALCULUS_OPERATOR_BACKW_DIFF = "Backward difference";
CALCULUS_OPERATOR_AVG = "Average";
CALCULUS_OPERATOR_VAR = "Bias-corrected sample variance";
CALCULUS_OPERATOR_STD = "Bias-corrected sample standard deviation";
CALCULUS_OPERATOR_MIN = "Minimum value";
CALCULUS_OPERATOR_MAX = "Maximum value";
CALCULUS_OPERATOR_SOLVE = "Equation solving (root finding)";
// -------------------------------------------------
CONSTANT_VALUE_PI = "Pi, Archimedes' or Ludolph's number";
CONSTANT_VALUE_EULER = "Napier's or Euler's number (base of Natural logarithm)";
CONSTANT_VALUE_EULER_MASCHERONI = "Euler-Mascheroni constant";
CONSTANT_VALUE_GOLDEN_RATIO = "Golden ratio";
CONSTANT_VALUE_PLASTIC = "Plastic constant";
CONSTANT_VALUE_EMBREE_TREFETHEN = "Embree-Trefethen constant";
CONSTANT_VALUE_FEIGENBAUM_DELTA = "Feigenbaum delta constant";
CONSTANT_VALUE_FEIGENBAUM_ALPHA = "Feigenbaum alpha constant";
CONSTANT_VALUE_TWIN_PRIME = "Twin prime constant";
CONSTANT_VALUE_MEISSEL_MERTEENS = "Meissel-Mertens constant";
CONSTANT_VALUE_BRAUN_TWIN_PRIME = "Brun's constant for twin primes";
CONSTANT_VALUE_BRAUN_PRIME_QUADR = "Brun's constant for prime quadruplets";
CONSTANT_VALUE_BRUIJN_NEWMAN = "de Bruijn-Newman constant";
CONSTANT_VALUE_CATALAN = "Catalan's constant";
CONSTANT_VALUE_LANDAU_RAMANUJAN = "Landau-Ramanujan constant";
CONSTANT_VALUE_VISWANATH = "Viswanath's constant";
CONSTANT_VALUE_LEGENDRE = "Legendre's constant";
CONSTANT_VALUE_RAMANUJAN_SOLDNER = "Ramanujan-Soldner constant";
CONSTANT_VALUE_ERDOS_BORWEIN = "Erdos-Borwein constant";
CONSTANT_VALUE_BERNSTEIN = "Bernstein's constant";
CONSTANT_VALUE_GAUSS_KUZMIN_WIRSING = "Gauss-Kuzmin-Wirsing constant";
CONSTANT_VALUE_HAFNER_SARNAK_MCCURLEY = "Hafner-Sarnak-McCurley constant";
CONSTANT_VALUE_GOLOMB_DICKMAN = "Golomb-Dickman constant";
CONSTANT_VALUE_CAHEN = "Cahen's constant";
CONSTANT_VALUE_LAPLACE_LIMIT = "Laplace limit constant";
CONSTANT_VALUE_ALLADI_GRINSTEAD = "Alladi-Grinstead constant";
CONSTANT_VALUE_LENGYEL = "Lengyel's constant";
CONSTANT_VALUE_LEVY = "Levy's constant";
CONSTANT_VALUE_APERY = "Apery's constant";
CONSTANT_VALUE_MILLS = "Mills' constant";
CONSTANT_VALUE_BACKHOUSE = "Backhouse's constant";
CONSTANT_VALUE_PORTER = "Porter's constant";
CONSTANT_VALUE_LIEB_QUARE_ICE = "Lieb's square ice constant";
CONSTANT_VALUE_NIVEN = "Niven's constant";
CONSTANT_VALUE_SIERPINSKI = "Sierpinski's constant";
CONSTANT_VALUE_KHINCHIN = "Khinchin's constant";
CONSTANT_VALUE_FRANSEN_ROBINSON = "Fransen-Robinson constant";
CONSTANT_VALUE_LANDAU = "Landau's constant";
CONSTANT_VALUE_PARABOLIC = "Parabolic constant";
CONSTANT_VALUE_OMEGA = "Omega constant";
CONSTANT_VALUE_MRB = "MRB constant";
CONSTANT_VALUE_LI2 = "Logarithmic integral at point 2";
CONSTANT_VALUE_GOMPERTZ = "Gompertz constant";
CONSTANT_VALUE_LIGHT_SPEED = "Light speed in vacuum";
CONSTANT_VALUE_GRAVITATIONAL_CONSTANT = "Gravitational constant";
CONSTANT_VALUE_GRAVIT_ACC_EARTH = "Gravitational acceleration on Earth";
CONSTANT_VALUE_PLANCK_CONSTANT = "Planck constant";
CONSTANT_VALUE_PLANCK_CONSTANT_REDUCED = "Reduced Planck constant (Dirac constant)";
CONSTANT_VALUE_PLANCK_LENGTH = "Planck length";
CONSTANT_VALUE_PLANCK_MASS = "Planck mass";
CONSTANT_VALUE_PLANCK_TIME = "Planck time";
CONSTANT_VALUE_LIGHT_YEAR = "Light year";
CONSTANT_VALUE_ASTRONOMICAL_UNIT = "Astronomical unit";
CONSTANT_VALUE_PARSEC = "Parsec";
CONSTANT_VALUE_KILOPARSEC = "Kiloparsec";
CONSTANT_VALUE_EARTH_RADIUS_EQUATORIAL = "Earth equatorial radius";
CONSTANT_VALUE_EARTH_RADIUS_POLAR = "Earth polar radius";
CONSTANT_VALUE_EARTH_RADIUS_MEAN = "Earth mean radius";
CONSTANT_VALUE_EARTH_MASS = "Earth mass";
CONSTANT_VALUE_EARTH_SEMI_MAJOR_AXIS = "Earth-Sun distance";
CONSTANT_VALUE_MOON_RADIUS_MEAN = "Moon mean radius";
CONSTANT_VALUE_MOON_MASS = "Moon mass";
CONSTANT_VALUE_MONN_SEMI_MAJOR_AXIS = "Moon-Earth distance";
CONSTANT_VALUE_SOLAR_RADIUS = "Solar mean radius";
CONSTANT_VALUE_SOLAR_MASS = "Solar mass";
CONSTANT_VALUE_MERCURY_RADIUS_MEAN = "Mercury mean radius";
CONSTANT_VALUE_MERCURY_MASS = "Mercury mass";
CONSTANT_VALUE_MERCURY_SEMI_MAJOR_AXIS = "Mercury-Sun distance";
CONSTANT_VALUE_VENUS_RADIUS_MEAN = "Venus mean radius";
CONSTANT_VALUE_VENUS_MASS = "Venus mass";
CONSTANT_VALUE_VENUS_SEMI_MAJOR_AXIS = "Venus-Sun distance";
CONSTANT_VALUE_MARS_RADIUS_MEAN = "Mars mean radius";
CONSTANT_VALUE_MARS_MASS = "Mars mass";
CONSTANT_VALUE_MARS_SEMI_MAJOR_AXIS = "Mars-Sun distance";
CONSTANT_VALUE_JUPITER_RADIUS_MEAN = "Jupiter mean radius";
CONSTANT_VALUE_JUPITER_MASS = "Jupiter mass";
CONSTANT_VALUE_JUPITER_SEMI_MAJOR_AXIS = "Jupiter-Sun distance";
CONSTANT_VALUE_SATURN_RADIUS_MEAN = "Saturn mean radius";
CONSTANT_VALUE_SATURN_MASS = "Saturn mass";
CONSTANT_VALUE_SATURN_SEMI_MAJOR_AXIS = "Saturn-Sun distance";
CONSTANT_VALUE_URANUS_RADIUS_MEAN = "Uranus mean radius";
CONSTANT_VALUE_URANUS_MASS = "Uranus mass";
CONSTANT_VALUE_URANUS_SEMI_MAJOR_AXIS = "Uranus-Sun distance";
CONSTANT_VALUE_NEPTUNE_RADIUS_MEAN = "Neptune mean radius";
CONSTANT_VALUE_NEPTUNE_MASS = "Neptune mass";
CONSTANT_VALUE_NEPTUNE_SEMI_MAJOR_AXIS = "Neptune-Sun distance";
CONSTANT_VALUE_TRUE = "Boolean True represented as 1";
CONSTANT_VALUE_FALSE = "Boolean False represented as 0";
CONSTANT_VALUE_NPAR = "Automatically generated constant for user defined functions, returns number of given function parameters";
CONSTANT_VALUE_NAN = "Not-a-Number";
// -------------------------------------------------
FUNCTION_1_ARG_SIN = "Trigonometric sine";
FUNCTION_1_ARG_COS = "Trigonometric cosine";
FUNCTION_1_ARG_TAN = "Trigonometric tangent";
FUNCTION_1_ARG_CTAN = "Trigonometric cotangent";
FUNCTION_1_ARG_SEC = "Trigonometric secant";
FUNCTION_1_ARG_COSEC = "Trigonometric cosecant";
FUNCTION_1_ARG_ASIN = "Inverse trigonometric sine";
FUNCTION_1_ARG_ACOS = "Inverse trigonometric cosine";
FUNCTION_1_ARG_ATAN = "Inverse trigonometric tangent";
FUNCTION_1_ARG_ACTAN = "Inverse trigonometric cotangent";
FUNCTION_1_ARG_LN = "Natural logarithm (base e)";
FUNCTION_1_ARG_LOG2 = "Binary logarithm (base 2)";
FUNCTION_1_ARG_LOG10 = "Common logarithm (base 10)";
FUNCTION_1_ARG_RAD = "Degrees to radians";
FUNCTION_1_ARG_EXP = "Exponential";
FUNCTION_1_ARG_SQRT = "Squre root";
FUNCTION_1_ARG_SINH = "Hyperbolic sine";
FUNCTION_1_ARG_COSH = "Hyperbolic cosine";
FUNCTION_1_ARG_TANH = "Hyperbolic tangent";
FUNCTION_1_ARG_COTH = "Hyperbolic cotangent";
FUNCTION_1_ARG_SECH = "Hyperbolic secant";
FUNCTION_1_ARG_CSCH = "Hyperbolic cosecant";
FUNCTION_1_ARG_DEG = "Radians to degrees";
FUNCTION_1_ARG_ABS = "Absolut value";
FUNCTION_1_ARG_SGN = "Signum";
FUNCTION_1_ARG_FLOOR = "Floor";
FUNCTION_1_ARG_CEIL = "Ceiling";
FUNCTION_1_ARG_NOT = "Negation";
FUNCTION_1_ARG_ARSINH = "Inverse hyperbolic sine";
FUNCTION_1_ARG_ARCOSH = "Inverse hyperbolic cosine";
FUNCTION_1_ARG_ARTANH = "Inverse hyperbolic tangent";
FUNCTION_1_ARG_ARCOTH = "Inverse hyperbolic cotangent";
FUNCTION_1_ARG_ARSECH = "Inverse hyperbolic secant";
FUNCTION_1_ARG_ARCSCH = "Inverse hyperbolic cosecant";
FUNCTION_1_ARG_SA = "Sinc (normalized)";
FUNCTION_1_ARG_SINC = "Sinc (unnormalized)";
FUNCTION_1_ARG_BELL_NUMBER = "Bell number";
FUNCTION_1_ARG_LUCAS_NUMBER = "Lucas number";
FUNCTION_1_ARG_FIBONACCI_NUMBER = "Fibonacci number";
FUNCTION_1_ARG_HARMONIC_NUMBER = "Harmonic number";
FUNCTION_1_ARG_IS_PRIME = "Prime number test (is number a prime?)";
FUNCTION_1_ARG_PRIME_COUNT = "Prime-counting";
FUNCTION_1_ARG_EXP_INT = "Exponential integral";
FUNCTION_1_ARG_LOG_INT = "Logarithmic integral";
FUNCTION_1_ARG_OFF_LOG_INT = "Offset logarithmic integral";
FUNCTION_1_ARG_GAUSS_ERF = "Gauss error";
FUNCTION_1_ARG_GAUSS_ERFC = "Gauss complementary error";
FUNCTION_1_ARG_GAUSS_ERF_INV = "Inverse Gauss error";
FUNCTION_1_ARG_GAUSS_ERFC_INV = "Inverse Gauss complementary error";
FUNCTION_1_ARG_ULP = "Unit in The Last Place";
FUNCTION_1_ARG_ISNAN = "Returns true if value is a Not-a-Number (NaN), false otherwise";
FUNCTION_1_ARG_NDIG10 = "Number of digits in numeral system with base 10";
FUNCTION_1_ARG_NFACT = "Prime decomposition - number of distinct prime factors";
FUNCTION_1_ARG_ARCSEC = "Inverse trigonometric secant";
FUNCTION_1_ARG_ARCCSC = "Inverse trigonometric cosecant";
FUNCTION_1_ARG_GAMMA = "Gamma";
FUNCTION_1_ARG_LAMBERT_W0 = "Lambert-W, principal branch 0, also called the omega or product logarithm";
FUNCTION_1_ARG_LAMBERT_W1 = "Lambert-W, branch -1, also called the omega or product logarithm";
FUNCTION_1_ARG_SGN_GAMMA = "Signum of Gamma";
FUNCTION_1_ARG_LOG_GAMMA = "Log Gamma";
FUNCTION_1_ARG_DI_GAMMA = "Digamma as the logarithmic derivative of the Gamma";
FUNCTION_1_ARG_PARAM = "Automatically generated function for user defined functions, returns function parameter value at index 'i'";
// -------------------------------------------------
FUNCTION_2_ARG_LOG = "Logarithm";
FUNCTION_2_ARG_MOD = "Modulo";
FUNCTION_2_ARG_BINOM_COEFF = "Binomial coefficient, number of k-combinations that can be drawn from n-elements set";
FUNCTION_2_ARG_BERNOULLI_NUMBER = "Bernoulli numbers";
FUNCTION_2_ARG_STIRLING1_NUMBER = "Stirling numbers of the first kind";
FUNCTION_2_ARG_STIRLING2_NUMBER = "Stirling numbers of the second kind";
FUNCTION_2_ARG_WORPITZKY_NUMBER = "Worpitzky number";
FUNCTION_2_ARG_EULER_NUMBER = "Euler number";
FUNCTION_2_ARG_KRONECKER_DELTA = "Kronecker delta";
FUNCTION_2_ARG_EULER_POLYNOMIAL = "Euler polynomial";
FUNCTION_2_ARG_HARMONIC_NUMBER = "Harmonic number";
FUNCTION_2_ARG_ROUND = "Half-up rounding";
FUNCTION_2_ARG_NDIG = "Number of digits representing the number in numeral system with given base";
FUNCTION_2_ARG_DIGIT10 = "Digit at position 1 ... n (left -> right) or 0 ... -(n-1) (right -> left) - base 10 numeral system";
FUNCTION_2_ARG_FACTVAL = "Prime decomposition - factor value at position between 1 ... nfact(n) - ascending order by factor value";
FUNCTION_2_ARG_FACTEXP = "Prime decomposition - factor exponent / multiplicity at position between 1 ... nfact(n) - ascending order by factor value";
FUNCTION_2_ARG_ROOT = "N-th order root of a number";
FUNCTION_2_ARG_INC_GAMMA_LOWER = "Lower incomplete gamma";
FUNCTION_2_ARG_INC_GAMMA_UPPER = "Upper incomplete Gamma";
FUNCTION_2_ARG_REG_GAMMA_LOWER = "Lower regularized P gamma";
FUNCTION_2_ARG_REG_GAMMA_UPPER = "Upper regularized Q Gamma";
FUNCTION_2_ARG_PERMUTATIONS = "Number of k-permutations that can be drawn from n-elements set";
FUNCTION_2_ARG_BETA = "The Beta, also called the Euler integral of the first kind";
FUNCTION_2_ARG_LOG_BETA = "The Log Beta, also called the Log Euler integral of the first kind";
// -------------------------------------------------
FUNCTION_3_ARG_IF = "If";
FUNCTION_3_ARG_CHI = "Characteristic function for x in (a,b)";
FUNCTION_3_ARG_CHI_LR = "Characteristic function for x in [a,b]";
FUNCTION_3_ARG_CHI_L = "Characteristic function for x in [a,b)";
FUNCTION_3_ARG_CHI_R = "Characteristic function for x in (a,b]";
FUNCTION_3_ARG_DIGIT = "Digit at position 1 ... n (left -> right) or 0 ... -(n-1) (right -> left) - numeral system with given base";
FUNCTION_3_ARG_INC_BETA = "The incomplete Beta, also called the incomplete Euler integral of the first kind";
FUNCTION_3_ARG_REG_BETA = "The regularized incomplete Beta (or regularized beta), also called the regularized incomplete Euler integral of the first kind";
// -------------------------------------------------
FUNCTION_VARIADIC_IFF = "If function";
FUNCTION_VARIADIC_MIN = "Minimum";
FUNCTION_VARIADIC_MAX = "Maximum";
FUNCTION_VARIADIC_CONT_FRAC = "Continued fraction";
FUNCTION_VARIADIC_CONT_POL = "Continued polynomial";
FUNCTION_VARIADIC_GCD = "Greatest common divisor";
FUNCTION_VARIADIC_LCM = "Least common multiple";
FUNCTION_VARIADIC_SUM = "Summation";
FUNCTION_VARIADIC_PROD = "Multiplication";
FUNCTION_VARIADIC_AVG = "Mean / average value";
FUNCTION_VARIADIC_VAR = "Bias-corrected sample variance";
FUNCTION_VARIADIC_STD = "Bias-corrected sample standard deviation";
FUNCTION_VARIADIC_RND_LIST = "Random number from a given list of numbers";
FUNCTION_VARIADIC_COALESCE = "Returns the first non-NaN value";
FUNCTION_VARIADIC_OR = "Logical disjunction (OR) - variadic";
FUNCTION_VARIADIC_AND = "Logical conjunction (AND) - variadic";
FUNCTION_VARIADIC_XOR = "Exclusive or (XOR) - variadic";
FUNCTION_VARIADIC_ARGMIN = "Arguments / indices of the minima";
FUNCTION_VARIADIC_ARGMAX = "Arguments / indices of the maxima";
FUNCTION_VARIADIC_MEDIAN = "The sample median";
FUNCTION_VARIADIC_MODE = "Mode - the value that appears most often";
FUNCTION_VARIADIC_BASE = "Returns number in given numeral system base represented by list of digits";
FUNCTION_VARIADIC_NDIST = "Number of distinct values";
// -------------------------------------------------
OPERATOR_PLUS = "Addition";
OPERATOR_MINUS = "Subtraction";
OPERATOR_MULTIPLY = "Multiplication";
OPERATOR_DIVIDE = "Division";
OPERATOR_POWER = "Exponentiation";
OPERATOR_FACT = "Factorial";
OPERATOR_MOD = "Modulo";
OPERATOR_PERC = "Percentage";
OPERATOR_TETRATION = "Tetration (hyper-4, power tower, exponential tower)";
OPERATOR_SQUARE_ROOT = "Square root";
OPERATOR_CUBE_ROOT = "Cube root";
OPERATOR_FOURTH_ROOT = "Fourth root";
// -------------------------------------------------
PARSER_SYMBOL_LEFT_PARENTHESES = "Left parentheses";
PARSER_SYMBOL_RIGHT_PARENTHESES = "Right parentheses";
PARSER_SYMBOL_COMMA = "Comma (function parameters)";
PARSER_SYMBOL_SEMI = "Semicolon (function parameters)";
PARSER_SYMBOL_BLANK = "Blank (whitespace) character";
PARSER_SYMBOL_NUMBER_INTEGER = "Integer";
PARSER_SYMBOL_NUMBER_DECIMAL = "Decimal";
PARSER_SYMBOL_NUMBER_LEADING_ZERO = "Leading zero";
PARSER_SYMBOL_NUMBER_SCI_NOTATION = "Scientific notation";
PARSER_SYMBOL_NUMBER_NO_LEADING_ZERO = "No leading zero";
PARSER_SYMBOL_NUMBER_FRACTIONS = "Fractions";
PARSER_SYMBOL_NUMBER_OTHER_NUMERAL_SYSTEMS = "Other numeral systems";
PARSER_SYMBOL_UNICODE_MATH = " - Unicode math symbol";
// -------------------------------------------------
DIMENSIONLESS_UNIT_PERC = "Percentage";
DIMENSIONLESS_UNIT_PROMIL = "Promil, Per mille";
DIMENSIONLESS_UNIT_YOTTA = "Septillion / Yotta";
DIMENSIONLESS_UNIT_ZETTA = "Sextillion / Zetta";
DIMENSIONLESS_UNIT_EXA = "Quintillion / Exa";
DIMENSIONLESS_UNIT_PETA = "Quadrillion / Peta";
DIMENSIONLESS_UNIT_TERA = "Trillion / Tera";
DIMENSIONLESS_UNIT_GIGA = "Billion / Giga";
DIMENSIONLESS_UNIT_MEGA = "Million / Mega";
DIMENSIONLESS_UNIT_KILO = "Thousand / Kilo";
DIMENSIONLESS_UNIT_HECTO = "Hundred / Hecto";
DIMENSIONLESS_UNIT_DECA = "Ten / Deca";
DIMENSIONLESS_UNIT_DECI = "Tenth / Deci";
DIMENSIONLESS_UNIT_CENTI = "Hundredth / Centi";
DIMENSIONLESS_UNIT_MILLI = "Thousandth / Milli";
DIMENSIONLESS_UNIT_MICRO = "Millionth / Micro";
DIMENSIONLESS_UNIT_NANO = "Billionth / Nano";
DIMENSIONLESS_UNIT_PICO = "Trillionth / Pico";
DIMENSIONLESS_UNIT_FEMTO = "Quadrillionth / Femto";
DIMENSIONLESS_UNIT_ATTO = "Quintillionth / Atoo";
DIMENSIONLESS_UNIT_ZEPTO = "Sextillionth / Zepto";
DIMENSIONLESS_UNIT_YOCTO = "Septillionth / Yocto";
// -------------------------------------------------
UNIT_METRE = "Meter";
UNIT_KILOMETRE = "Kilometer";
UNIT_CENTIMETRE = "Centimeter";
UNIT_MILLIMETRE = "Millimeter";
UNIT_INCH = "Inch";
UNIT_YARD = "Yard";
UNIT_FEET = "Feet";
UNIT_MILE = "Mile";
UNIT_NAUTICAL_MILE = "Nautical mile";
UNIT_METRE2 = "Square meter";
UNIT_CENTIMETRE2 = "Square centimeter";
UNIT_MILLIMETRE2 = "Square millimeter";
UNIT_ARE = "Are";
UNIT_HECTARE = "Hectare";
UNIT_ACRE = "Acre";
UNIT_KILOMETRE2 = "Square kilometer";
UNIT_MILLIMETRE3 = "Cubic millimeter";
UNIT_CENTIMETRE3 = "Cubic centimeter";
UNIT_METRE3 = "Cubic meter";
UNIT_KILOMETRE3 = "Cubic kilometer";
UNIT_MILLILITRE = "Milliliter";
UNIT_LITRE = "Liter";
UNIT_GALLON = "Gallon";
UNIT_PINT = "Pint";
UNIT_SECOND = "Second";
UNIT_MILLISECOND = "Millisecond";
UNIT_MINUTE = "Minute";
UNIT_HOUR = "Hour";
UNIT_DAY = "Day";
UNIT_WEEK = "Week";
UNIT_JULIAN_YEAR = "Julian year = 365.25 days";
UNIT_KILOGRAM = "Kilogram";
UNIT_GRAM = "Gram";
UNIT_MILLIGRAM = "Milligram";
UNIT_DECAGRAM = "Decagram";
UNIT_TONNE = "Tonne";
UNIT_OUNCE = "Ounce";
UNIT_POUND = "Pound";
UNIT_BIT = "Bit";
UNIT_KILOBIT = "Kilobit";
UNIT_MEGABIT = "Megabit";
UNIT_GIGABIT = "Gigabit";
UNIT_TERABIT = "Terabit";
UNIT_PETABIT = "Petabit";
UNIT_EXABIT = "Exabit";
UNIT_ZETTABIT = "Zettabit";
UNIT_YOTTABIT = "Yottabit";
UNIT_BYTE = "Byte";
UNIT_KILOBYTE = "Kilobyte";
UNIT_MEGABYTE = "Megabyte";
UNIT_GIGABYTE = "Gigabyte";
UNIT_TERABYTE = "Terabyte";
UNIT_PETABYTE = "Petabyte";
UNIT_EXABYTE = "Exabyte";
UNIT_ZETTABYTE = "Zettabyte";
UNIT_YOTTABYTE = "Yottabyte";
UNIT_JOULE = "Joule";
UNIT_ELECTRONO_VOLT = "Electronovolt";
UNIT_KILO_ELECTRONO_VOLT = "Kiloelectronovolt";
UNIT_MEGA_ELECTRONO_VOLT = "Megaelectronovolt";
UNIT_GIGA_ELECTRONO_VOLT = "Gigaelectronovolt";
UNIT_TERA_ELECTRONO_VOLT = "Teraelectronovolt";
UNIT_METRE_PER_SECOND = "Meter per second";
UNIT_KILOMETRE_PER_HOUR = "Kilometer per hour";
UNIT_MILE_PER_HOUR = "Mile per hour";
UNIT_KNOT = "Knot";
UNIT_METRE_PER_SECOND2 = "Meter per square second";
UNIT_KILOMETRE_PER_HOUR2 = "Kilometer per square hour";
UNIT_MILE_PER_HOUR2 = "Mile per square hour";
UNIT_RADIAN_ARC = "Radian";
UNIT_DEGREE_ARC = "Degree of arc";
UNIT_MINUTE_ARC = "Minute of arc";
UNIT_SECOND_ARC = "Second of arc";

@mariuszgromada
Copy link
Owner Author

To define your own string resources

class TestStringResources extends StringResources {
    TestStringResources() {
        USER_LANGUAGE = "Polish";
        NUMBER_LITERAL = "Literał liczbowy";
        NUMBER = "Liczba";
        ALL_HELP_CONTENT = "Pomoc";
        KEYWORD = "Słowo kluczowe";
        TYPE = "Typ";
        SYNTAX = "Składnia";
        SINCE = "Od";
        DESCRIPTION = "Opis";
        OPERATOR_MULTIPLY = "Mnożenie";
    }
}

And next

TestStringResources testStringResources = new TestStringResources();
StringModel.setStringResources(testStringResources);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant