1
0
mirror of https://gitlab.com/rnger/amath synced 2025-10-06 02:49:59 +00:00

Updated language descriptions

This commit is contained in:
llsth
2015-04-09 15:08:30 +02:00
parent 403e8b3d8d
commit f2cfc61641
9 changed files with 100 additions and 133 deletions

View File

@ -32,8 +32,8 @@
/**
* @file help.h
* @brief Localized help text definitions.
*
* @brief Help texts for statement.
*
*/
#include "clib.h"

View File

@ -62,6 +62,6 @@ static const identalias identaliases[] = {
{ "arccoth", "acoth" },
{ "arcsech", "asech" },
{ "arccsch", "acsch" }
}
};
#endif

View File

@ -27,13 +27,13 @@
*
*/
#ifndef AMATH_LOCALIZE_IDENT_HELP_H
#define AMATH_LOCALIZE_IDENT_HELP_H
#ifndef AMATH_LOCALIZE_IDENT_H
#define AMATH_LOCALIZE_IDENT_H
/**
* @file ident.h
* @brief Localized help text definitions.
*
* @brief Help texts for built-in functions.
*
*/
#include "clib.h"
@ -52,63 +52,34 @@ static const identhelpdef identtexts[] = {
{ 4, "floor", "No help is available for this function.#NEWLINE#" },
{ 5, "ceil", "No help is available for this function.#NEWLINE#" },
{ 6, "sqr", "No help is available for this function.#NEWLINE#" },
{ 7, "sqrt", "No help is available for this function.#NEWLINE#" },
{ 8, "cbr", "No help is available for this function.#NEWLINE#" },
{ 9, "cbrt", "No help is available for this function.#NEWLINE#" },
{ 10, "lb", "No help is available for this function.#NEWLINE#" },
{ 11, "log2", "No help is available for this function.#NEWLINE#" },
{ 12, "ln", "No help is available for this function.#NEWLINE#" },
{ 13, "lg", "No help is available for this function.#NEWLINE#" },
{ 14, "log", "No help is available for this function.#NEWLINE#" },
{ 15, "log10", "No help is available for this function.#NEWLINE#" },
{ 16, "sin", "No help is available for this function.#NEWLINE#" },
{ 17, "cos", "No help is available for this function.#NEWLINE#" },
{ 18, "tan", "No help is available for this function.#NEWLINE#" },
{ 19, "cot", "No help is available for this function.#NEWLINE#" },
{ 20, "sec", "No help is available for this function.#NEWLINE#" },
{ 21, "csc", "No help is available for this function.#NEWLINE#" },
{ 22, "asin", "No help is available for this function.#NEWLINE#" },
{ 23, "acos", "No help is available for this function.#NEWLINE#" },
{ 24, "atan", "No help is available for this function.#NEWLINE#" },
{ 25, "acot", "No help is available for this function.#NEWLINE#" },
{ 26, "asec", "No help is available for this function.#NEWLINE#" },
{ 27, "acsc", "No help is available for this function.#NEWLINE#" },
{ 28, "arsin", "No help is available for this function.#NEWLINE#" },
{ 29, "arcos", "No help is available for this function.#NEWLINE#" },
{ 30, "artan", "No help is available for this function.#NEWLINE#" },
{ 31, "arcot", "No help is available for this function.#NEWLINE#" },
{ 32, "arsec", "No help is available for this function.#NEWLINE#" },
{ 33, "arcsc", "No help is available for this function.#NEWLINE#" },
{ 34, "arcsin", "No help is available for this function.#NEWLINE#" },
{ 35, "arccos", "No help is available for this function.#NEWLINE#" },
{ 36, "arctan", "No help is available for this function.#NEWLINE#" },
{ 37, "arccot", "No help is available for this function.#NEWLINE#" },
{ 38, "arcsec", "No help is available for this function.#NEWLINE#" },
{ 39, "arccsc", "No help is available for this function.#NEWLINE#" },
{ 40, "sinh", "No help is available for this function.#NEWLINE#" },
{ 41, "cosh", "No help is available for this function.#NEWLINE#" },
{ 42, "tanh", "No help is available for this function.#NEWLINE#" },
{ 43, "coth", "No help is available for this function.#NEWLINE#" },
{ 44, "sech", "No help is available for this function.#NEWLINE#" },
{ 45, "csch", "No help is available for this function.#NEWLINE#" },
{ 46, "asinh", "No help is available for this function.#NEWLINE#" },
{ 47, "acosh", "No help is available for this function.#NEWLINE#" },
{ 48, "atanh", "No help is available for this function.#NEWLINE#" },
{ 49, "acoth", "No help is available for this function.#NEWLINE#" },
{ 50, "asech", "No help is available for this function.#NEWLINE#" },
{ 51, "acsch", "No help is available for this function.#NEWLINE#" },
{ 52, "arsinh", "No help is available for this function.#NEWLINE#" },
{ 53, "arcosh", "No help is available for this function.#NEWLINE#" },
{ 54, "artanh", "No help is available for this function.#NEWLINE#" },
{ 55, "arcoth", "No help is available for this function.#NEWLINE#" },
{ 56, "arsech", "No help is available for this function.#NEWLINE#" },
{ 57, "arcsch", "No help is available for this function.#NEWLINE#" },
{ 58, "arcsinh", "No help is available for this function.#NEWLINE#" },
{ 59, "arccosh", "No help is available for this function.#NEWLINE#" },
{ 60, "arctanh", "No help is available for this function.#NEWLINE#" },
{ 61, "arccoth", "No help is available for this function.#NEWLINE#" },
{ 62, "arcsech", "No help is available for this function.#NEWLINE#" },
{ 63, "arccsch", "No help is available for this function.#NEWLINE#" },
{ 7, "cbr", "No help is available for this function.#NEWLINE#" },
{ 8, "lb", "No help is available for this function.#NEWLINE#" },
{ 9, "ln", "No help is available for this function.#NEWLINE#" },
{ 10, "lg", "No help is available for this function.#NEWLINE#" },
{ 11, "sin", "No help is available for this function.#NEWLINE#" },
{ 12, "cos", "No help is available for this function.#NEWLINE#" },
{ 13, "tan", "No help is available for this function.#NEWLINE#" },
{ 14, "cot", "No help is available for this function.#NEWLINE#" },
{ 15, "sec", "No help is available for this function.#NEWLINE#" },
{ 16, "csc", "No help is available for this function.#NEWLINE#" },
{ 17, "asin", "No help is available for this function.#NEWLINE#" },
{ 18, "acos", "No help is available for this function.#NEWLINE#" },
{ 19, "atan", "No help is available for this function.#NEWLINE#" },
{ 20, "acot", "No help is available for this function.#NEWLINE#" },
{ 21, "asec", "No help is available for this function.#NEWLINE#" },
{ 22, "acsc", "No help is available for this function.#NEWLINE#" },
{ 23, "sinh", "No help is available for this function.#NEWLINE#" },
{ 24, "cosh", "No help is available for this function.#NEWLINE#" },
{ 25, "tanh", "No help is available for this function.#NEWLINE#" },
{ 26, "coth", "No help is available for this function.#NEWLINE#" },
{ 27, "sech", "No help is available for this function.#NEWLINE#" },
{ 28, "csch", "No help is available for this function.#NEWLINE#" },
{ 29, "asinh", "No help is available for this function.#NEWLINE#" },
{ 30, "acosh", "No help is available for this function.#NEWLINE#" },
{ 31, "atanh", "No help is available for this function.#NEWLINE#" },
{ 32, "acoth", "No help is available for this function.#NEWLINE#" },
{ 33, "asech", "No help is available for this function.#NEWLINE#" },
{ 34, "acsch", "No help is available for this function.#NEWLINE#" },
{ -1, EMPTYSTRING, EMPTYSTRING }
};

54
app/localize/lang.h Normal file
View File

@ -0,0 +1,54 @@
/*
* Copyright (c) 2015 Carsten Larsen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef AMATH_TEXT_LANGUAGE_H
#define AMATH_TEXT_LANGUAGE_H
/*
english
bosanski
catala
czech
dansk
deutsch
espanol
francais
italiano
magyar
nederlands
norsk
polski
portugues
portugues-Brasil
russian
slovensko
srpski
suomi
svenska
turkce
*/
#endif

View File

@ -32,8 +32,8 @@
/**
* @file text.h
* @brief Localized text definitions.
*
* @brief Static texts in amath.
*
*/
#include "clib.h"