[gnome-calculator] help: Do not translate names of functions on the functions page



commit 6b9227fbe560899f2d8978fc3c2373b58dc35d74
Author: Andre Klapper <a9016009 gmx de>
Date:   Thu Nov 28 00:33:47 2019 +0100

    help: Do not translate names of functions on the functions page
    
    See #146

 help/C/functions.page | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/help/C/functions.page b/help/C/functions.page
index 774b7ecb..26b8fe02 100644
--- a/help/C/functions.page
+++ b/help/C/functions.page
@@ -1,4 +1,4 @@
-<page xmlns="http://projectmallard.org/1.0/";
+<page xmlns="http://projectmallard.org/1.0/"; xmlns:its="http://www.w3.org/2005/11/its";
       type="guide"
       id="function">
 
@@ -13,13 +13,13 @@
     If the argument is not a number or <link xref="variable">a single variable</link> then write each 
argument separated by semicolon and use parenthesis around the argument list.
     </p>
     <example>
-    <p>
+    <p its:locNote="Translators: Do not translate the word 'sin'!">
     sin 30
     </p>
-    <p>
+    <p its:locNote="Translators: Do not translate the word 'abs'!">
     abs (5−9)
     </p>
-    <p>
+    <p its:locNote="Translators: Do not translate the word 'fun'!">
     fun (9;10)
     </p>
     </example>
@@ -49,79 +49,79 @@
     </p>
     <table>
     <tr>
-    <td><p>abs</p></td>
+    <td><p its:translate="no">abs</p></td>
     <td><p><link xref="absolute">Absolute Value</link></p></td>
     </tr>
     <tr>
-    <td><p>ceil</p></td>
+    <td><p its:translate="no">ceil</p></td>
     <td><p>Ceiling</p></td>
     </tr>
     <tr>
-    <td><p>cos</p></td>
+    <td><p its:translate="no">cos</p></td>
     <td><p><link xref="trigonometry">Cosine</link></p></td>
     </tr>
     <tr>
-    <td><p>cosh</p></td>
+    <td><p its:translate="no">cosh</p></td>
     <td><p><link xref="trigonometry">Hyperbolic Cosine</link></p></td>
     </tr>
     <tr>
-    <td><p>floor</p></td>
+    <td><p its:translate="no">floor</p></td>
     <td><p>Floor</p></td>
     </tr>
     <tr>
-    <td><p>frac</p></td>
+    <td><p its:translate="no">frac</p></td>
     <td><p>Fractional Component</p></td>
     </tr>
     <tr>
-    <td><p>int</p></td>
+    <td><p its:translate="no">int</p></td>
     <td><p>Integer Component</p></td>
     </tr>
     <tr>
-    <td><p>ln</p></td>
+    <td><p its:translate="no">ln</p></td>
     <td><p><link xref="logarithm">Natural Logarithm</link></p></td>
     </tr>
     <tr>
-    <td><p>log</p></td>
+    <td><p its:translate="no">log</p></td>
     <td><p><link xref="logarithm">Logarithm</link></p></td>
     </tr>
     <tr>
-    <td><p>not</p></td>
+    <td><p its:translate="no">not</p></td>
     <td><p><link xref="boolean">Boolean NOT</link></p></td>
     </tr>
     <tr>
-    <td><p>ones</p></td>
+    <td><p its:translate="no">ones</p></td>
     <td><p>Ones complement</p></td>
     </tr>
     <tr>
-    <td><p>round</p></td>
+    <td><p its:translate="no">round</p></td>
     <td><p>Round</p></td>
     </tr>
     <tr>
-    <td><p>sgn</p></td>
+    <td><p its:translate="no">sgn</p></td>
     <td><p>Signum</p></td>
     </tr>
     <tr>
-    <td><p>sin</p></td>
+    <td><p its:translate="no">sin</p></td>
     <td><p><link xref="trigonometry">Sine</link></p></td>
     </tr>
     <tr>
-    <td><p>sinh</p></td>
+    <td><p its:translate="no">sinh</p></td>
     <td><p><link xref="trigonometry">Hyperbolic Sine</link></p></td>
     </tr>
     <tr>
-    <td><p>sqrt</p></td>
+    <td><p its:translate="no">sqrt</p></td>
     <td><p><link xref="power">Square Root</link></p></td>
     </tr>
     <tr>
-    <td><p>tan</p></td>
+    <td><p its:translate="no">tan</p></td>
     <td><p><link xref="trigonometry">Tangent</link></p></td>
     </tr>
     <tr>
-    <td><p>tanh</p></td>
+    <td><p its:translate="no">tanh</p></td>
     <td><p><link xref="trigonometry">Hyperbolic Tangent</link></p></td>
     </tr>
     <tr>
-    <td><p>twos</p></td>
+    <td><p its:translate="no">twos</p></td>
     <td><p>Twos complement</p></td>
     </tr>
     </table>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]