Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-04-26 10:14:10 (GMT)
committer Jonas Smedegaard <dr@jones.dk>2008-04-26 10:14:10 (GMT)
commitc0ad416e6ebfbe30315ca02becdc0c3609d07acc (patch)
tree9e13695d5797b0ebef958f6f3c108b5c341ce4ad
parent2d75e5d0f40d2a3dc1709b8646a072cda3c7da8d (diff)
Add patch 1003 adding danish l10n.debian/19.git.20080323.dfsg-2
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/1003_danish_l10n.patch683
-rw-r--r--debian/patches/series1
3 files changed, 685 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 8535bd6..4b6bc80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ sugar-calculate-activity (19~git.20080323.dfsg-2) unstable; urgency=low
+ Tighten python-sugar.mk build-dependency on python-sugar-toolkit
to versions using full path and also properly installing zip-based
bundles (*.xo files).
+ * Add patch 1003 adding danish l10n.
* Bump debhelper compatibility level to version 6.
* Semi-auto-update debian/control to update build-dependencies:
DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
diff --git a/debian/patches/1003_danish_l10n.patch b/debian/patches/1003_danish_l10n.patch
new file mode 100644
index 0000000..e61aa43
--- /dev/null
+++ b/debian/patches/1003_danish_l10n.patch
@@ -0,0 +1,683 @@
+diff --git a/po/da.po b/po/da.po
+new file mode 100644
+index 0000000..2d6f7be
+--- /dev/null
++++ b/po/da.po
+@@ -0,0 +1,677 @@
++# POT file for the Sugar Calculate activity
++# Copyright (C) 2008 Jonas Smedegaard
++# This file is distributed under the same license as the Calculate package.
++# Jonas Smedegaard <dr@jones.dk>, 2008.
++msgid ""
++msgstr ""
++"Project-Id-Version: Calculate 19\n"
++"Report-Msgid-Bugs-To: \n"
++"POT-Creation-Date: 2008-01-26 11:55-0500\n"
++"PO-Revision-Date: 2008-04-23 16:13+0200\n"
++"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n"
++"Language-Team: LANGUAGE <LL@li.org>\n"
++"MIME-Version: 1.0\n"
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: 8bit\n"
++"Plural-Forms: nplurals=2; plural=(n != 1);\n"
++
++#: activity/activity.info:2
++msgid "Calculate"
++msgstr "Regn"
++
++#: calculate.py:80
++#, python-format
++msgid "Equation.parse() string invalid (%s)"
++msgstr "Forkert Equation.parse() streng (%s)"
++
++#: calculate.py:210
++msgid "Available functions:"
++msgstr "Tilgængelige funktioner:"
++
++#: calculate.py:504
++#, python-format
++msgid "Writing to journal (%s)"
++msgstr "Skriver til logbog (%s)"
++
++#: calculate.py:522
++#, python-format
++msgid "Reading from journal (%s)"
++msgstr "Læser fra logbot (%s)"
++
++#: calculate.py:528
++msgid "Unable to determine version"
++msgstr "Kunne ikke afgøre version"
++
++#: calculate.py:533
++#, python-format
++msgid "Reading journal entry (version %s)"
++msgstr "Læser logindlæg (version %s)"
++
++#: calculate.py:538
++#, python-format
++msgid "State line invalid (%s)"
++msgstr "Statuslinje forkert (%s)"
++
++#: calculate.py:555
++#, python-format
++msgid "Unable to read journal entry, unknown version (%s)"
++msgstr "Kunne ikke læse logindlæg, ukendt version (%s)"
++
++#: calculate.py:788
++msgid "button_pressed(): invalid type"
++msgstr "button_pressed(): forkert type"
++
++#: eqnparser.py:58
++#, python-format
++msgid "level: %d, ofs %d"
++msgstr "niveau: %d, ofs %d"
++
++#: eqnparser.py:117
++#, python-format
++msgid "Error at %d"
++msgstr "Fejl ved %d"
++
++# Text assigned to the 'help' variable
++#: eqnparser.py:235
++msgid "help_var"
++msgstr "Brug help(test) til hjælp om 'test', eller help(index) for oversigten"
++
++#: eqnparser.py:353 eqnparser.py:354
++#, python-format
++msgid "Function '%s' not defined"
++msgstr "Funktion '%s' ikke defineret"
++
++#: eqnparser.py:359
++#, python-format
++msgid "Invalid number of arguments (%d instead of %d)"
++msgstr "Forkert antal argumenter (%d istedet for %d)"
++
++#: eqnparser.py:360
++#, python-format
++msgid "function takes %d args"
++msgstr "funktion tager %d argumenter"
++
++#: eqnparser.py:370 eqnparser.py:371
++#, python-format
++msgid "Unable to parse argument %d: '%s'"
++msgstr "Kunne ikke aflæse argument %d: '%s'"
++
++#: eqnparser.py:380
++#, python-format
++msgid "Function error: %s"
++msgstr "Funktionsfejl: %s"
++
++#: eqnparser.py:481
++#, python-format
++msgid "Variable '%s' not defined"
++msgstr "Variabel '%s' ikke defineret"
++
++#: eqnparser.py:516
++msgid "Parse error (right parenthesis)"
++msgstr "Aflæsningsfejl (højre parentes)"
++
++#: eqnparser.py:517 eqnparser.py:528 eqnparser.py:535 eqnparser.py:610
++msgid "Right parenthesis unexpected"
++msgstr "Right parenthesis unexpected"
++
++#: eqnparser.py:527
++msgid "Parse error (right parenthesis, no left_val)"
++msgstr "Aflæsningsfejl (højre parantes, ingen left_val)"
++
++#: eqnparser.py:541 eqnparser.py:542
++msgid "Number not expected"
++msgstr "Nummer ikke forventet"
++
++#: eqnparser.py:550
++msgid "Operator not expected"
++msgstr "Operator ikke forventet"
++
++#: eqnparser.py:596
++msgid "Invalid operator"
++msgstr "Forkert operator"
++
++#: eqnparser.py:603
++msgid "Operator expected"
++msgstr "Operator forventet"
++
++#: eqnparser.py:616
++msgid "_parse(): returning None"
++msgstr "_parse(): returnerer None"
++
++# -----------------------------------------
++# The help system uses topic msgid's that should be translated here.
++# -----------------------------------------
++#: eqnparserhelp.py:37
++msgid "help_acos"
++msgstr "acos(x), returnerer arc cosinus af x. Defineret for -1 <= x <= 1"
++
++#: eqnparserhelp.py:38
++msgid "help_and"
++msgstr ""
++
++#: eqnparserhelp.py:39
++msgid "help_asin"
++msgstr "asin(x), returnerer arc sinus af x. Defineret for -1 <= x <= 1"
++
++#: eqnparserhelp.py:40
++msgid "help_atan"
++msgstr ""
++
++# -----------------------------------------
++# The help system uses topic msgid's that should be translated here.
++# -----------------------------------------
++#: eqnparserhelp.py:41
++msgid "help_cos"
++msgstr ""
++
++# -----------------------------------------
++# The help system uses topic msgid's that should be translated here.
++# -----------------------------------------
++#: eqnparserhelp.py:42
++msgid "help_cosh"
++msgstr ""
++
++#: eqnparserhelp.py:43
++msgid "help_exp"
++msgstr "exp(x), returnerer e^x, eksampel: exp(1)"
++
++# -----------------------------------------
++# The help system uses topic msgid's that should be translated here.
++# -----------------------------------------
++#: eqnparserhelp.py:44
++msgid "help_fac"
++msgstr ""
++
++#: eqnparserhelp.py:45
++msgid "help_functions"
++msgstr "vis tilgængelige funktioner"
++
++#: eqnparserhelp.py:46
++msgid "help_ln"
++msgstr ""
++
++#: eqnparserhelp.py:47
++msgid "help_operators"
++msgstr "vis tilgængelige operatorer"
++
++# Text assigned to the 'help' variable
++#: eqnparserhelp.py:48
++msgid "help_or"
++msgstr ""
++
++#: eqnparserhelp.py:49
++msgid "help_plot"
++msgstr "plot(expression,range), plotter en funktion. Eksempel: plot(x^3,x=-2..2)"
++
++#: eqnparserhelp.py:50
++msgid "help_sin"
++msgstr ""
++
++#: eqnparserhelp.py:51
++msgid "help_sinh"
++msgstr ""
++
++#: eqnparserhelp.py:52
++msgid "help_sqrt"
++msgstr "sqrt(x), returnerer kvadratrod af x. Defineret for x >= 0"
++
++#: eqnparserhelp.py:53
++msgid "help_square"
++msgstr ""
++
++#: eqnparserhelp.py:54
++msgid "help_tan"
++msgstr ""
++
++#: eqnparserhelp.py:55
++msgid "help_tanh"
++msgstr ""
++
++#: eqnparserhelp.py:56
++msgid "help_test"
++msgstr "test er blot et eksempel på et hjælpeemne! Se help(index)"
++
++#: eqnparserhelp.py:57
++msgid "help_variables"
++msgstr "vis tilgængelige variable"
++
++# Text assigned to the 'help' variable
++#: eqnparserhelp.py:58
++msgid "help_xor"
++msgstr ""
++
++#: eqnparserhelp.py:69
++msgid "help_usage"
++msgstr "Brug help(test) til hjælp om 'test', eller help(index) for oversigten"
++
++# -----------------------------------------
++# End of help topics
++# -----------------------------------------
++#: eqnparserhelp.py:132
++msgid "Topics"
++msgstr "Emner"
++
++#: eqnparserhelp.py:143
++#, python-format
++msgid "No help about '%s' available, use help(index) for the index"
++msgstr "Ingen hjælp om '%s' tilgængelig, brug help(index) for oversigten"
++
++#: layout.py:60
++msgid "Edit"
++msgstr "Redigér"
++
++#: layout.py:61
++msgid "Algebra"
++msgstr "Algebra"
++
++#: layout.py:62
++msgid "Trigonometry"
++msgstr "Trigonometri"
++
++#: layout.py:63
++msgid "Boolean"
++msgstr "Logik"
++
++#: layout.py:64
++msgid "Constants"
++msgstr "Konstanter"
++
++#: layout.py:65
++msgid "Format"
++msgstr "Format"
++
++#: layout.py:86
++msgid "Label:"
++msgstr "Mærkat:"
++
++#: layout.py:118
++msgid "All equations"
++msgstr "Alle beregninger"
++
++#: layout.py:118
++msgid "My equations"
++msgstr "Mine beregninger"
++
++#: layout.py:120
++msgid "Show history"
++msgstr "Vis historie"
++
++#: layout.py:120
++msgid "Show variables"
++msgstr "Vis variable"
++
++#: mathlib.py:58
++msgid "thousand_sep"
++msgstr "."
++
++#: mathlib.py:63
++msgid "fraction_sep"
++msgstr ","
++
++#. TRANS: multiplication symbol (default: '*')
++#: mathlib.py:74
++msgid "mul_sym"
++msgstr "*"
++
++#. TRANS: division symbol (default: '/')
++#: mathlib.py:79
++msgid "div_sym"
++msgstr "÷"
++
++#: mathlib.py:132
++msgid "Undefined"
++msgstr ""
++
++#: mathlib.py:142
++msgid "Error: unsupported type"
++msgstr "Fejl: ikke-understøttet type"
++
++#: toolbars.py:36
++msgid "Help"
++msgstr "Hjælp"
++
++#: toolbars.py:86
++msgid "Copy"
++msgstr "Kopiér"
++
++#: toolbars.py:89
++msgid "Paste"
++msgstr "Sæt ind"
++
++#: toolbars.py:92
++msgid "Cut"
++msgstr "Klip"
++
++#: toolbars.py:99
++msgid "Square"
++msgstr ""
++
++#: toolbars.py:103
++msgid "Square root"
++msgstr "Kvadratrod"
++
++#: toolbars.py:109
++msgid "e to the power x"
++msgstr "e opløftet til x potens"
++
++#: toolbars.py:117
++msgid "Natural logarithm"
++msgstr "Naturlig logaritme"
++
++#: toolbars.py:123
++msgid "Factorial"
++msgstr ""
++
++#: toolbars.py:131
++msgid "Sine"
++msgstr "Sinus"
++
++#: toolbars.py:135
++msgid "Cosine"
++msgstr "Cosinus"
++
++#: toolbars.py:139
++msgid "Tangent"
++msgstr "Tangens"
++
++#: toolbars.py:145
++msgid "Arc sine"
++msgstr "Arc sinus"
++
++#: toolbars.py:149
++msgid "Arc cosine"
++msgstr "Arc cosinus"
++
++#: toolbars.py:153
++msgid "Arc tangent"
++msgstr "Arc tangens"
++
++#: toolbars.py:159
++msgid "Hyperbolic sine"
++msgstr "Hyperbolsk sinus"
++
++#: toolbars.py:163
++msgid "Hyperbolic cosine"
++msgstr "Hyperbolks cosinus"
++
++#: toolbars.py:167
++msgid "Hyperbolic tangent"
++msgstr "Hyperbolsk tangens"
++
++#: toolbars.py:175
++msgid "Logical and"
++msgstr "Logisk og (and)"
++
++#: toolbars.py:179
++msgid "Logical or"
++msgstr "Logisk eller (or)"
++
++#: toolbars.py:174
++msgid "Logical xor"
++msgstr "Logisk ikke-eller (xor)"
++
++#: toolbars.py:189
++msgid "Equals"
++msgstr "Lig"
++
++#: toolbars.py:192
++msgid "Not equals"
++msgstr "Ikke lig"
++
++#: toolbars.py:199
++msgid "Pi"
++msgstr "Pi"
++
++#: toolbars.py:202
++msgid "e"
++msgstr "e"
++
++#: toolbars.py:209
++msgid "Degrees"
++msgstr "Grader"
++
++#: toolbars.py:210
++msgid "Radians"
++msgstr "Radianer"
++
++#: eqnparser.py:33
++msgid "Parse error"
++msgstr "Aflæsningsfejl"
++
++#: eqnparser.py:249 eqnparserhelp.py:128
++msgid "Use help(test) for help about 'test', or help(index) for the index"
++msgstr "Brug help(test) til hjælp om 'test', eller help(index) for oversigten"
++
++#: eqnparser.py:504
++msgid "Left parenthesis unexpected"
++msgstr "Venstre parantes uventet"
++
++#: eqnparser.py:534
++msgid "Parse error (right parenthesis, no level to close)"
++msgstr "Aflæsningsfejl (højreparantes, intet niveau at lukke)"
++
++#: eqnparser.py:566
++msgid "Parse error: number or variable expected"
++msgstr "Aflæsningsfejl: nummer eller variabel forventet"
++
++#: eqnparser.py:567
++msgid "Number or variable expected"
++msgstr "Nummer eller variabel forventet"
++
++#. TRANS: It is possible to translate commands. However, I would highly
++#. recommend NOT doing so for mathematical functions like cos(). help(),
++#. functions() etc should be translated.
++#: eqnparserhelp.py:39
++msgid "acos"
++msgstr ""
++
++#: eqnparserhelp.py:40
++msgid ""
++"acos(x), return the arc cosine of x. This is the angle for which the cosine "
++"is x. Defined for -1 <= x < 1"
++msgstr ""
++
++#: eqnparserhelp.py:43
++msgid "and"
++msgstr ""
++
++#: eqnparserhelp.py:44
++msgid ""
++"and(x, y), logical and. Returns True if x and y are True, else returns False"
++msgstr ""
++
++#: eqnparserhelp.py:46
++msgid "asin"
++msgstr ""
++
++#: eqnparserhelp.py:47
++msgid ""
++"asin(x), return the arc sine of x. This is the angle for which the sine is "
++"x. Defined for -1 <= x <= 1"
++msgstr ""
++
++#: eqnparserhelp.py:50
++msgid "atan"
++msgstr ""
++
++#: eqnparserhelp.py:51
++msgid ""
++"atan(x), return the arc tangent of x. This is the angle for which the "
++"tangent is x. Defined for all x"
++msgstr ""
++
++#: eqnparserhelp.py:54
++msgid "cos"
++msgstr ""
++
++#: eqnparserhelp.py:55
++msgid ""
++"cos(x), return the cosine of x. This is the x-coordinate on the unit circle "
++"at the angle x"
++msgstr ""
++
++#: eqnparserhelp.py:58
++msgid "cosh"
++msgstr ""
++
++#: eqnparserhelp.py:59
++msgid ""
++"cosh(x), return the hyperbolic cosine of x. Given by (exp(x) + exp(-x)) / 2"
++msgstr ""
++
++#: eqnparserhelp.py:61
++msgid "exp"
++msgstr ""
++
++#: eqnparserhelp.py:62
++msgid "exp(x), return the natural exponent of x. Given by e^x"
++msgstr ""
++
++#: eqnparserhelp.py:64
++msgid "fac"
++msgstr ""
++
++#: eqnparserhelp.py:65
++msgid "fac(x), return the factorial of x. Given by x * (x - 1) * (x - 2) * ..."
++msgstr ""
++
++#. TRANS: This command is descriptive, so can be translated
++#: eqnparserhelp.py:68
++msgid "functions"
++msgstr "funktioner"
++
++#: eqnparserhelp.py:69
++msgid "functions(), return a list of all the functions that are defined"
++msgstr ""
++
++#: eqnparserhelp.py:71
++msgid "ln"
++msgstr ""
++
++#: eqnparserhelp.py:72
++msgid ""
++"ln(x), return the natural logarithm of x. This is the value for which the "
++"exponent exp() equals x. Defined for x >= 0."
++msgstr ""
++
++#. TRANS: This command is descriptive, so can be translated
++#: eqnparserhelp.py:76
++msgid "operators"
++msgstr "operatorer"
++
++#: eqnparserhelp.py:77
++msgid "operators(), return a list of the operators that are defined"
++msgstr ""
++
++#: eqnparserhelp.py:79
++msgid "or"
++msgstr ""
++
++#: eqnparserhelp.py:80
++msgid ""
++"or(x, y), logical or. Returns True if x and/or y are True, else return False"
++msgstr ""
++
++#: eqnparserhelp.py:82
++msgid "plot"
++msgstr ""
++
++#: eqnparserhelp.py:83
++msgid ""
++"plot(eqn, var=-a..b), plot the equation 'eqn' with the variable 'var' in the "
++"range from a to b"
++msgstr ""
++
++#: eqnparserhelp.py:86
++msgid "sin"
++msgstr ""
++
++#: eqnparserhelp.py:87
++msgid ""
++"sin(x), return the sine of x. This is the y-coordinate on the unit circle at "
++"the angle x"
++msgstr ""
++
++#: eqnparserhelp.py:90
++msgid "sinh"
++msgstr ""
++
++#: eqnparserhelp.py:91
++msgid ""
++"sinh(x), return the hyperbolic sine of x. Given by (exp(x) - exp(-x)) / 2"
++msgstr ""
++
++#: eqnparserhelp.py:93
++msgid "sqrt"
++msgstr ""
++
++#: eqnparserhelp.py:94
++msgid ""
++"sqrt(x), return the square root of x. This is the value for which the square "
++"equals x. Defined for x >= 0."
++msgstr ""
++
++#: eqnparserhelp.py:97
++msgid "square"
++msgstr ""
++
++#: eqnparserhelp.py:98
++msgid "square(x), return the square of x. Given by x * x"
++msgstr ""
++
++#: eqnparserhelp.py:101
++msgid "tan"
++msgstr ""
++
++#: eqnparserhelp.py:102
++msgid ""
++"tan(x), return the tangent of x. This is the slope of the line from the "
++"origin of the unit circle to the point on the unit circle defined by the "
++"angle x. Given by sin(x) / cos(x)"
++msgstr ""
++
++#: eqnparserhelp.py:106
++msgid "tanh"
++msgstr ""
++
++#: eqnparserhelp.py:107
++msgid "sinh(x), return the hyperbolic tangent of x. Given by sinh(x) / cosh(x)"
++msgstr "sinh(x) returnerer hyperbolsk tangens af x. Givet af sinh(x) / cosh(x)"
++
++#: eqnparserhelp.py:109
++msgid "test"
++msgstr ""
++
++#: eqnparserhelp.py:110
++msgid "This is just a test topic, use help(index) for the index"
++msgstr "Dette er blot et testemne, brug help(index) for oversigten"
++
++#. TRANS: This command is descriptive, so can be translated
++#: eqnparserhelp.py:113
++msgid "variables"
++msgstr "variable"
++
++#: eqnparserhelp.py:114
++msgid "variables(), return a list of the variables that are currently defined"
++msgstr "variables(), returnerer en liste over variable defineret i øjeblikket"
++
++#: eqnparserhelp.py:116
++msgid "xor"
++msgstr ""
++
++#: eqnparserhelp.py:117
++msgid ""
++"xor(x, y), logical xor. Returns True if either x is True (and y is False) or "
++"y is True (and x is False), else returns False"
++msgstr ""
++"xor(x, y), logisk ikke-eller (xor). Returnerer Sand hvis enten x is Sand (og "
++"y er Falsk) eller y er Sand (og x er Falsk), og returnerer ellers Falsk"
++
++#. TRANS: help(index), both 'index' and the translation will work
++#: eqnparserhelp.py:131
++msgid "index"
++msgstr "oversigt"
++
++#: toolbars.py:113
++msgid "x to the power y"
++msgstr "x opløftet til y potens"
diff --git a/debian/patches/series b/debian/patches/series
index ef14608..a7d4129 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
1001_strip_sharedstate_from_MANIFEST.patch
1002_fix_class_syntax.patch
+1003_danish_l10n.patch
2001_strip_stripped_po-files_from_MANIFEST.patch