Commit 120824d2 authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

mark argument names for translation and adjust them for use by the formula

2002-05-03  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* functions.c : mark argument names for translation and adjust
	  them for use by the formula guru.
parent 655db839
2002-05-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c : mark argument names for translation and adjust
them for use by the formula guru.
...@@ -1026,26 +1026,26 @@ gnumeric_getenv (FunctionEvalInfo *ei, Value **argv) ...@@ -1026,26 +1026,26 @@ gnumeric_getenv (FunctionEvalInfo *ei, Value **argv)
/***************************************************************************/ /***************************************************************************/
const ModulePluginFunctionInfo info_functions[] = { const ModulePluginFunctionInfo info_functions[] = {
{ "cell", "sr", "info_type, cell", &help_cell, gnumeric_cell, NULL, NULL, NULL }, { "cell", "sr", N_("info_type, cell"), &help_cell, gnumeric_cell, NULL, NULL, NULL },
{ "countblank", "r", "range", &help_countblank, gnumeric_countblank, NULL, NULL, NULL }, { "countblank", "r", N_("range"), &help_countblank, gnumeric_countblank, NULL, NULL, NULL },
{ "error", "s", "text", &help_error, gnumeric_error, NULL, NULL, NULL }, { "error", "s", N_("text"), &help_error, gnumeric_error, NULL, NULL, NULL },
{ "error.type", NULL, "", &help_error_type, NULL, gnumeric_error_type, NULL, NULL }, { "error.type", NULL, N_("value"), &help_error_type, NULL, gnumeric_error_type, NULL, NULL },
{ "expression", "r", "cell", &help_expression, gnumeric_expression, NULL, NULL, NULL }, { "expression", "r", N_("cell"), &help_expression, gnumeric_expression, NULL, NULL, NULL },
{ "info", "s", "info_type", &help_info, gnumeric_info, NULL, NULL, NULL }, { "info", "s", N_("info_type"), &help_info, gnumeric_info, NULL, NULL, NULL },
{ "isblank", NULL, "value", &help_isblank, NULL, gnumeric_isblank, NULL, NULL }, { "isblank", NULL, N_("value"), &help_isblank, NULL, gnumeric_isblank, NULL, NULL },
{ "iserr", NULL, "", &help_iserr, NULL, gnumeric_iserr, NULL, NULL }, { "iserr", NULL, N_("value"), &help_iserr, NULL, gnumeric_iserr, NULL, NULL },
{ "iserror", NULL, "", &help_iserror, NULL, gnumeric_iserror, NULL, NULL }, { "iserror", NULL, N_("value"), &help_iserror, NULL, gnumeric_iserror, NULL, NULL },
{ "iseven", "?", "value", &help_iseven, gnumeric_iseven, NULL, NULL, NULL }, { "iseven", "?", N_("value"), &help_iseven, gnumeric_iseven, NULL, NULL, NULL },
{ "islogical", NULL, "value", &help_islogical, NULL, gnumeric_islogical, NULL, NULL }, { "islogical", NULL, N_("value"), &help_islogical, NULL, gnumeric_islogical, NULL, NULL },
{ "isna", NULL, "", &help_isna, NULL, gnumeric_isna, NULL, NULL }, { "isna", NULL, N_("value"), &help_isna, NULL, gnumeric_isna, NULL, NULL },
{ "isnontext", NULL, "value", &help_isnontext, NULL, gnumeric_isnontext, NULL, NULL }, { "isnontext", NULL, N_("value"), &help_isnontext, NULL, gnumeric_isnontext, NULL, NULL },
{ "isnumber", NULL, "value", &help_isnumber, NULL, gnumeric_isnumber, NULL, NULL }, { "isnumber", NULL, N_("value"), &help_isnumber, NULL, gnumeric_isnumber, NULL, NULL },
{ "isodd", "?", "value", &help_isodd, gnumeric_isodd, NULL, NULL, NULL }, { "isodd", "?", N_("value"), &help_isodd, gnumeric_isodd, NULL, NULL, NULL },
{ "isref", NULL, "value", &help_isref, NULL, gnumeric_isref, NULL, NULL }, { "isref", NULL, N_("value"), &help_isref, NULL, gnumeric_isref, NULL, NULL },
{ "istext", NULL, "value", &help_istext, NULL, gnumeric_istext, NULL, NULL }, { "istext", NULL, N_("value"), &help_istext, NULL, gnumeric_istext, NULL, NULL },
{ "n", "?", "value", &help_n, gnumeric_n, NULL, NULL, NULL }, { "n", "?", N_("value"), &help_n, gnumeric_n, NULL, NULL, NULL },
{ "na", "", "", &help_na, gnumeric_na, NULL, NULL, NULL }, { "na", "", "", &help_na, gnumeric_na, NULL, NULL, NULL },
{ "type", NULL, "value", &help_type, NULL, gnumeric_type, NULL, NULL }, { "type", NULL, N_("value"), &help_type, NULL, gnumeric_type, NULL, NULL },
{ "getenv", "s", "string", &help_getenv, gnumeric_getenv, NULL, NULL, NULL }, { "getenv", "s", N_("string"), &help_getenv, gnumeric_getenv, NULL, NULL, NULL },
{NULL} {NULL}
}; };
2002-05-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c : mark argument names for translation and adjust
them for use by the formula guru.
...@@ -350,13 +350,13 @@ gnumeric_false (FunctionEvalInfo *ei, Value **args) ...@@ -350,13 +350,13 @@ gnumeric_false (FunctionEvalInfo *ei, Value **args)
/***************************************************************************/ /***************************************************************************/
const ModulePluginFunctionInfo logical_functions[] = { const ModulePluginFunctionInfo logical_functions[] = {
{ "and", 0, "", &help_and, NULL, gnumeric_and, NULL, NULL }, { "and", 0, N_("number,number,"), &help_and, NULL, gnumeric_and, NULL, NULL },
{ "or", 0, "", &help_or, NULL, gnumeric_or, NULL, NULL }, { "or", 0, N_("number,number,"), &help_or, NULL, gnumeric_or, NULL, NULL },
{ "xor", 0, "", &help_xor, NULL, gnumeric_xor, NULL, NULL }, { "xor", 0, N_("number,number,"), &help_xor, NULL, gnumeric_xor, NULL, NULL },
{ "not", "f", "number", &help_not, gnumeric_not, NULL, NULL, NULL }, { "not", "f", N_("number"), &help_not, gnumeric_not, NULL, NULL, NULL },
{ "if", 0, "", &help_if, NULL, gnumeric_if, NULL, NULL }, { "if", 0, N_("condition,if true,if false"), &help_if, NULL, gnumeric_if, NULL, NULL },
{ "true", "f", "number", &help_true, gnumeric_true, NULL, NULL, NULL }, { "true", "f", N_("number"), &help_true, gnumeric_true, NULL, NULL, NULL },
{ "false", "f", "number", &help_false, gnumeric_false, NULL, NULL, NULL }, { "false", "f", N_("number"), &help_false, gnumeric_false, NULL, NULL, NULL },
{NULL} {NULL}
}; };
......
2002-05-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c : mark argument names for translation and adjust
them for use by the formula guru.
...@@ -1146,35 +1146,35 @@ gnumeric_transpose (FunctionEvalInfo *ei, Value **argv) ...@@ -1146,35 +1146,35 @@ gnumeric_transpose (FunctionEvalInfo *ei, Value **argv)
/***************************************************************************/ /***************************************************************************/
const ModulePluginFunctionInfo lookup_functions[] = { const ModulePluginFunctionInfo lookup_functions[] = {
{ "address", "ff|ffs", "row_num,col_num,abs_num,a1,text", { "address", "ff|ffs", N_("row_num,col_num,abs_num,a1,text"),
&help_address, gnumeric_address, NULL, NULL, NULL }, &help_address, gnumeric_address, NULL, NULL, NULL },
{ "choose", 0, "index,value...", { "choose", 0, N_("index,value,"),
&help_choose, NULL, gnumeric_choose, NULL, NULL }, &help_choose, NULL, gnumeric_choose, NULL, NULL },
{ "column", 0, "ref", { "column", 0, N_("ref,ref,"),
&help_column, NULL, gnumeric_column, NULL, NULL }, &help_column, NULL, gnumeric_column, NULL, NULL },
{ "columns", "A", "ref", { "columns", "A", N_("ref"),
&help_columns, gnumeric_columns, NULL, NULL, NULL }, &help_columns, gnumeric_columns, NULL, NULL, NULL },
{ "hlookup", "?Af|bb", "val,range,col_idx,approx,as_index", { "hlookup", "?Af|bb", N_("val,range,col_idx,approx,as_index"),
&help_hlookup, gnumeric_hlookup, NULL, NULL, NULL }, &help_hlookup, gnumeric_hlookup, NULL, NULL, NULL },
{ "hyperlink", "s|s", "link_location, optional_label", { "hyperlink", "s|s", N_("link_location, label"),
&help_hyperlink, gnumeric_hyperlink, NULL, NULL, NULL }, &help_hyperlink, gnumeric_hyperlink, NULL, NULL, NULL },
{ "indirect", "s|b","ref_string,format", { "indirect", "s|b",N_("ref_string,format"),
&help_indirect, gnumeric_indirect, NULL, NULL, NULL }, &help_indirect, gnumeric_indirect, NULL, NULL, NULL },
{ "index", "A|fff","reference,row,col,area", { "index", "A|fff",N_("reference,row,col,area"),
&help_index, gnumeric_index, NULL, NULL, NULL }, &help_index, gnumeric_index, NULL, NULL, NULL },
{ "lookup", "?A|r", "val,range,range", { "lookup", "?A|r", N_("val,range,range"),
&help_lookup, gnumeric_lookup, NULL, NULL, NULL }, &help_lookup, gnumeric_lookup, NULL, NULL, NULL },
{ "match", "?A|f", "val,range,approx", { "match", "?A|f", N_("val,range,approx"),
&help_match, gnumeric_match, NULL, NULL, NULL }, &help_match, gnumeric_match, NULL, NULL, NULL },
{ "offset", "rff|ff","ref,row,col,hight,width", { "offset", "rff|ff",N_("ref,row,col,height,width"),
&help_offset, gnumeric_offset, NULL, NULL, NULL }, &help_offset, gnumeric_offset, NULL, NULL, NULL },
{ "row", 0, "ref", { "row", 0, N_("ref,ref,"),
&help_row, NULL, gnumeric_row, NULL, NULL }, &help_row, NULL, gnumeric_row, NULL, NULL },
{ "rows", "A", "ref", { "rows", "A", N_("ref"),
&help_rows, gnumeric_rows, NULL, NULL, NULL }, &help_rows, gnumeric_rows, NULL, NULL, NULL },
{ "transpose", "A", "array", { "transpose", "A", N_("array"),
&help_transpose, gnumeric_transpose, NULL, NULL, NULL }, &help_transpose, gnumeric_transpose, NULL, NULL, NULL },
{ "vlookup", "?Af|bb", "val,range,col_idx,approx,as_index", { "vlookup", "?Af|bb", N_("val,range,col_idx,approx,as_index"),
&help_vlookup, gnumeric_vlookup, NULL, NULL, NULL }, &help_vlookup, gnumeric_vlookup, NULL, NULL, NULL },
{NULL} {NULL}
}; };
2002-05-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c : mark argument names for translation and adjust
them for use by the formula guru.
...@@ -4562,167 +4562,167 @@ gnumeric_subtotal (FunctionEvalInfo *ei, GnmExprList *expr_node_list) ...@@ -4562,167 +4562,167 @@ gnumeric_subtotal (FunctionEvalInfo *ei, GnmExprList *expr_node_list)
/***************************************************************************/ /***************************************************************************/
const ModulePluginFunctionInfo stat_functions[] = { const ModulePluginFunctionInfo stat_functions[] = {
{ "avedev", 0, "", { "avedev", 0, N_("number,number,"),
&help_avedev, NULL, gnumeric_avedev, NULL, NULL }, &help_avedev, NULL, gnumeric_avedev, NULL, NULL },
{ "average", 0, "", { "average", 0, N_("number,number,"),
&help_average, NULL, gnumeric_average, NULL, NULL }, &help_average, NULL, gnumeric_average, NULL, NULL },
{ "averagea", 0, "", { "averagea", 0, N_("number,number,"),
&help_averagea, NULL, gnumeric_averagea, NULL, NULL }, &help_averagea, NULL, gnumeric_averagea, NULL, NULL },
{ "betadist", "fff|ff", "", { "betadist", "fff|ff", N_("x,alpha,beta,a,b"),
&help_betadist, gnumeric_betadist, NULL, NULL, NULL }, &help_betadist, gnumeric_betadist, NULL, NULL, NULL },
{ "betainv", "fff|ff", "", { "betainv", "fff|ff", N_("p,alpha,beta,a,b"),
&help_betainv, gnumeric_betainv, NULL, NULL, NULL }, &help_betainv, gnumeric_betainv, NULL, NULL, NULL },
{ "binomdist", "fffb", "n,t,p,c", { "binomdist", "fffb", N_("n,t,p,c"),
&help_binomdist, gnumeric_binomdist, NULL, NULL, NULL }, &help_binomdist, gnumeric_binomdist, NULL, NULL, NULL },
{ "chidist", "ff", "", { "chidist", "ff", N_("x,dof"),
&help_chidist, gnumeric_chidist, NULL, NULL, NULL }, &help_chidist, gnumeric_chidist, NULL, NULL, NULL },
{ "chiinv", "ff", "", { "chiinv", "ff", N_("p,dof"),
&help_chiinv, gnumeric_chiinv, NULL, NULL, NULL }, &help_chiinv, gnumeric_chiinv, NULL, NULL, NULL },
{ "chitest", "rr", "", { "chitest", "rr", N_("act_range,theo_range"),
&help_chitest, gnumeric_chitest, NULL, NULL, NULL }, &help_chitest, gnumeric_chitest, NULL, NULL, NULL },
{ "confidence", "fff", "x,stddev,size", { "confidence", "fff", N_("x,stddev,size"),
&help_confidence, gnumeric_confidence, NULL, NULL, NULL }, &help_confidence, gnumeric_confidence, NULL, NULL, NULL },
{ "count", 0, "", { "count", 0, N_("number,number,"),
&help_count, NULL, gnumeric_count, NULL, NULL }, &help_count, NULL, gnumeric_count, NULL, NULL },
{ "counta", 0, "", { "counta", 0, N_("number,number,"),
&help_counta, NULL, gnumeric_counta, NULL, NULL }, &help_counta, NULL, gnumeric_counta, NULL, NULL },
{ "critbinom", "fff", "trials,p,alpha", { "critbinom", "fff", N_("trials,p,alpha"),
&help_critbinom, gnumeric_critbinom, NULL, NULL, NULL }, &help_critbinom, gnumeric_critbinom, NULL, NULL, NULL },
{ "correl", "AA", "array1,array2", { "correl", "AA", N_("array1,array2"),
&help_correl, gnumeric_correl, NULL, NULL, NULL }, &help_correl, gnumeric_correl, NULL, NULL, NULL },
{ "covar", "AA", "array1,array2", { "covar", "AA", N_("array1,array2"),
&help_covar, gnumeric_covar, NULL, NULL, NULL }, &help_covar, gnumeric_covar, NULL, NULL, NULL },
{ "devsq", 0, "", { "devsq", 0, N_("number,number,"),
&help_devsq, NULL, gnumeric_devsq, NULL, NULL }, &help_devsq, NULL, gnumeric_devsq, NULL, NULL },
{ "permut", "ff", "n,k", { "permut", "ff", N_("n,k"),
&help_permut, gnumeric_permut, NULL, NULL, NULL }, &help_permut, gnumeric_permut, NULL, NULL, NULL },
{ "poisson", "ffb", "", { "poisson", "ffb", N_("x,mean,cumulative"),
&help_poisson, gnumeric_poisson, NULL, NULL, NULL }, &help_poisson, gnumeric_poisson, NULL, NULL, NULL },
{ "expondist", "ffb", "", { "expondist", "ffb", N_("x,y,cumulative"),
&help_expondist, gnumeric_expondist, NULL, NULL, NULL }, &help_expondist, gnumeric_expondist, NULL, NULL, NULL },
{ "fdist", "fff", "", { "fdist", "fff", N_("x,dof of num,dof of denom"),
&help_fdist, gnumeric_fdist, NULL, NULL, NULL }, &help_fdist, gnumeric_fdist, NULL, NULL, NULL },
{ "finv", "fff", "", { "finv", "fff", N_("p,dof of num,dof of denom"),
&help_finv, gnumeric_finv, NULL, NULL, NULL }, &help_finv, gnumeric_finv, NULL, NULL, NULL },
{ "fisher", "f", "", { "fisher", "f", N_("number"),
&help_fisher, gnumeric_fisher, NULL, NULL, NULL }, &help_fisher, gnumeric_fisher, NULL, NULL, NULL },
{ "fisherinv", "f", "", { "fisherinv", "f", N_("number"),
&help_fisherinv, gnumeric_fisherinv, NULL, NULL, NULL }, &help_fisherinv, gnumeric_fisherinv, NULL, NULL, NULL },
{ "forecast", "frr", "", { "forecast", "frr", N_("x,known y's,known x's"),
&help_forecast, gnumeric_forecast, NULL, NULL, NULL }, &help_forecast, gnumeric_forecast, NULL, NULL, NULL },
{ "frequency", "AA", "data_array,bins_array", { "frequency", "AA", N_("data_array,bins_array"),
&help_frequency, gnumeric_frequency, NULL, NULL, NULL }, &help_frequency, gnumeric_frequency, NULL, NULL, NULL },
{ "ftest", "rr", "arr1,arr2", { "ftest", "rr", N_("arr1,arr2"),
&help_ftest, gnumeric_ftest, NULL, NULL, NULL }, &help_ftest, gnumeric_ftest, NULL, NULL, NULL },
{ "gammaln", "f", "number", { "gammaln", "f", N_("number"),
&help_gammaln, gnumeric_gammaln, NULL, NULL, NULL }, &help_gammaln, gnumeric_gammaln, NULL, NULL, NULL },
{ "gammadist", "fffb", "number,alpha,beta,cum", { "gammadist", "fffb", N_("number,alpha,beta,cum"),
&help_gammadist, gnumeric_gammadist, NULL, NULL, NULL }, &help_gammadist, gnumeric_gammadist, NULL, NULL, NULL },
{ "gammainv", "fff", "number,alpha,beta", { "gammainv", "fff", N_("number,alpha,beta"),
&help_gammainv, gnumeric_gammainv, NULL, NULL, NULL }, &help_gammainv, gnumeric_gammainv, NULL, NULL, NULL },
{ "geomean", 0, "", { "geomean", 0, N_("number,number,"),
&help_geomean, NULL, gnumeric_geomean, NULL, NULL }, &help_geomean, NULL, gnumeric_geomean, NULL, NULL },
{ "growth", "A|AAb", "known_y's[,known_x's,new_x's,const]", { "growth", "A|AAb", N_("known_y's,known_x's,new_x's,const"),
&help_growth, gnumeric_growth, NULL, NULL, NULL }, &help_growth, gnumeric_growth, NULL, NULL, NULL },
{ "harmean", 0, "", { "harmean", 0, N_(""),
&help_harmean, NULL, gnumeric_harmean, NULL, NULL }, &help_harmean, NULL, gnumeric_harmean, NULL, NULL },
{ "hypgeomdist", "ffff", "x,n,M,N", { "hypgeomdist", "ffff", N_("x,n,M,N"),
&help_hypgeomdist, gnumeric_hypgeomdist, NULL, NULL, NULL }, &help_hypgeomdist, gnumeric_hypgeomdist, NULL, NULL, NULL },
{ "intercept", "AA", "", { "intercept", "AA", N_("number,number,"),
&help_intercept, gnumeric_intercept, NULL, NULL, NULL }, &help_intercept, gnumeric_intercept, NULL, NULL, NULL },
{ "kurt", 0, "", { "kurt", 0, N_("number,number,"),
&help_kurt, NULL, gnumeric_kurt, NULL, NULL }, &help_kurt, NULL, gnumeric_kurt, NULL, NULL },
{ "kurtp", 0, "", { "kurtp", 0, N_("number,number,"),
&help_kurtp, NULL, gnumeric_kurtp, NULL, NULL }, &help_kurtp, NULL, gnumeric_kurtp, NULL, NULL },
{ "large", 0, "", { "large", 0, N_("number,number,"),
&help_large, NULL, gnumeric_large, NULL, NULL }, &help_large, NULL, gnumeric_large, NULL, NULL },
{ "linest", "A|Abb", "known_y's[,known_x's,const,stat]", { "linest", "A|Abb", N_("known_y's,known_x's,const,stat"),
&help_linest, gnumeric_linest, NULL, NULL, NULL }, &help_linest, gnumeric_linest, NULL, NULL, NULL },
{ "logest", "A|Abb", "known_y's[,known_x's,const,stat]", { "logest", "A|Abb", N_("known_y's,known_x's,const,stat"),
&help_logest, gnumeric_logest, NULL, NULL, NULL }, &help_logest, gnumeric_logest, NULL, NULL, NULL },
{ "loginv", "fff", "", { "loginv", "fff", N_("p,mean,stddev"),
&help_loginv, gnumeric_loginv, NULL, NULL, NULL }, &help_loginv, gnumeric_loginv, NULL, NULL, NULL },
{ "lognormdist", "fff", "", { "lognormdist", "fff", N_("x,meean,stdev"),
&help_lognormdist, gnumeric_lognormdist, NULL, NULL, NULL }, &help_lognormdist, gnumeric_lognormdist, NULL, NULL, NULL },
{ "max", 0, "", { "max", 0, N_("number,number,"),
&help_max, NULL, gnumeric_max, NULL, NULL }, &help_max, NULL, gnumeric_max, NULL, NULL },
{ "maxa", 0, "", { "maxa", 0, N_("number,number,"),
&help_maxa, NULL, gnumeric_maxa, NULL, NULL }, &help_maxa, NULL, gnumeric_maxa, NULL, NULL },
{ "median", 0, "", { "median", 0, N_("number,number,"),
&help_median, NULL, gnumeric_median, NULL, NULL }, &help_median, NULL, gnumeric_median, NULL, NULL },
{ "min", 0, "", { "min", 0, N_("number,number,"),
&help_min, NULL, gnumeric_min, NULL, NULL }, &help_min, NULL, gnumeric_min, NULL, NULL },
{ "mina", 0, "", { "mina", 0, N_("number,number,"),
&help_mina, NULL, gnumeric_mina, NULL, NULL }, &help_mina, NULL, gnumeric_mina, NULL, NULL },
{ "mode", 0, "", { "mode", 0, N_("number,number,"),
&help_mode, NULL, gnumeric_mode, NULL, NULL }, &help_mode, NULL, gnumeric_mode, NULL, NULL },
{ "negbinomdist", "fff", "f,t,p", { "negbinomdist", "fff", N_("f,t,p"),
&help_negbinomdist, gnumeric_negbinomdist, NULL, NULL, NULL }, &help_negbinomdist, gnumeric_negbinomdist, NULL, NULL, NULL },
{ "normdist", "fffb", "", { "normdist", "fffb", N_("x,mean,stdev,cumulative"),
&help_normdist, gnumeric_normdist, NULL, NULL, NULL }, &help_normdist, gnumeric_normdist, NULL, NULL, NULL },
{ "norminv", "fff", "", { "norminv", "fff", N_("p,mean,stdev"),
&help_norminv, gnumeric_norminv, NULL, NULL, NULL }, &help_norminv, gnumeric_norminv, NULL, NULL, NULL },
{ "normsdist", "f", "", { "normsdist", "f", N_("number"),
&help_normsdist, gnumeric_normsdist, NULL, NULL, NULL }, &help_normsdist, gnumeric_normsdist, NULL, NULL, NULL },
{ "normsinv", "f", "", { "normsinv", "f", N_("p"),
&help_normsinv, gnumeric_normsinv, NULL, NULL, NULL }, &help_normsinv, gnumeric_normsinv, NULL, NULL, NULL },
{ "percentile", "Af", "array,k", { "percentile", "Af", N_("array,k"),
&help_percentile, gnumeric_percentile, NULL, NULL, NULL }, &help_percentile, gnumeric_percentile, NULL, NULL, NULL },
{ "percentrank", "Af|f", "array,x,significance", { "percentrank", "Af|f", N_("array,x,significance"),
&help_percentrank, gnumeric_percentrank, NULL, NULL, NULL }, &help_percentrank, gnumeric_percentrank, NULL, NULL, NULL },
{ "pearson", "AA", "array1,array2", { "pearson", "AA", N_("array1,array2"),
&help_pearson, gnumeric_pearson, NULL, NULL, NULL }, &help_pearson, gnumeric_pearson, NULL, NULL, NULL },
{ "prob", "AAf|f", "x_range,prob_range,lower_limit,upper_limit", { "prob", "AAf|f", N_("x_range,prob_range,lower_limit,upper_limit"),
&help_prob, gnumeric_prob, NULL, NULL, NULL }, &help_prob, gnumeric_prob, NULL, NULL, NULL },
{ "quartile", "Af", "array,quart", { "quartile", "Af", N_("array,quart"),
&help_quartile, gnumeric_quartile, NULL, NULL, NULL }, &help_quartile, gnumeric_quartile, NULL, NULL, NULL },
{ "rank", "fr|f", "", { "rank", "fr|f", N_(""),
&help_rank, gnumeric_rank, NULL, NULL, NULL }, &help_rank, gnumeric_rank, NULL, NULL, NULL },
{ "rsq", "AA", "array1,array2", { "rsq", "AA", N_("array1,array2"),
&help_rsq, gnumeric_rsq, NULL, NULL, NULL }, &help_rsq, gnumeric_rsq, NULL, NULL, NULL },
{ "skew", 0, "", { "skew", 0, N_(""),
&help_skew, NULL, gnumeric_skew, NULL, NULL }, &help_skew, NULL, gnumeric_skew, NULL, NULL },
{ "skewp", 0, "", { "skewp", 0, N_(""),
&help_skewp, NULL, gnumeric_skewp, NULL, NULL }, &help_skewp, NULL, gnumeric_skewp, NULL, NULL },
{ "slope", "AA", "known_y's,known_x's", { "slope", "AA", N_("known_y's,known_x's"),
&help_slope, gnumeric_slope, NULL, NULL, NULL }, &help_slope, gnumeric_slope, NULL, NULL, NULL },
{ "small", 0, "", { "small", 0, N_("number,number,"),
&help_small, NULL, gnumeric_small, NULL, NULL }, &help_small, NULL, gnumeric_small, NULL, NULL },
{ "standardize", "fff", "x,mean,stddev", { "standardize", "fff", N_("x,mean,stddev"),
&help_standardize, gnumeric_standardize, NULL, NULL, NULL }, &help_standardize, gnumeric_standardize, NULL, NULL, NULL },
{ "stdev", 0, "", { "stdev", 0, N_("number,number,"),
&help_stdev, NULL, gnumeric_stdev, NULL, NULL }, &help_stdev, NULL, gnumeric_stdev, NULL, NULL },
{ "stdeva", 0, "", { "stdeva", 0, N_("number,number,"),
&help_stdeva, NULL, gnumeric_stdeva, NULL, NULL }, &help_stdeva, NULL, gnumeric_stdeva, NULL, NULL },
{ "stdevp", 0, "", { "stdevp", 0, N_("number,number,"),
&help_stdevp, NULL, gnumeric_stdevp, NULL, NULL }, &help_stdevp, NULL, gnumeric_stdevp, NULL, NULL },
{ "stdevpa", 0, "", { "stdevpa", 0, N_("number,number,"),
&help_stdevpa, NULL, gnumeric_stdevpa, NULL, NULL }, &help_stdevpa, NULL, gnumeric_stdevpa, NULL, NULL },
{ "steyx", "AA", "known_y's,known_x's", { "steyx", "AA", N_("known_y's,known_x's"),
&help_steyx, gnumeric_steyx, NULL, NULL, NULL }, &help_steyx, gnumeric_steyx, NULL, NULL, NULL },
{ "subtotal", 0, "function_nbr,ref1,ref2,...", { "subtotal", 0, N_("function_nbr,ref,ref,"),
&help_subtotal, NULL, gnumeric_subtotal, NULL, NULL }, &help_subtotal, NULL, gnumeric_subtotal, NULL, NULL },
{ "tdist", "fff", "", { "tdist", "fff", N_("x,dof,tails"),
&help_tdist, gnumeric_tdist, NULL, NULL, NULL }, &help_tdist, gnumeric_tdist, NULL, NULL, NULL },
{ "tinv", "ff", "", { "tinv", "ff", N_("p,dof"),
&help_tinv, gnumeric_tinv, NULL, NULL, NULL }, &help_tinv, gnumeric_tinv, NULL, NULL, NULL },
{ "trend", "A|AAb", "known_y's[,known_x's,new_x's,const]", { "trend", "A|AAb", N_("known_y's,known_x's,new_x's,const"),
&help_trend, gnumeric_trend, NULL, NULL, NULL }, &help_trend, gnumeric_trend, NULL, NULL, NULL },
{ "trimmean", 0, "", { "trimmean", 0, N_("ref,fraction"),
&help_trimmean, NULL, gnumeric_trimmean, NULL, NULL }, &help_trimmean, NULL, gnumeric_trimmean, NULL, NULL },
{ "ttest", "rrff", "", { "ttest", "rrff", N_("array1,array2,tails,type"),
&help_ttest, gnumeric_ttest, NULL, NULL, NULL }, &help_ttest, gnumeric_ttest, NULL, NULL, NULL },
{ "var", 0, "", { "var", 0, N_("number,number,"),
&help_var, NULL, gnumeric_var, NULL, NULL }, &help_var, NULL, gnumeric_var, NULL, NULL },
{ "vara", 0, "", { "vara", 0, N_("number,number,"),
&help_vara, NULL, gnumeric_vara, NULL, NULL }, &help_vara, NULL, gnumeric_vara, NULL, NULL },
{ "varp", 0, "", { "varp", 0, N_("number,number,"),
&help_varp, NULL, gnumeric_varp, NULL, NULL }, &help_varp, NULL, gnumeric_varp, NULL, NULL },
{ "varpa", 0, "", { "varpa", 0, N_("number,number,"),
&help_varpa, NULL, gnumeric_varpa, NULL, NULL }, &help_varpa, NULL, gnumeric_varpa, NULL, NULL },
{ "weibull", "fffb", "", { "weibull", "fffb", N_("x.alpha,beta,cumulative"),
&help_weibull, gnumeric_weibull, NULL, NULL, NULL }, &help_weibull, gnumeric_weibull, NULL, NULL, NULL },
{ "ztest", 0, "", { "ztest", 0, N_("ref,x"),
&help_ztest, NULL, gnumeric_ztest, NULL, NULL }, &help_ztest, NULL, gnumeric_ztest, NULL, NULL },
{NULL} {NULL}
}; };
......
2002-05-03 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c : mark argument names for translation and adjust
them for use by the formula guru.
2002-04-29 Jody Goldberg <jody@gnome.org> 2002-04-29 Jody Goldberg <jody@gnome.org>
* Release 1.1.3 * Release 1.1.3
......
...@@ -1220,28 +1220,28 @@ match_again: ...@@ -1220,28 +1220,28 @@ match_again:
/***************************************************************************/ /***************************************************************************/
const ModulePluginFunctionInfo string_functions[] = { const ModulePluginFunctionInfo string_functions[] = {
{ "char", "f", "number", &help_char, gnumeric_char, NULL, NULL, NULL }, { "char", "f", N_("number"), &help_char, gnumeric_char, NULL, NULL, NULL },
{ "clean", "S", "text", &help_clean, gnumeric_clean, NULL, NULL, NULL }, { "clean", "S", N_("text"), &help_clean, gnumeric_clean, NULL, NULL, NULL },
{ "code", "S", "text", &help_code, gnumeric_code, NULL, NULL, NULL }, { "code", "S", N_("text"), &help_code, gnumeric_code, NULL, NULL, NULL },
{ "concatenate", 0, "text1,text2", &help_concatenate, NULL, gnumeric_concatenate, NULL, NULL }, { "concatenate", 0, N_("text,text,"), &help_concatenate, NULL, gnumeric_concatenate, NULL, NULL },
{ "dollar", "f|f", "num,decimals", &help_dollar, gnumeric_dollar, NULL, NULL, NULL }, { "dollar", "f|f", N_("num,decimals"), &help_dollar, gnumeric_dollar, NULL, NULL, NULL },
{ "exact", "SS", "text1,text2", &help_exact, gnumeric_exact, NULL, NULL, NULL }, { "exact", "SS", N_("text1,text2"), &help_exact, gnumeric_exact, NULL, NULL, NULL },
{ "find", "SS|f", "text1,text2,num", &help_find, gnumeric_find, NULL, NULL, NULL }, { "find", "SS|f", N_("text1,text2,num"), &help_find, gnumeric_find, NULL, NULL, NULL },
{ "fixed", "f|fb", "num,decs,no_commas", &help_fixed, gnumeric_fixed, NULL, NULL, NULL }, { "fixed", "f|fb", N_("num,decs,no_commas"), &help_fixed, gnumeric_fixed, NULL, NULL, NULL },
{ "left", "S|f", "text,num_chars", &help_left, gnumeric_left, NULL, NULL, NULL }, { "left", "S|f", N_("text,num_chars"), &help_left, gnumeric_left, NULL, NULL, NULL },
{ "len", "S", "text", &help_len, gnumeric_len, NULL, NULL, NULL }, { "len", "S", N_("text"), &help_len, gnumeric_len, NULL, NULL, NULL },
{ "lower", "S", "text", &help_lower, gnumeric_lower, NULL, NULL, NULL }, { "lower", "S", N_("text"), &help_lower, gnumeric_lower, NULL, NULL, NULL },
{ "proper", "S", "text", &help_proper, gnumeric_proper, NULL, NULL, NULL }, { "proper", "S", N_("text"), &help_proper, gnumeric_proper, NULL, NULL, NULL },
{ "mid", "Sff", "text,pos,num", &help_mid, gnumeric_mid, NULL, NULL, NULL }, { "mid", "Sff", N_("text,pos,num"), &help_mid, gnumeric_mid, NULL, NULL, NULL },
{ "replace", "SffS", "old,start,num,new", &help_replace, gnumeric_replace, NULL, NULL, NULL }, { "replace", "SffS", N_("old,start,num,new"), &help_replace, gnumeric_replace, NULL, NULL, NULL },
{ "rept", "Sf", "text,num", &help_rept, gnumeric_rept, NULL, NULL, NULL }, { "rept", "Sf", N_("text,num"), &help_rept, gnumeric_rept, NULL, NULL, NULL },
{ "right", "S|f", "text,num_chars", &help_right, gnumeric_right, NULL, NULL, NULL }, { "right", "S|f", N_("text,num_chars"), &help_right, gnumeric_right, NULL, NULL, NULL },
{ "search", "SS|f", "find,within[,start_num]", &help_search, gnumeric_search, NULL, NULL, NULL }, { "search", "SS|f", N_("find,within,start_num"), &help_search, gnumeric_search, NULL, NULL, NULL },
{ "substitute", "SSS|f", "text,old,new,num", &help_substitute, gnumeric_substitute, NULL, NULL, NULL }, { "substitute", "SSS|f", N_("text,old,new,num"), &help_substitute, gnumeric_substitute, NULL, NULL, NULL },
{ "t", "?", "value", &help_t_, gnumeric_t_, NULL, NULL, NULL }, { "t", "?", N_("value"), &help_t_, gnumeric_t_, NULL, NULL, NULL },
{ "text", "Ss", "value,format_text", &help_text, gnumeric_text, NULL, NULL, NULL }, { "text", "Ss", N_("value,format_text"), &help_text, gnumeric_text, NULL, NULL, NULL },
{ "trim", "S", "text", &help_trim, gnumeric_trim, NULL, NULL, NULL }, { "trim", "S", N_("text"), &help_trim, gnumeric_trim, NULL, NULL, NULL },
{ "upper", "S", "text", &help_upper, gnumeric_upper, NULL, NULL, NULL }, { "upper", "S", N_("text"), &help_upper, gnumeric_upper, NULL, NULL, NULL },
{ "value", "?", "text", &help_value, gnumeric_value, NULL, NULL, NULL }, { "value", "?", N_("text"), &help_value, gnumeric_value, NULL, NULL, NULL },
{NULL} {NULL}
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment