diff --git a/.gitignore b/.gitignore
index 13d7bd403de476a38776eb0f1d9a1a3e7cd68e76..40dcb0e85f6a24fc344f5d4909e3680c18aa1be3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
build
arm
arm-build
+.zanata-cache/
diff --git a/.zanata.xml b/.zanata.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3939b81a9d165bc684fdcf8305335575ef38a20e
--- /dev/null
+++ b/.zanata.xml
@@ -0,0 +1,8 @@
+
+
+ https://translate.zanata.org/
+ chatty
+ 0.0.0
+ gettext
+ .
+
diff --git a/po/POTFILES b/po/POTFILES
index d6d2c68e6e7f6b824b4686b58f5fefadb6d88761..ab813e3cde234f713f7a41e59e029c43f7df432e 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -1,6 +1,22 @@
-data/sm.puri.Chatty.desktop.in
data/sm.puri.Chatty.appdata.xml.in
+data/sm.puri.Chatty.desktop.in
data/sm.puri.Chatty.gschema.xml
-src/chatty-window.ui
+src/chatty-account.c
+src/chatty-account.h
+src/chatty-buddy-list.c
+src/chatty-buddy-list.h
+src/chatty-connection.c
+src/chatty-connection.h
+src/chatty-conversation.c
+src/chatty-conversation.h
+src/chatty-icons.c
+src/chatty-icons.h
+src/chatty-message-list.c
+src/chatty-message-list.h
+src/chatty-popover-actions.c
+src/chatty-popover-actions.h
+src/chatty-purple-init.c
+src/chatty-purple-init.h
+src/chatty-window.c
+src/chatty-window.h
src/main.c
-src/purism-chatty-window.c
diff --git a/po/purism-chatty.pot b/po/purism-chatty.pot
new file mode 100644
index 0000000000000000000000000000000000000000..799460419d7e63aa65c19edef5c83ae9b5eb837f
--- /dev/null
+++ b/po/purism-chatty.pot
@@ -0,0 +1,126 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the purism-chatty package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: purism-chatty\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-21 17:07+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: data/sm.puri.Chatty.desktop.in:3
+msgid "purism-chatty"
+msgstr ""
+
+#: src/chatty-account.c:234
+msgid "id@any-server"
+msgstr ""
+
+#: src/chatty-account.c:243
+msgid "Password"
+msgstr ""
+
+#: src/chatty-account.c:247 src/chatty-account.c:768
+msgid "Add account"
+msgstr ""
+
+#: src/chatty-buddy-list.c:613
+msgid "Nickname (optional)"
+msgstr ""
+
+#: src/chatty-buddy-list.c:619
+msgid "Invite message"
+msgstr ""
+
+#: src/chatty-conversation.c:337
+msgid "Unknown command."
+msgstr ""
+
+#: src/chatty-conversation.c:348
+msgid "Wrong number of arguments for the command."
+msgstr ""
+
+#: src/chatty-conversation.c:356
+msgid "The command failed."
+msgstr ""
+
+#: src/chatty-conversation.c:366
+msgid "That command only works in chats, not IMs."
+msgstr ""
+
+#: src/chatty-conversation.c:372
+msgid "That command only works in IMs, not chats."
+msgstr ""
+
+#: src/chatty-conversation.c:380
+msgid "That command doesn't work on this protocol."
+msgstr ""
+
+#: src/chatty-message-list.c:56 src/chatty-message-list.c:61
+msgid "This is a IM conversation."
+msgstr ""
+
+#: src/chatty-message-list.c:57 src/chatty-message-list.c:67
+msgid "Your messages are not encrypted,"
+msgstr ""
+
+#: src/chatty-message-list.c:58
+msgid "ask your counterpart to use E2EE."
+msgstr ""
+
+#: src/chatty-message-list.c:62
+msgid "Your messages are secured"
+msgstr ""
+
+#: src/chatty-message-list.c:63
+msgid "by end-to-end encryption."
+msgstr ""
+
+#: src/chatty-message-list.c:66
+msgid "This is a SMS conversation."
+msgstr ""
+
+#: src/chatty-message-list.c:68
+msgid "and carrier rates may apply."
+msgstr ""
+
+#: src/chatty-message-list.c:579
+msgid "Message Type"
+msgstr ""
+
+#: src/chatty-message-list.c:580
+msgid "Select the message type"
+msgstr ""
+
+#: src/chatty-message-list.c:586
+msgid "Messagemode Disclaimer"
+msgstr ""
+
+#: src/chatty-message-list.c:587
+msgid "Enables a disclaimer with privacy advice"
+msgstr ""
+
+#: src/chatty-message-list.c:593
+msgid "Timestamp Ruler"
+msgstr ""
+
+#: src/chatty-message-list.c:594
+msgid "Enables a ruler that shows a timestamp"
+msgstr ""
+
+#: src/chatty-message-list.c:600
+msgid "Typing Indicator"
+msgstr ""
+
+#: src/chatty-message-list.c:601
+msgid "Enables the typing indicator"
+msgstr ""
diff --git a/src/chatty-message-list.c b/src/chatty-message-list.c
index 61469f4f9ea5e5ef06b9ed7d14e8cc6b16150ace..3362b6d10d8008a6883f6b0be3dc4425267a9c90 100644
--- a/src/chatty-message-list.c
+++ b/src/chatty-message-list.c
@@ -53,19 +53,19 @@ G_DEFINE_TYPE_WITH_PRIVATE (ChattyMsgList, chatty_msg_list, GTK_TYPE_BOX)
header_strings_t header_strings[3] = {
{
- .str_0 = "This is a IM conversation.",
- .str_1 = "Your messages are not encrypted,",
- .str_2 = "ask your counterpart to use E2EE.",
+ .str_0 = N_("This is a IM conversation."),
+ .str_1 = N_("Your messages are not encrypted,"),
+ .str_2 = N_("ask your counterpart to use E2EE."),
},
{
- .str_0 = "This is a IM conversation.",
- .str_1 = "Your messages are secured",
- .str_2 = "by end-to-end encryption.",
+ .str_0 = N_("This is a IM conversation."),
+ .str_1 = N_("Your messages are secured"),
+ .str_2 = N_("by end-to-end encryption."),
},
{
- .str_0 = "This is a SMS conversation.",
- .str_1 = "Your messages are not encrypted,",
- .str_2 = "and carrier rates may apply.",
+ .str_0 = N_("This is a SMS conversation."),
+ .str_1 = N_("Your messages are not encrypted,"),
+ .str_2 = N_("and carrier rates may apply."),
},
};