Skip to content
Snippets Groups Projects
Commit e83f136e authored by simsc266's avatar simsc266
Browse files

part3

parent 6896b49e
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sv_SE">
<context>
<name>QObject</name>
<message>
<location filename="linguist-main.cpp" line="34"/>
<source>The current language is the default (C/POSIX)
</source>
<translation>Det nuvarande språket är standardspråket.</translation>
</message>
<message>
<location filename="linguist-main.cpp" line="35"/>
<source>The horse can run.
</source>
<translation>Hästen kan springa.</translation>
</message>
<message>
<location filename="linguist-main.cpp" line="36"/>
<source>How fast can the horse run?
</source>
<translation>Hur snabbt kan hästen springa?</translation>
</message>
<message>
<location filename="linguist-main.cpp" line="37"/>
<source>It typically runs at speed of less than 50 km/h.
</source>
<translation>Den springer vanligtvis med en hastighet mindre än 50 km/h.</translation>
</message>
</context>
</TS>
#include <libintl.h>
#include <locale.h>
void setup()
{
/* Your code here. Setup a domain for gettext. */
/* Use UTF-8 or gettext prints question marks for your Swedish letters */
/* bind_textdomain_codeset(... , "utf8"); */
setlocale(LC_MESSAGES, "sv_SE.utf8");
bindtextdomain ("messages", "/home/simsc266/TDDE45/lab31/lab3-cross-platform/translations");
textdomain ("messages");
bind_textdomain_codeset("messages" , "utf8");
}
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-25 14:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. You need to update this code to output translated strings
#. * Note that you should make gettext-main.c linguist-main.c and modify
#. * those files rather than base.c
#.
#: gettext-main.c:33
msgid "The current language is the default (C/POSIX)\n"
msgstr "Det nuvarande språket är standardspråket.\n"
#: gettext-main.c:34
msgid "The horse can run.\n"
msgstr "Hästen kan springa.\n"
#: gettext-main.c:35
msgid "How fast can the horse run?\n"
msgstr "Hur snabbt kan hästen springa?\n"
#: gettext-main.c:36
msgid "It typically runs at speed of less than 50 km/h.\n"
msgstr "Den springer vanligtvis med en hastighet mindre än 50 km/h.\n"
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-25 14:00+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. You need to update this code to output translated strings
#. * Note that you should make gettext-main.c linguist-main.c and modify
#. * those files rather than base.c
#.
#: gettext-main.c:33
msgid "The current language is the default (C/POSIX)\n"
msgstr "Det nuvarande s"
#: gettext-main.c:34
msgid "The horse can run.\n"
msgstr ""
#: gettext-main.c:35
msgid "How fast can the horse run?\n"
msgstr ""
#: gettext-main.c:36
msgid "It typically runs at speed of less than 50 km/h.\n"
msgstr ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment