summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am4
-rw-r--r--src/canvastoollisten.h2
-rw-r--r--src/canvastoolselections.h2
-rw-r--r--src/canvastoolthreshold.h2
-rw-r--r--src/ts/dgedit_da.ts24
-rw-r--r--src/ts/dgedit_fr.ts30
6 files changed, 56 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 60556ff..9dcf92c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -79,8 +79,8 @@ qrc_%.cc: %.qrc
%.res: %.rc
rc $<
-%.ts: $(dgedit_SOURCES)
- QT_SELECT=qt5 lupdate $(dgedit_SOURCES) -ts $@
+%.ts: $(dgedit_SOURCES) $(EXTRA_DIST)
+ QT_SELECT=qt5 lupdate $(dgedit_SOURCES) $(EXTRA_DIST) -ts $@
%.qm: %.ts
QT_SELECT=qt5 lrelease $<
diff --git a/src/canvastoollisten.h b/src/canvastoollisten.h
index 8fb8770..7b9795e 100644
--- a/src/canvastoollisten.h
+++ b/src/canvastoollisten.h
@@ -38,7 +38,7 @@ class CanvasToolListen
public:
CanvasToolListen(Canvas* canvas, Player& player);
- QString name() { return "Listen"; }
+ QString name() { return tr("Listen"); }
bool mousePressEvent(QMouseEvent* event);
bool mouseReleaseEvent(QMouseEvent* event);
void paintEvent(QPaintEvent* event, QPainter& painter);
diff --git a/src/canvastoolselections.h b/src/canvastoolselections.h
index f911e70..21f00c6 100644
--- a/src/canvastoolselections.h
+++ b/src/canvastoolselections.h
@@ -42,7 +42,7 @@ public:
CanvasToolSelections(Canvas* canvas, Selections& selections,
Selections& selections_preview);
- QString name() { return "Selections"; }
+ QString name() { return tr("Selections"); }
bool mouseMoveEvent(QMouseEvent* event);
bool mousePressEvent(QMouseEvent* event);
bool mouseReleaseEvent(QMouseEvent* event);
diff --git a/src/canvastoolthreshold.h b/src/canvastoolthreshold.h
index 1279c75..ddb1a85 100644
--- a/src/canvastoolthreshold.h
+++ b/src/canvastoolthreshold.h
@@ -39,7 +39,7 @@ class CanvasToolThreshold
public:
CanvasToolThreshold(Canvas* canvas);
- QString name() { return "Threshold"; }
+ QString name() { return tr("Threshold"); }
bool mouseMoveEvent(QMouseEvent* event);
bool mousePressEvent(QMouseEvent* event);
bool mouseReleaseEvent(QMouseEvent* event);
diff --git a/src/ts/dgedit_da.ts b/src/ts/dgedit_da.ts
index 220bf09..f427d26 100644
--- a/src/ts/dgedit_da.ts
+++ b/src/ts/dgedit_da.ts
@@ -2,6 +2,30 @@
<!DOCTYPE TS>
<TS version="2.1" language="da_DK">
<context>
+ <name>CanvasToolListen</name>
+ <message>
+ <location filename="../canvastoollisten.h" line="41"/>
+ <source>Listen</source>
+ <translation>Lyt</translation>
+ </message>
+</context>
+<context>
+ <name>CanvasToolSelections</name>
+ <message>
+ <location filename="../canvastoolselections.h" line="45"/>
+ <source>Selections</source>
+ <translation>Markeringer</translation>
+ </message>
+</context>
+<context>
+ <name>CanvasToolThreshold</name>
+ <message>
+ <location filename="../canvastoolthreshold.h" line="42"/>
+ <source>Threshold</source>
+ <translation>Grænseværdi</translation>
+ </message>
+</context>
+<context>
<name>FileList</name>
<message>
<location filename="../filelist.cc" line="51"/>
diff --git a/src/ts/dgedit_fr.ts b/src/ts/dgedit_fr.ts
index 2080523..a11035a 100644
--- a/src/ts/dgedit_fr.ts
+++ b/src/ts/dgedit_fr.ts
@@ -2,6 +2,30 @@
<!DOCTYPE TS>
<TS version="2.1" language="da_DK">
<context>
+ <name>CanvasToolListen</name>
+ <message>
+ <location filename="../canvastoollisten.h" line="41"/>
+ <source>Listen</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>CanvasToolSelections</name>
+ <message>
+ <location filename="../canvastoolselections.h" line="45"/>
+ <source>Selections</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
+ <name>CanvasToolThreshold</name>
+ <message>
+ <location filename="../canvastoolthreshold.h" line="42"/>
+ <source>Threshold</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+<context>
<name>FileList</name>
<message>
<location filename="../filelist.cc" line="51"/>
@@ -107,7 +131,7 @@
<message>
<location filename="../mainwindow.cc" line="336"/>
<source>Attack length:</source>
- <translation>Longueur d'attaque :</translation>
+ <translation>Longueur d&apos;attaque :</translation>
</message>
<message>
<location filename="../mainwindow.cc" line="343"/>
@@ -137,7 +161,7 @@
<message>
<location filename="../mainwindow.cc" line="388"/>
<source>Export path:</source>
- <translation>Chemin d'exportation :</translation>
+ <translation>Chemin d&apos;exportation :</translation>
</message>
<message>
<location filename="../mainwindow.cc" line="394"/>
@@ -152,7 +176,7 @@
<message>
<location filename="../mainwindow.cc" line="566"/>
<source>Select export path</source>
- <translation>Sélectionner le chemin d'exportation</translation>
+ <translation>Sélectionner le chemin d&apos;exportation</translation>
</message>
</context>
<context>