summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-03-19 12:46:42 +0000
committerdeva <deva>2009-03-19 12:46:42 +0000
commita2e82a7481d7a58b699f97760cd867b192448542 (patch)
tree8b1e2e7270306172521040e629c80386ffcdcde7
parent2cab37c3bfffc6a17fbae61a2b4599fa533d2775 (diff)
Localized multilist
-rw-r--r--client/pracro_dk.ts64
-rw-r--r--client/widgets/multilist.cc4
2 files changed, 46 insertions, 22 deletions
diff --git a/client/pracro_dk.ts b/client/pracro_dk.ts
index d2d5698..a1d3405 100644
--- a/client/pracro_dk.ts
+++ b/client/pracro_dk.ts
@@ -1,103 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1">
+<!DOCTYPE TS>
+<TS version="2.0" language="da_DK">
<defaultcodec></defaultcodec>
<context>
<name>ComboBox</name>
<message>
- <location filename="widgets/combobox.cc" line="82"/>
<source>goddaws do</source>
<translation type="obsolete">weeee</translation>
</message>
</context>
<context>
+ <name>DBWidget</name>
+ <message>
+ <location filename="widgets/dbwidget.cc" line="81"/>
+ <location filename="widgets/dbwidget.cc" line="127"/>
+ <location filename="widgets/dbwidget.cc" line="158"/>
+ <source>Write something in the searchfield</source>
+ <translation type="unfinished">Skriv noget i søgefeltet</translation>
+ </message>
+</context>
+<context>
+ <name>MultiList</name>
+ <message>
+ <location filename="widgets/multilist.cc" line="56"/>
+ <source>Add to list</source>
+ <translation type="unfinished">Tilføj til listen</translation>
+ </message>
+ <message>
+ <location filename="widgets/multilist.cc" line="62"/>
+ <source>Remove from list</source>
+ <oldsource>Remove form list</oldsource>
+ <translation type="unfinished">Fjern fra listen</translation>
+ </message>
+</context>
+<context>
<name>QObject</name>
<message>
- <location filename="messagebox.cc" line="57"/>
+ <location filename="messagebox.cc" line="58"/>
<source>Ok</source>
<translation type="unfinished">Ok</translation>
</message>
<message>
- <location filename="messagebox.cc" line="60"/>
+ <location filename="messagebox.cc" line="61"/>
<source>Open</source>
<translation type="unfinished">Ã…bn</translation>
</message>
<message>
- <location filename="messagebox.cc" line="63"/>
+ <location filename="messagebox.cc" line="64"/>
<source>Save</source>
<translation type="unfinished">Gem</translation>
</message>
<message>
- <location filename="messagebox.cc" line="66"/>
+ <location filename="messagebox.cc" line="67"/>
<source>Cancel</source>
<translation type="unfinished">Annullér</translation>
</message>
<message>
- <location filename="messagebox.cc" line="69"/>
+ <location filename="messagebox.cc" line="70"/>
<source>Close</source>
<translation type="unfinished">Luk</translation>
</message>
<message>
- <location filename="messagebox.cc" line="72"/>
+ <location filename="messagebox.cc" line="73"/>
<source>Discard</source>
<translation type="unfinished">Kassér</translation>
</message>
<message>
- <location filename="messagebox.cc" line="75"/>
+ <location filename="messagebox.cc" line="76"/>
<source>Apply</source>
<translation type="unfinished">Tag i brug</translation>
</message>
<message>
- <location filename="messagebox.cc" line="78"/>
+ <location filename="messagebox.cc" line="79"/>
<source>Reset</source>
<translation type="unfinished">Nulstil</translation>
</message>
<message>
- <location filename="messagebox.cc" line="81"/>
+ <location filename="messagebox.cc" line="82"/>
<source>Restore Defaults</source>
<translation type="unfinished">Genopret default</translation>
</message>
<message>
- <location filename="messagebox.cc" line="84"/>
+ <location filename="messagebox.cc" line="85"/>
<source>Help</source>
<translation type="unfinished">Hjælp</translation>
</message>
<message>
- <location filename="messagebox.cc" line="87"/>
+ <location filename="messagebox.cc" line="88"/>
<source>Save All</source>
<translation type="unfinished">Gem alle</translation>
</message>
<message>
- <location filename="messagebox.cc" line="90"/>
+ <location filename="messagebox.cc" line="91"/>
<source>Yes</source>
<translation type="unfinished">Ja</translation>
</message>
<message>
- <location filename="messagebox.cc" line="93"/>
+ <location filename="messagebox.cc" line="94"/>
<source>Yes To All</source>
<translation type="unfinished">Ja til alle</translation>
</message>
<message>
- <location filename="messagebox.cc" line="96"/>
+ <location filename="messagebox.cc" line="97"/>
<source>No</source>
<translation type="unfinished">Nej</translation>
</message>
<message>
- <location filename="messagebox.cc" line="99"/>
+ <location filename="messagebox.cc" line="100"/>
<source>No To All</source>
<translation type="unfinished">Nej til alle</translation>
</message>
<message>
- <location filename="messagebox.cc" line="102"/>
+ <location filename="messagebox.cc" line="103"/>
<source>Abort</source>
<translation type="unfinished">Afbryd</translation>
</message>
<message>
- <location filename="messagebox.cc" line="105"/>
+ <location filename="messagebox.cc" line="106"/>
<source>Retry</source>
<translation type="unfinished">Prøv igen</translation>
</message>
<message>
- <location filename="messagebox.cc" line="108"/>
+ <location filename="messagebox.cc" line="109"/>
<source>Ignore</source>
<translation type="unfinished">Ignorér</translation>
</message>
diff --git a/client/widgets/multilist.cc b/client/widgets/multilist.cc
index 87f4975..57fc8fa 100644
--- a/client/widgets/multilist.cc
+++ b/client/widgets/multilist.cc
@@ -53,13 +53,13 @@ MultiList::MultiList(QDomNode &node, MacroWindow *macrowindow)
QPushButton *add = new QPushButton(this);
connect(add, SIGNAL(clicked()), this, SLOT(add()));
- add->setText("Tilføj nedenstående til listen");
+ add->setText(tr("Add to list"));
add->setIcon(QIcon(QPixmap(":icons/add.png")));
layout->addWidget(add, 1, 0, 1, 1, Qt::AlignTop);
QPushButton *rem = new QPushButton(this);
connect(rem, SIGNAL(clicked()), this, SLOT(remove()));
- rem->setText("Fjern det markerede element fra listen");
+ rem->setText(tr("Remove from list"));
rem->setIcon(QIcon(QPixmap(":icons/del.png")));
layout->addWidget(rem, 1, 1, 1, 1, Qt::AlignTop);