Skip to content

Commit a7aab9c

Browse files
Small fixes in strings.xml (#3).
1 parent b5b9869 commit a7aab9c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

app/src/main/res/values/strings.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<item>Add variable</item>
2929
<item>Add function</item>
3030
</string-array>
31-
<string name="contextItemDeletePrompt">Do you want to delete "%s" ?</string>
32-
<string name="contextItemDeleted">"%s" has been deleted.</string>
31+
<string name="contextItemDeletePrompt">Do you want to delete \"%s\" ?</string>
32+
<string name="contextItemDeleted">\"%s\" has been deleted.</string>
3333

3434
<!-- both EditFunctionDialogFragment and EditVariableDialogFragment -->
3535
<string name="name">Name</string>
@@ -62,30 +62,30 @@
6262
<string name="evalStep">%1$s evaluates to %2$s</string>
6363
<string name="exprEndReached">A sub-expression was expected, but the end of the expression was reached.</string>
6464
<string name="failedStoreResult">Warning: failed to store result. Reason: %s</string>
65-
<string name="incorrectDelete">Incorrect syntax. To delete a function, the number of arguments must be specified (e.g. "fun(2)=" to delete "fun(x, y)").</string>
65+
<string name="incorrectDelete">Incorrect syntax. To delete a function, the number of arguments must be specified (e.g. \"fun(2)=\" to delete \"fun(x, y)\").</string>
6666
<string name="interactiveHelp">
6767
Accepted statements are expressions, assignments and commands.
6868
An expression can be formed by integer or decimal numbers, the +,-,*,/,^ binary operators, variables, functions and parenthesis.
6969
A variable is a string of one or more letters and/or underscores. Variables can\'t be named as commands, which are reserved words.
70-
When an expression is successfully evaluated, it\'s result is displayed and automatically assigned to the "ans" variable, so it can be accessed from the next statement.
70+
When an expression is successfully evaluated, it\'s result is displayed and automatically assigned to the \"ans\" variable, so it can be accessed from the next statement.
7171
A variable assignment is formed by a variable name followed by the = symbol and an expression, which is evaluated and bound to that variable.
72-
An empty assignment (in the form "someVariable=") deletes the variable.
73-
A function assignment is formed by a function name and its parameters, followed by the = symbol and an expression, which is bound to that function, e.g."sum(x,y)=x+y".
74-
A function can be deleted with an empty assignment; the number of arguments must be specified, e.g. "sum(2)=" to delete the function "sum" defined on two arguments.
75-
An assignment (of variable or function) can be prepended with the "readonly" word to prevent it to be modified or deleted, e.g. "readonly x=1", "readonly square(a)=a^2".
72+
An empty assignment (in the form \"someVariable=\") deletes the variable.
73+
A function assignment is formed by a function name and its parameters, followed by the = symbol and an expression, which is bound to that function, e.g.\"sum(x,y)=x+y\".
74+
A function can be deleted with an empty assignment; the number of arguments must be specified, e.g. \"sum(2)=\" to delete the function \"sum\" defined on two arguments.
75+
An assignment (of variable or function) can be prepended with the \"readonly\" word to prevent it to be modified or deleted, e.g. \"readonly x=1\", \"readonly square(a)=a^2\".
7676
The commands are: context (prints all the defined variables and functions), clear (deletes all the non-readonly variables and functions), help (shows this message) and exit (stops reading input).
7777
</string>
7878
<string name="invalidOperator">Unknown operator \'%s\'.</string>
79-
<string name="invalidSymName">"%1$s" isn\'t a valid symbol name because it contains the \'%2$s\' character.</string>
79+
<string name="invalidSymName">\"%1$s\" isn\'t a valid symbol name because it contains the \'%2$s\' character.</string>
8080
<string name="onlyOneEquality">Only one = operator per command is allowed.</string>
8181
<string name="operatorExpected">An operator was expected, but an expression was found.</string>
8282
<string name="operatorFound">A sub-expression was expected, but an operator was found.</string>
8383
<string name="parenthesisMismatch">The numbers of opened and closed parenthesis don\'t match.</string>
84-
<string name="readonlyFunc">The "%1$s" function is defined as read-only for %1$s arguments.</string>
85-
<string name="readonlyVar">The "%s" variable is defined as read-only.</string>
84+
<string name="readonlyFunc">The \"%1$s\" function is defined as read-only for %2$s arguments.</string>
85+
<string name="readonlyVar">The \"%s\" variable is defined as read-only.</string>
8686
<string name="reservedWord">%s is a reserved word and can\'t be used as symbol name.</string>
8787
<string name="rewriteStep">%1$s can be rewritten as %2$s</string>
88-
<string name="undefinedFunc">The function "%1$s" is not defined for %2$s arguments.</string>
89-
<string name="undefinedVar">The variable "%s" is not defined.</string>
88+
<string name="undefinedFunc">The function \"%1$s\" is not defined for %2$s arguments.</string>
89+
<string name="undefinedVar">The variable \"%s\" is not defined.</string>
9090
<string name="unknownChar">Unrecognized character %s.</string>
9191
</resources>

0 commit comments

Comments
 (0)