summaryrefslogtreecommitdiff
path: root/translations
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2009-06-25 17:22:22 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2010-01-02 22:30:11 +0100
commitba6f2a8b748ac909c53417bb3e6fd0812af1f7dd (patch)
tree088ffe5321725a5d5b51cb1ed247e110a286b8e5 /translations
parentd748d049209a6ad4f5dd029c59e93486b969a377 (diff)
downloadfribid-ba6f2a8b748ac909c53417bb3e6fd0812af1f7dd.tar.gz
fribid-ba6f2a8b748ac909c53417bb3e6fd0812af1f7dd.tar.bz2
fribid-ba6f2a8b748ac909c53417bb3e6fd0812af1f7dd.zip
Added translation support and a Swedish translation
Diffstat (limited to 'translations')
-rw-r--r--translations/Makefile38
-rw-r--r--translations/sv.po89
2 files changed, 127 insertions, 0 deletions
diff --git a/translations/Makefile b/translations/Makefile
new file mode 100644
index 0000000..67a82e7
--- /dev/null
+++ b/translations/Makefile
@@ -0,0 +1,38 @@
+
+.SUFFIXES:
+.SUFFIXES: .po .mo
+
+POTFILES=../client/gtk.c ../client/gtk/sign.glade
+DOMAIN=`../configure --internal--get-define=BINNAME`
+
+PACKAGENAME=`../configure --internal--get-define=PACKAGENAME`
+PACKAGEVERSION=`../configure --internal--get-define=PACKAGEVERSION`
+LOCALEDIR=`../configure --internal--get-define=LOCALEDIR`
+
+MOFILES=sv.mo
+LANGUAGES=sv
+
+all: template.pot $(MOFILES)
+
+template.pot: $(POTFILES)
+ xgettext -k_ -d $(DOMAIN) --package-name=$(PACKAGENAME) --package-version=$(PACKAGEVERSION) --copyright-holder='YOUR NAME' -o $@ $(POTFILES)
+
+.po.mo:
+ msgfmt $< -o $@
+
+clean:
+ rm -f template.pot $(MOFILES)
+
+install:
+ for lang in $(LANGUAGES); do \
+ install -d $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES && \
+ install -m 644 -T $$lang.mo $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/$(DOMAIN).mo || exit 1; \
+ done
+
+uninstall:
+ for lang in $(LANGUAGES); do \
+ rm -f $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/$(DOMAIN).mo || exit 1; \
+ done
+
+.PHONY: all clean install uninstall
+
diff --git a/translations/sv.po b/translations/sv.po
new file mode 100644
index 0000000..937d875
--- /dev/null
+++ b/translations/sv.po
@@ -0,0 +1,89 @@
+# Swedish translations for FriBID package
+# Svenska översättningar för paket FriBID.
+# Copyright (C) 2009 Samuel Lidén Borell
+# This file is distributed under the same license as the PACKAGE package.
+# Samuel Liden Borell <samuel@slbdata.se>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: FriBID 0.1.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-06-25 16:35+0200\n"
+"PO-Revision-Date: 2009-06-25 16:35+0200\n"
+"Last-Translator: Samuel Liden Borell <samuel@slbdata.se>\n"
+"Language-Team: Swedish\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"
+
+#: ../client/gtk.c:227
+msgid "Authentication"
+msgstr "Legitimering"
+
+#: ../client/gtk.c:228
+msgid "<big><b>Log in to: </b></big>"
+msgstr "<big><b>Logga in på: </b></big>"
+
+#: ../client/gtk.c:229 ../client/gtk/sign.glade:212
+msgid "_Log in"
+msgstr "_Logga in"
+
+#: ../client/gtk.c:237
+msgid "Signing"
+msgstr "Underskrift"
+
+#: ../client/gtk.c:238
+msgid "<big><b>Site: </b></big>"
+msgstr "<big><b>Webbsida: </b></big>"
+
+#: ../client/gtk.c:239
+msgid "_Sign"
+msgstr "_Signera"
+
+#: ../client/gtk.c:247
+msgid "Select external identity file"
+msgstr "Välj en extern legitimationsfil"
+
+#: ../client/gtk.c:268
+msgid "No matching identities found"
+msgstr "Inga matchande identiteter hittades"
+
+#: ../client/gtk.c:269
+msgid "Invalid file format"
+msgstr "Felaktigt filformat"
+
+#: ../client/gtk.c:318
+msgid "Signing/authentication failed. Maybe the password is incorrect?"
+msgstr "Legitimering/signering misslyckades. Lösenordet är kanske felaktigt."
+
+#: ../client/gtk.c:322
+msgid ""
+"This software version has expired, and will probably not be accepted on all "
+"web sites.\n"
+"\n"
+"Please download a newer version (if available), or use the officially "
+"supported software (Nexus Personal) instead."
+msgstr ""
+"Denna programvara har gått ut, och kanske inte kommer att accepteras "
+"på alla webbsidor.\n"
+"\n"
+"Du behöver ladda ner en nyare version (om det finns någon) eller, "
+"alternativt, använda den officiella programvaran (Nexus Personal) istället."
+
+#: ../client/gtk/sign.glade:65
+msgid "Information to sign:"
+msgstr "Information att signera:"
+
+#: ../client/gtk/sign.glade:104
+msgid "Signature:"
+msgstr "Signatur:"
+
+#: ../client/gtk/sign.glade:117
+msgid "Password:"
+msgstr "Lösenord:"
+
+#: ../client/gtk/sign.glade:234
+msgid "External file..."
+msgstr "Extern fil..."
+