Merge branch 'beta4' of https://github.com/majn/telegram-purple into beta4

This commit is contained in:
mjentsch 2015-10-30 19:03:55 +01:00
commit 895c8dc14f
26 changed files with 2185 additions and 1140 deletions

View file

@ -33,6 +33,7 @@ all: ${PRPL_LIBNAME} ${LOCALES}
PLUGIN_DIR_PURPLE=$(shell ${PKG_CONFIG} --variable=plugindir purple)
DATA_ROOT_DIR_PURPLE=$(shell ${PKG_CONFIG} --variable=datarootdir purple)
COPY_ICONS=@COPY_ICONS@
create_dirs: ${DIR_LIST}
@ -76,28 +77,30 @@ strip: $(PRPL_LIBNAME)
$(STRIP) --strip-unneeded $(PRPL_LIBNAME)
.PHONY: install
install: $(PRPL_LIBNAME)
install: $(PRPL_LIBNAME) $(LOCALES)
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(PLUGIN_DIR_PURPLE)
install -m $(FILE_PERM) $(PRPL_LIBNAME) $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME)
mkdir -m $(DIR_PERM) -p $(DESTDIR)/etc/telegram-purple
install -m $(FILE_PERM) tg-server.tglpub $(DESTDIR)/etc/telegram-purple/server.tglpub
ifeq ($(COPY_ICONS),no)
@echo "Not copying icons due to configure-option --disable-icons."
@echo " If you're using Finch, Empathy, or Telepathy, then this is a good idea."
@echo " If you're using Pidgin, then this is a bad idea."
@echo " If you're using Adium, read the README.md: You're using the wrong build system!"
else
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16
install -m $(FILE_PERM) imgs/telegram16.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/telegram.png
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22
install -m $(FILE_PERM) imgs/telegram22.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/telegram.png
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48
install -m $(FILE_PERM) imgs/telegram48.png $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/telegram.png
endif
@for lang in $(shell cat po/LINGUAS); do \
mkdir -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
echo "installing po/$$lang.mo to $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo"; \
install -m $(FILE_PERM) po/$$lang.mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo; \
done
.PHONY: local_install
local_install:
mkdir -m $(DIR_PERM) -p ${HOME}/.purple/plugins/$(PRPL_NAME)
install $(PRPL_LIBNAME) ${HOME}/.purple/plugins/$(PRPL_NAME)
.PHONY: uninstall
uninstall:
rm -f $(DESTDIR)$(PLUGIN_DIR_PURPLE)/$(PRPL_NAME)
@ -106,12 +109,25 @@ uninstall:
rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/16/telegram.png
rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/22/telegram.png
rm -f $(DESTDIR)$(DATA_ROOT_DIR_PURPLE)/pixmaps/pidgin/protocols/48/telegram.png
rm -f ${HOME}/.purple/plugins/$(PRPL_NAME)
for lang in $(shell cat po/LINGUAS); do \
# TODO: Delete all installed .mo's, no matter what LINGUAS says.
@for lang in $(shell cat po/LINGUAS); do \
echo "removing $(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo"; \
rm -f $(localedir)/$$lang/LC_MESSAGES/$(gettext_package).mo; \
done
.PHONY: local_install
local_install:
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(HOME)/.purple/plugins
install -m $(FILE_PERM) $(PRPL_LIBNAME) $(DESTDIR)$(HOME)/.purple/plugins/$(PRPL_NAME)
# See telegram-base.c, function get_user_pk_path for justification:
mkdir -m $(DIR_PERM) -p $(DESTDIR)$(HOME)/.purple/telegram-purple
install -m $(FILE_PERM) tg-server.tglpub $(DESTDIR)$(HOME)/.purple/telegram-purple/server.tglpub
.PHONY: local_uninstall
local_uninstall:
rm -f $(DESTDIR)$(HOME)/.purple/plugins/$(PRPL_NAME)
rm -f $(DESTDIR)$(HOME)/.purple/telegram-purple/server.tglpub
.PHONY: run
run:
pidgin -d | grep 'telegram\|plugin\|proxy'

View file

@ -7,6 +7,11 @@ I keep getting many questions about this plugin in my E-mail, so I've created a
[telegram group chat](https://telegram.me/joinchat/01fb53f301b67d3c7a5532908dfa9a89) for
telegram-purple related discussions or questions.
OS Support
----------
This plugin is tested and works on **Linux** and **OS X**. As of right now, **Windows is not supported** although there's a plan to port it in the near future.
1.2.2
-----
@ -36,6 +41,12 @@ This repository has submodules, so you need to clone recursively.
###### Debian / Ubuntu
We are working on a Debian package! Please first check if it's already available to you: `sudo apt-get install telegram-purple`
If the above works, then you should stop here: It is now installed.
If the above fails: Don't worry, just continue building it by yourself. Next you need to install these dependencies:
sudo apt-get install libgcrypt20-dev libpurple-dev libwebp-dev
###### OpenSUSE
@ -48,6 +59,7 @@ And the development files for gcrypt, probably `gcrypt-devel` or something.
#### 3. Compile and install
If libwebp is not available, you can disable sticker support by calling ./configure --disable-libweb instead.
Please note that this is usually not necessary.
./configure
make
@ -151,6 +163,47 @@ Compiling with XCode is a little bit problematic, since it requires you to compi
7. Build the XCode-Project and execute the created bundle
Building the Debian Package
---------------------------
If you just need a `.deb`, simply do:
git checkout debian-master
fakeroot ./debian/rules binary
And you're done! The `.deb` is in the directory at which you started.
To show some info about it, try this:
dpkg --info telegram-purple_*.deb
`debian-master` always points to a version that was submitted to Debian. (Note that this doesn't exist yet, as we haven't released to Debian yet.)
`debian-develop` is the candidate for the next submission.
#### Debian Maintainers ####
If you're a maintainer (if you're not sure, then you aren't a
maintainer), you need to produce a lot more files than that.
Here's how you can generate a `.orig.tar.gz`:
debian/genorigtar.sh
This command requires the original tar to exist (and will fail otherwise,
although the error message will be misleading) will build all further files,
specifically `.debian.tar.xz`,`.dsc`, `.deb`, and `.changes`:
dpkg-buildpackage
And that already covers the official part of the work-flow. Of course,
you can call small parts of the build process directly, in order to avoid
overhead like rebuilding. For example, if you only need the `.debian.tar.xz`
and `.dsc` files, do this:
debian/genorigtar.sh
( cd .. && dpkg-source -b telegram-purple )
Note that the parenthesis are important.
Discussion / Help
-----------------
@ -196,6 +249,6 @@ Telegram-Purple was written by:
Acknowledgements
----------------
This software is based on the library [Libtgl](https://github.com/vysheng/tgl), which was written by Vitaly Valtman <mail@vysheng.ru> and others, see (http://github.com/vysheng/tgl)
This software is based on the library [Libtgl](https://github.com/vysheng/tgl), which was written by Vitaly Valtman <mail@vysheng.ru> and others, see (https://github.com/vysheng/tgl/)
For PNG rendering, it includes the [lodepng library](http://lodev.org/lodepng/).

View file

@ -1,17 +1,20 @@
autoheader
autoconf
#!/bin/sh
autoreconf
echo bootstrapping translation files ...
cd po
intltool-update --pot
for lang in $(cat LINGUAS); do
if [ -e "$lang.po" ]
then
echo "updating language file $lang.po ..."
intltool-update "$lang"
else
echo "creating new language file $lang.po ..."
msginit --locale="$lang"
fi
done
## Translations are managed at https://www.transifex.com/telegram-purple-developers/telegram-purple/
## To update the .po files, download it from there, since intltool, msginit, and transifex produce slightly different files, and I'd like to avoid gigantic git diffs that only change indentation or similar things.
#for lang in $(cat LINGUAS); do
# if [ -e "$lang.po" ]
# then
# echo "updating language file $lang.po ..."
# intltool-update "$lang"
# else
# echo "creating new language file $lang.po ..."
# msginit --locale="$lang"
# fi
#done
cd ..

22
configure vendored
View file

@ -624,6 +624,7 @@ GETTEXT_PACKAGE
GETTEXT_CHECK
PURPLE_CPPFLAGS
LIBOBJS
COPY_ICONS
PURPLE_LIBS
PURPLE_CFLAGS
PKG_CONFIG_LIBDIR
@ -685,6 +686,7 @@ ac_user_opts='
enable_option_checking
with_zlib
enable_libwebp
enable_icons
'
ac_precious_vars='build_alias
host_alias
@ -1311,6 +1313,10 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-libwebp Disable libwebp, stickers won't be displayed in the
chat
--disable-icons Don't copy the protocol icons for Pidgin. Only
useful if you're using Finch of telepathy-haze.
(Adium users shouldn't be using this build system at
all.)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -4159,6 +4165,22 @@ else
fi
fi
COPY_ICONS=yes
# Check whether --enable-icons was given.
if test "${enable_icons+set}" = set; then :
enableval=$enable_icons;
fi
if test "x$enable_icons" == "xno"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Icons are deactivated. Pidgin needs icons. Finch and telepathy-haze don't." >&5
$as_echo "$as_me: WARNING: Icons are deactivated. Pidgin needs icons. Finch and telepathy-haze don't." >&2;}
COPY_ICONS=no
fi
# Checks for header files.

View file

@ -30,6 +30,14 @@ AC_ARG_ENABLE([libwebp],
AC_CHECK_LIB([webp], [WebPDecodeRGBA], [], [AC_MSG_ERROR([no libwebp found, try --disable-libwebp, but stickers won't be displayed in the chat])])
])
AC_SUBST([COPY_ICONS], [yes])
AC_ARG_ENABLE([icons],
AS_HELP_STRING([--disable-icons], [Don't copy the protocol icons for Pidgin. Only useful if you're using Finch of telepathy-haze. (Adium users shouldn't be using this build system at all.)]))
AS_IF([test "x$enable_icons" == "xno"], [
AC_WARN([Icons are deactivated. Pidgin needs icons. Finch and telepathy-haze don't.])
AC_SUBST([COPY_ICONS], [no])
])
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
/*
LodePNG version 20140823
LodePNG version 20150912
Copyright (c) 2005-2014 Lode Vandevenne
Copyright (c) 2005-2015 Lode Vandevenne
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@ -33,12 +33,16 @@ freely, subject to the following restrictions:
#include <string>
#endif /*__cplusplus*/
extern const char* LODEPNG_VERSION_STRING;
/*
The following #defines are used to create code sections. They can be disabled
to disable code sections, which can give faster compile time and smaller binary.
The "NO_COMPILE" defines are designed to be used to pass as defines to the
compiler command to disable them without modifying this header, e.g.
-DLODEPNG_NO_COMPILE_ZLIB for gcc.
In addition to those below, you can also define LODEPNG_NO_COMPILE_CRC to
allow implementing a custom lodepng_crc32.
*/
/*deflate & zlib. If disabled, you must specify alternative zlib functions in
the custom_zlib field of the compress and decompress settings*/
@ -211,8 +215,8 @@ Same as the other decode functions, but instead takes a filename as input.
unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
const std::string& filename,
LodePNGColorType colortype = LCT_RGBA, unsigned bitdepth = 8);
#endif //LODEPNG_COMPILE_DISK
#endif //LODEPNG_COMPILE_DECODER
#endif /* LODEPNG_COMPILE_DISK */
#endif /* LODEPNG_COMPILE_DECODER */
#ifdef LODEPNG_COMPILE_ENCODER
/*Same as lodepng_encode_memory, but encodes to an std::vector. colortype
@ -235,9 +239,9 @@ unsigned encode(const std::string& filename,
unsigned encode(const std::string& filename,
const std::vector<unsigned char>& in, unsigned w, unsigned h,
LodePNGColorType colortype = LCT_RGBA, unsigned bitdepth = 8);
#endif //LODEPNG_COMPILE_DISK
#endif //LODEPNG_COMPILE_ENCODER
} //namespace lodepng
#endif /* LODEPNG_COMPILE_DISK */
#endif /* LODEPNG_COMPILE_ENCODER */
} /* namespace lodepng */
#endif /*LODEPNG_COMPILE_CPP*/
#endif /*LODEPNG_COMPILE_PNG*/
@ -568,9 +572,9 @@ typedef struct LodePNGColorProfile
void lodepng_color_profile_init(LodePNGColorProfile* profile);
/*Get a LodePNGColorProfile of the image.*/
unsigned get_color_profile(LodePNGColorProfile* profile,
const unsigned char* image, unsigned w, unsigned h,
const LodePNGColorMode* mode_in);
unsigned lodepng_get_color_profile(LodePNGColorProfile* profile,
const unsigned char* image, unsigned w, unsigned h,
const LodePNGColorMode* mode_in);
/*The function LodePNG uses internally to decide the PNG color with auto_convert.
Chooses an optimal color model, e.g. grey if only grey pixels, palette if < 256 colors, ...*/
unsigned lodepng_auto_choose_color(LodePNGColorMode* mode_out,
@ -627,7 +631,7 @@ typedef struct LodePNGState
LodePNGInfo info_png; /*info of the PNG image obtained after decoding*/
unsigned error;
#ifdef LODEPNG_COMPILE_CPP
//For the lodepng::State subclass.
/* For the lodepng::State subclass. */
virtual ~LodePNGState(){}
#endif
} LodePNGState;
@ -677,7 +681,11 @@ Third byte: must be uppercase
Fourth byte: uppercase = unsafe to copy, lowercase = safe to copy
*/
/*get the length of the data of the chunk. Total chunk length has 12 bytes more.*/
/*
Gets the length of the data of the chunk. Total chunk length has 12 bytes more.
There must be at least 4 bytes to read from. If the result value is too large,
it may be corrupt data.
*/
unsigned lodepng_chunk_length(const unsigned char* chunk);
/*puts the 4-byte type in null terminated string*/
@ -805,7 +813,7 @@ unsigned lodepng_save_file(const unsigned char* buffer, size_t buffersize, const
#endif /*LODEPNG_COMPILE_DISK*/
#ifdef LODEPNG_COMPILE_CPP
//The LodePNG C++ wrapper uses std::vectors instead of manually allocated memory buffers.
/* The LodePNG C++ wrapper uses std::vectors instead of manually allocated memory buffers. */
namespace lodepng
{
#ifdef LODEPNG_COMPILE_PNG
@ -819,7 +827,7 @@ class State : public LodePNGState
};
#ifdef LODEPNG_COMPILE_DECODER
//Same as other lodepng::decode, but using a State for more settings and information.
/* Same as other lodepng::decode, but using a State for more settings and information. */
unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
State& state,
const unsigned char* in, size_t insize);
@ -829,7 +837,7 @@ unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
#endif /*LODEPNG_COMPILE_DECODER*/
#ifdef LODEPNG_COMPILE_ENCODER
//Same as other lodepng::encode, but using a State for more settings and information.
/* Same as other lodepng::encode, but using a State for more settings and information. */
unsigned encode(std::vector<unsigned char>& out,
const unsigned char* in, unsigned w, unsigned h,
State& state);
@ -849,32 +857,32 @@ void load_file(std::vector<unsigned char>& buffer, const std::string& filename);
Save the binary data in an std::vector to a file on disk. The file is overwritten
without warning.
*/
void save_file(const std::vector<unsigned char>& buffer, const std::string& filename);
#endif //LODEPNG_COMPILE_DISK
#endif //LODEPNG_COMPILE_PNG
unsigned save_file(const std::vector<unsigned char>& buffer, const std::string& filename);
#endif /* LODEPNG_COMPILE_DISK */
#endif /* LODEPNG_COMPILE_PNG */
#ifdef LODEPNG_COMPILE_ZLIB
#ifdef LODEPNG_COMPILE_DECODER
//Zlib-decompress an unsigned char buffer
/* Zlib-decompress an unsigned char buffer */
unsigned decompress(std::vector<unsigned char>& out, const unsigned char* in, size_t insize,
const LodePNGDecompressSettings& settings = lodepng_default_decompress_settings);
//Zlib-decompress an std::vector
/* Zlib-decompress an std::vector */
unsigned decompress(std::vector<unsigned char>& out, const std::vector<unsigned char>& in,
const LodePNGDecompressSettings& settings = lodepng_default_decompress_settings);
#endif //LODEPNG_COMPILE_DECODER
#endif /* LODEPNG_COMPILE_DECODER */
#ifdef LODEPNG_COMPILE_ENCODER
//Zlib-compress an unsigned char buffer
/* Zlib-compress an unsigned char buffer */
unsigned compress(std::vector<unsigned char>& out, const unsigned char* in, size_t insize,
const LodePNGCompressSettings& settings = lodepng_default_compress_settings);
//Zlib-compress an std::vector
/* Zlib-compress an std::vector */
unsigned compress(std::vector<unsigned char>& out, const std::vector<unsigned char>& in,
const LodePNGCompressSettings& settings = lodepng_default_compress_settings);
#endif //LODEPNG_COMPILE_ENCODER
#endif //LODEPNG_COMPILE_ZLIB
} //namespace lodepng
#endif /* LODEPNG_COMPILE_ENCODER */
#endif /* LODEPNG_COMPILE_ZLIB */
} /* namespace lodepng */
#endif /*LODEPNG_COMPILE_CPP*/
/*
@ -888,8 +896,8 @@ TODO:
[X] let the "isFullyOpaque" function check color keys and transparent palettes too
[X] better name for the variables "codes", "codesD", "codelengthcodes", "clcl" and "lldl"
[ ] don't stop decoding on errors like 69, 57, 58 (make warnings)
[ ] make option to choose if the raw image with non multiple of 8 bits per scanline should have padding bits or not
[ ] let the C++ wrapper catch exceptions coming from the standard library and return LodePNG error codes
[ ] allow user to provide custom color conversion functions, e.g. for premultiplied alpha, padding bits or not, ...
*/
#endif /*LODEPNG_H inclusion guard*/
@ -1556,6 +1564,7 @@ yyyymmdd.
Some changes aren't backwards compatible. Those are indicated with a (!)
symbol.
*) 18 apr 2015: Boundary PM instead of just package-merge for faster encoding.
*) 23 aug 2014: Reduced needless memory usage of decoder.
*) 28 jun 2014: Removed fix_png setting, always support palette OOB for
simplicity. Made ColorProfile public.
@ -1698,5 +1707,5 @@ Domain: gmail dot com.
Account: lode dot vandevenne.
Copyright (c) 2005-2014 Lode Vandevenne
Copyright (c) 2005-2015 Lode Vandevenne
*/

View file

@ -1,5 +1,7 @@
de
es_AR
fr
pl
pt_BR
ru
sq

159
po/de.po
View file

@ -9,8 +9,8 @@ msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"PO-Revision-Date: 2015-10-12 16:50+0000\n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: German (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/de/)\n"
"MIME-Version: 1.0\n"
@ -50,281 +50,256 @@ msgstr "Bitte geben Sie Telefonnummern im internationalen Format ein, bestehend
msgid "Query Failed"
msgstr "Anfrage fehlgeschlagen"
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Geheimer Chat wurde beendet."
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Nachricht als gelesen markiert."
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Einladungslink: %s"
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Konnte keinen Link zum Chat erstellen"
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Sie müssen Gruppenadmin sein, um das zu tun."
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Chat beigetreten"
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Chat der Liste von Chat-Räumen hinzugefügt."
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Beginne geheimen Chat ..."
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Nutzer per Link einladen ..."
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Löschen und verlassen ..."
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Fehler, konnte öffentlichen Schlüssel nicht an %s finden. Stellen Sie sicher, dass telegram-purple korrekt installiert wurde."
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "Konnte nicht als %s einloggen: Fehlende Datei %s."
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Stellen Sie sicher, dass telegram-purple korrekt\ninstalliert wurde, inklusive der .tglpub Datei."
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "Konnte nicht als %s anmelden: Telefonnummer hat kein Länderpräfix."
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Telefonnummern müssen mit dem vollen internationalen\nPräfix-Code beginnen, z.B. +49 für Deutschland."
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Kann den Freund nicht zum Chat einladen"
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "Angegebener Benutzer existiert nicht."
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Passwort (Zwei-Faktor-Authentifizierung)"
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Ausweich SMS-Verifizierung\n(Hilfreich wenn Sie nicht Pidgin verwenden, und die Frage\nnach dem SMS-Code aus bleibt)"
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr "nachfragen"
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr "immer"
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr "nie"
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Geheime Chats akzeptieren"
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Freunde als offline anzeigen nach (Tage)"
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Abrufen des bisherigen Verlaufs beim ersten Login"
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Abrufen des Verlaufs begrenzen auf (Tage)\n(0 für unbegrenzt)"
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Alle Gruppenchats in die Freundesliste einfügen"
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Empfangsbestätigungen anzeigen"
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Empfangsbestätigungen senden wenn anwesend"
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Vorname"
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Nachname"
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Name"
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Benutzername"
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Zuletzt gesehen"
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Telefonnummer"
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "Warte auf Anmeldung des Benutzers ..."
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Selbstzerstörungs-Timer"
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Aus"
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Geheimer Schlüssel"
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "%2$s hat den Chat %1$s erstellt."
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "%2$s hat den Titel zu %1$s geändert."
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "%s hat das Photo geändert."
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "%s hat das Photo gelöscht."
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "%1$s fügte Benutzer %2$s per Link hinzu."
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "%2$s hat den Nutzer %1$s hinzufügt."
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s entfernte Benutzer %2$s."
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "%2$s entfernte Benutzer %1$s."
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "%2$s setzte Selbstzerstörungs-Timer auf %1$d Sekunden."
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "%2$s markierte %1$d Nachrichten als gelesen."
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "%2$s entfernte %1$d Nachrichten."
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "%2$s machte einen Screenshot von %1$d Nachrichten."
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr "%2$s wechselte zu Layer %1$d."
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr "%2$s beantragt neuen Schlüssel #%1$016llx."
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr "%2$s akzeptiert neuen Schlüssel #%1$016llx."
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr "%2$s bestätigt neuen Schlüssel #%1$016llx."
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr "%2$s akzeptiert neuen Schlüssel #%1$016llx."
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Absenden der Nachricht fehlgeschlagen. %d: %s"
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Absenden des Bilds fehlgeschlagen."
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Tut uns Leid, aber das Versenden von Dokumenten in verschlüsselten Chats wird noch nicht unterstützt."
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "%s hat einen Sticker gesendet."
@ -461,49 +436,49 @@ msgstr "Möchten Sie eine neue Gruppe \"%s\" erstellen?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "Kürzlich"
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "Letzte Woche"
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "Letzten Monat"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "Unbekannt"
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "Du hast diesen Chat bereits verlassen."
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Thema:"
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Einladungslink:"
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Chat ID:"
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Benutzer"

View file

@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"PO-Revision-Date: 2015-10-13 07:56+0000\n"
"Last-Translator: KNTRO <tskuhn@gmail.com>\n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: Spanish (Argentina) (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/es_AR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -49,281 +49,256 @@ msgstr "Por favor, ingresá sólo números en el formato de números de teléfon
msgid "Query Failed"
msgstr "Falló la consulta"
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Finalizó la conversación secreta."
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Mensaje marcado como leído."
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Enlace de invitación: %s"
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Falló la creación del enlace de conversación"
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Necesitás ser administrador del grupo para hacer eso."
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Unido a la conversación"
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Conversación agregada a la lista de salas de conversaciones."
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Iniciar conversación secreta…"
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Invitar a usuarios mediante un enlace…"
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Eliminar y salir…"
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Ocurrió un error: no se encontró una clave pública de servidor en %s. Asegurate de que telegram-purple esté correctamente instalado."
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "No se pudo iniciar sesión como %s: falta el archivo %s."
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Asegurate de que telegram-purple esté correctamente instalado,\nincluyendo el archivo \".tglpub\"."
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "No se pudo iniciar sesión como %s: al número de teléfono le falta el código de país."
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Los números deben comenzar con\nel código de país. Por ejemplo: \"+54\" para Argentina."
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "No se pudo invitar al contacto a la conversación"
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "El usuario especificado no existe."
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Contraseña (autenticación de 2 pasos)"
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Verificación por mensaje de texto\n(Sirve para cuando no estás usando Pidgin y no se te pide el código)"
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr "pedir"
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr "siempre"
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr "nunca"
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Aceptar conversaciones secretas"
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Mostrar contactos desconectados después de (días)"
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Recuperar historial en el primer inicio de sesión"
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "No recuperar el historial anterior a (días)\n(ingresá \"0\" para no aplicar límites)"
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Agregar todas las conversaciones grupales a la lista del contacto"
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Mostrar acuses de recibo"
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Enviar acuses de recibo al estar presente"
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Nombre"
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Apellido"
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Apodo"
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Nombre de usuario"
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Último inicio de sesión"
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Teléfono"
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "Esperando a que el usuario se conecte…"
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Contador autodestructivo"
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Desactivado"
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Clave secreta"
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "%2$s creó la conversación %1$s."
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "%2$s cambió el título a %1$s."
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "%s cambió la foto."
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "%s eliminó la foto."
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "%1$s agregó al usuario %2$s mediante un enlace."
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "%2$s agregó al usuario %1$s."
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s eliminó al usuario %2$s."
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "%2$s eliminó al usuario %1$s."
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "%2$s estableció un contador autodestructivo a %1$d segundos."
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "%2$s marcó %1$d mensajes como leídos."
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "%2$s eliminó %1$d mensajes."
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "%2$s tomó una captura de pantalla de %1$d mensajes."
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr "%2$s actualizado a capa %1$d."
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr "%2$s solicitó una nueva clave #%1$016llx."
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr "%2$s acepta una nueva clave #%1$016llx."
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr "%2$s ejecuta una nueva clave #%1$016llx."
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr "%2$s cancela una nueva clave #%1$016llx."
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Falló el envío de mensajes. %d: %s"
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Falló el envío de imágenes."
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Lo sentimos, pero no se soporta el envío de documentos a conversaciones cifradas."
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "%s envió un sticker."
@ -460,49 +435,49 @@ msgstr "¿Querés crear una nueva conversación grupal llamada \"%s\"?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%Y.%m.%d - %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "recientemente"
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "la semana pasada"
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "el mes pasado"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "[desconocido]"
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "Ya abandonaste esta conversación."
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Asunto:"
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Enlace de invitación:"
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Identificación de conversación:"
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Usuarios"

483
po/fr.po Normal file
View file

@ -0,0 +1,483 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Hugues Morisset <hugues.m@hotmail.fr>, 2015
msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: French (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../telegram-base.c:477
msgid "Login canceled"
msgstr "Connexion annulé"
#: ../telegram-base.c:477
msgid ""
"Authentication export to remote data centers failed, login not possible."
msgstr "Authentification au data center distant échoué, connexion impossible."
#: ../telegram-base.c:524
msgid "Couldn't create group"
msgstr "N'a pas pu créer le groupe"
#: ../telegram-base.c:524
msgid "Select at least one other user"
msgstr "Sélectionné au moins un autre utilisateur"
#: ../telegram-base.c:532
msgid "Invalid phone number"
msgstr "Numéro de téléphone invalide"
#: ../telegram-base.c:533
msgid ""
"Please enter only numbers in the international phone number format, a leading + following by the country prefix and the phone number.\n"
"Do not use any other special chars."
msgstr "Entré seulement des numéro dans le champs pour le numéro international, un + suivi du préfixe de pays et du numéro de téléphone.\nNutilise aucun autre caractère spécial."
#: ../telegram-base.c:647
msgid "Query Failed"
msgstr "Requête échoué"
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Conversation secrète terminé."
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Message marqué comme lu."
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Lien d'invitation: %s"
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Création du lien d'invitation échoué"
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Vous devez êtes administrateur du groupe pour faire cela."
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Conversation jointe."
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Conversation ajouté dans la liste de conversations."
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Commencé une conversation secrète ..."
#. Generate Public Link
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Invité des utilisateurs avec un lien ..."
#. Delete self from chat
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Supprimer et quitter ..."
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Erreur, la clé public du serveur n'a pas été trouvé ici: %s. Vérifié que telegram-purple soit proprement installé."
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "Impossible de se connecté comme %s: fichier manquant: %s."
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Vérifié que telegram-purple soit proprement installé,\navec le fichier .tglpub."
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "Impossible de se connecter avec le compte %s: le numéro de téléphone doit contenir un préfixe de pays."
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Les numéros de téléphone doit commencé avec le numéro international du pays,\nex: +33 pour la France."
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Impossible d'ajouté le contact á la conversation"
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "L'utilisateur spécifier n'existe pas."
#. Login
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Mot de passe (authentification á deux facteurs)"
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Vérification par SMS\n(Cela aide si vous nutilisé pas Pidgin et que vous n'êtes pas notifier pour le code)"
#: ../telegram-purple.c:891
msgid "ask"
msgstr "demander"
#: ../telegram-purple.c:892
msgid "always"
msgstr "toujours"
#: ../telegram-purple.c:893
msgid "never"
msgstr "jamais"
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Accepté la conversation secrète"
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Affiché les contact déconnecté après (jours)"
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Récupérer l'historique á la première connexion"
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Ne pas récupérer l'historique plus vieux de (jours)\n(0 pour infinie)"
#. Chats
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Ajouté tous les membre de la conversation dans la liste de contact"
#. Read notifications
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Affiché les notifications de réception"
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Envoyé des notification de réception quand vous êtes présent."
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Prénom"
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Nom de famille"
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Nom"
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Nom d'utilisateur"
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Dernière fois vu"
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Téléphone"
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "En attente de connexion de l'utilisateur ..."
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Compte a rebours dauto destruction"
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Déconnecté"
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Clé secrète"
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "%2$s a créer la conversation %1$s."
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "%2$s a changé le titre pour %1$s."
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "%s á changé ca photo."
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "%s a supprimé la photo."
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "%1$s a ajouté l'utilisateur %2$s avec un lien."
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "%2$s a ajouté l'utilisateur %1$s."
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s a supprimé l'utilisateur %2$s."
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "%2$s a supprimé l'utilisateur %1$s."
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "%2$s a mis le compte a rebours d'auto destruction a %1$d secondes."
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "%2$s a marqué les messages de %1$d lu."
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "%2$s a supprimé les messages de %1$d."
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "%2$s a pris un copie d'écran des messages de %1$d."
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "L'envoi du message a échoué. %d: %s"
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "L'envoie de l'image á échoué."
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Envoyé des documents dans un conversation secrète n'est pas encore supporté."
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "%s a envoyé un sticker."
#: ../tgp-net.c:326
msgid "Cannot connect to server"
msgstr "Impossible de se connecté au serveur"
#: ../tgp-net.c:371
msgid "Lost connection to the server ..."
msgstr "Connexion au serveur perdu ..."
#: ../tgp-request.c:76 ../tgp-request.c:137
msgid "Login code"
msgstr "Code de connexion"
#: ../tgp-request.c:76
msgid "Enter login code"
msgstr "Entré le code de connexion"
#: ../tgp-request.c:76
msgid ""
"Telegram wants to verify your identity. Please enter the code that you have "
"received via SMS."
msgstr "Telegram veut vérifié votre identité. Veuillez entré le code de vérification reçu par SMS."
#: ../tgp-request.c:77
msgid "the code"
msgstr "le code"
#: ../tgp-request.c:77 ../tgp-request.c:141 ../tgp-request.c:259
msgid "OK"
msgstr "OK"
#: ../tgp-request.c:78 ../tgp-request.c:142 ../tgp-request.c:260
msgid "Cancel"
msgstr "Annulé"
#: ../tgp-request.c:85
msgid "What is your SMS verification code?"
msgstr "Quelle est le code de vérification envoyé par SMS ?"
#: ../tgp-request.c:129
msgid "Registration"
msgstr "Enregistrement"
#: ../tgp-request.c:136
msgid "Authorization"
msgstr "Autorisation"
#: ../tgp-request.c:141
msgid "Register"
msgstr "Enregistré"
#: ../tgp-request.c:141
msgid "Please register your phone number."
msgstr "Enregistré votre numéro de téléphone."
#. purple_request API not available
#: ../tgp-request.c:144
msgid ""
"Phone number is not registered. Please register your phone on a different "
"client."
msgstr "Numéro téléphone non enregistré. Enregistré un numéro de téléphone sur un appareils différent."
#: ../tgp-request.c:146
msgid "Not Registered"
msgstr "Non enregistré"
#: ../tgp-request.c:169
msgid "Password"
msgstr "Mot de passe"
#: ../tgp-request.c:174
msgid "Enter password"
msgstr "Entré le mot de passe"
#: ../tgp-request.c:174
msgid "Enter password for two factor authentication"
msgstr "Entré le mot de passe pour l'authentification a deux facteur"
#: ../tgp-request.c:177
msgid ""
"No password set for two factor authentication. Please enter it in the "
"extended settings."
msgstr "Pas de mot de passe a deux facteur spécifié. Entré en un dans la configuration étendu."
#: ../tgp-request.c:179
msgid "Password invalid"
msgstr "Mot de passe invalide"
#: ../tgp-request.c:207
#, c-format
msgid "Accept Secret Chat '%s'?"
msgstr "Accepté la conversation secrète '%s'?"
#: ../tgp-request.c:208
msgid "Secret Chat"
msgstr "Conversation secrète"
#: ../tgp-request.c:208
msgid ""
"Secret chats can only have one end point. If you accept a secret chat on "
"this device, its messages will not be available anywhere else. If you "
"decline, you can accept the chat on other devices."
msgstr "Les conversations secrète ne peuvent avoir qu'une seul destination. Si vous accepté la conversation sur cette appareils, les messages ne seront pas disponible sur les autre appareils. Si vous refusé, vous pouver accepté la conversation sur les autre appareils."
#: ../tgp-request.c:243
msgid ""
"Invite at least one additional user (Autocompletion available).\n"
"You can add more users once the chat was created."
msgstr "Invité au moins un utilisateur supplémentaire (Autocompletion disponible).\nVous pourrer ajouté plus d'utilisateurs une fois la conversation créer."
#. FIXME: This dialog is pointless. It only asks whether the user wants to
#. create a new chat.
#. This should be merged with the next dialog.
#. TODO: This still displays "Cancel" and "Accept", no matter $LANG
#: ../tgp-request.c:259 ../tgp-request.c:275
msgid "Create group chat"
msgstr "Créer un groupe de conversation"
#: ../tgp-request.c:259
msgid "Invite users"
msgstr "Invité des utilisateurs"
#: ../tgp-request.c:269
msgid "Chat doesn't exist (yet)"
msgstr "La conversation n'existe pas (encore)"
#: ../tgp-request.c:270
#, c-format
msgid "Do you want to create a new group chat named '%s'?"
msgstr "Voulez vous créer un nouveau groupe appelé %s ?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "récamment"
#. This is preceded by a colon.
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "semaine précédente"
#. This is preceded by a colon.
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "mois précédent"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "inconnue"
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "Vous avez déjá quitté cette conversation."
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Sujet:"
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Lien d'invitation:"
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Chat ID:"
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Utilisateurs"

161
po/pl.po
View file

@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"PO-Revision-Date: 2015-10-12 18:19+0000\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: Polish (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -49,281 +49,256 @@ msgstr "Proszę podać tylko numery w międzynarodowym formacie numerów telefon
msgid "Query Failed"
msgstr "Zapytanie się nie powiodło"
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Zakończono tajną rozmowę."
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Oznaczono wiadomość jako przeczytaną."
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Odnośnik do zaproszenia: %s"
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Utworzenie odnośnika do rozmowy się nie powiodło"
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Należy być administratorem grupy, aby to zrobić."
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Dołączono do rozmowy"
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Dodano rozmowę do listy pokojów rozmów."
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Rozpocznij tajną rozmowę…"
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Zaproś użytkowników przez odnośnik…"
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Usuń i wyjdź…"
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Błąd, nie odnaleziono klucza publicznego serwera w %s. Proszę się upewnić, że wtyczka telegram-purple jest poprawnie zainstalowana."
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "Nie można zalogować jako %s: brak pliku %s."
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Proszę się upewnić, że wtyczka telegram-purple jest poprawnie zainstalowana,\nw tym plik „.tglpub”."
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "Nie można zalogować jako %s: numer telefonu nie ma przedrostka kraju."
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Numery muszą zaczynać się od pełnego międzynarodowego\nprzedrostka, np. +48 dla Polski."
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Nie można zaprosić znajomego do rozmowy"
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "Podany użytkownik nie istnieje."
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Hasło (uwierzytelnianie dwustopniowe)"
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Zapasowa weryfikacja przez SMS\n(Pomaga w przypadkach, kiedy nie jest używany program Pidgin i użytkownik nie jest pytany o kod)"
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr "pytanie"
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr "zawsze"
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr "nigdy"
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Akceptowanie tajnych rozmów"
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Wyświetlanie znajomych jako w trybie offline po (w dniach)"
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Pobieranie historii podczas pierwszego logowania"
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Bez pobierania historii starszej niż (w dniach)\n(0 oznacza brak ograniczenia)"
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Dodawanie wszystkich rozmów grupowych do listy znajomych"
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Wyświetlanie powiadomień o odebraniu"
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Wysyłanie powiadomień o odebraniu podczas obecności"
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Imię"
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Nazwisko"
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Nazwa"
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Nazwa użytkownika"
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Ostatnio widziany"
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Telefon"
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "Oczekiwanie, aż użytkownik przejdzie do trybu online…"
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Czas samozniszczenia"
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Wyłączone"
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Tajny klucz"
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "Użytkownik %2$s utworzył rozmowę %1$s."
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "Użytkownik %2$s zmienił tytuł na %1$s."
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "Użytkownik %s zmienił zdjęcie."
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "Użytkownik %s usunął zdjęcie."
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "Użytkownik %1$s dodał użytkownika %2$s przez odnośnik."
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "Użytkownik %2$s dodał użytkownika %1$s."
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "Użytkownik %1$s usunął użytkownika %2$s."
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "Użytkownik %2$s usunął użytkownika %1$s."
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "Użytkownik %2$s ustawił czas samozniszczenia na %1$d s."
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "Użytkownik %2$s oznaczył %1$d wiadomości jako przeczytane."
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "Użytkownik %2$s usunął %1$d wiadomości."
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "Użytkownik %2$s utworzył zrzut ekranu %1$d wiadomości."
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr "Użytkownik %2$s zaktualizował do warstwy %1$d."
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr "Użytkownik %2$s zażądał ponownego nadania klucza #%1$016llx."
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr "Użytkownik %2$s zaakceptował ponowne nadanie klucza #%1$016llx."
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr "Użytkownik %2$s zatwierdził ponowne nadanie klucza #%1$016llx."
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr "Użytkownik %2$s przerwał ponowne nadanie klucza #%1$016llx."
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Wysłanie wiadomości się nie powiodło. %d: %s"
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Wysłanie obrazu się nie powiodło."
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Wysyłanie dokumentów do zaszyfrowanych rozmów nie jest jeszcze obsługiwane."
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "Użytkownik %s wysłał naklejkę."
@ -460,49 +435,49 @@ msgstr "Utworzyć nową rozmowę grupową o nazwie „%s”?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "niedawno"
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "ostatni tydzień"
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "ostatni miesiąc"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "nieznane"
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "Już opuszczoną tę rozmowę."
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Temat:"
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Odnośnik do zaproszenia:"
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Identyfikator rozmowy:"
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Użytkownicy"

483
po/pt_BR.po Normal file
View file

@ -0,0 +1,483 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Gilberto Coutinho <gilberto.jsc@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 21:15+0000\n"
"Last-Translator: Gilberto Coutinho <gilberto.jsc@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: ../telegram-base.c:477
msgid "Login canceled"
msgstr "Login cancelado"
#: ../telegram-base.c:477
msgid ""
"Authentication export to remote data centers failed, login not possible."
msgstr "Exportação de autenticação para servidor remoto falho, não é possível fazer o login"
#: ../telegram-base.c:524
msgid "Couldn't create group"
msgstr "Não foi possível criar o grupo"
#: ../telegram-base.c:524
msgid "Select at least one other user"
msgstr "Selecione ao menos um usuNumeroário"
#: ../telegram-base.c:532
msgid "Invalid phone number"
msgstr "Número de telefone inválido"
#: ../telegram-base.c:533
msgid ""
"Please enter only numbers in the international phone number format, a leading + following by the country prefix and the phone number.\n"
"Do not use any other special chars."
msgstr "Por favor, adicione apenas número no formato de telefeno internacional, iniciando com + seguindo pelo código do país e o número do telefone.\nNão use outros caractérers especiais."
#: ../telegram-base.c:647
msgid "Query Failed"
msgstr "Falha na fila"
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Conversa secreta terminada."
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Mensagem marcada como \"lida\"."
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Link de convite: %s"
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Falha na criação do link para a conversa"
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Você precisa ser administrador do grupo apra fazer isso."
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Entrou na conversa"
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Conversa adicionada a listas de salas de conversa"
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Iniciando conversa sercreta..."
#. Generate Public Link
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Convidar usuário pelo link..."
#. Delete self from chat
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Deletar e sair..."
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Erro, chave publica do servidor não foi encontrada em %s. Tenha certeza que o telegram-purple está instalado corretamente."
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "Não foi possível assinar como %s. falta o arquivo %s."
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Tenha certeza que o telegram-purple está instalado corretamente,\nincluindo o arquivo .tglpub."
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "Não foi possível assinar como %s: o número de telefone não está com o prefixo do país."
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Números precisam começar com o prefixo internacional,\npor exemplo: +55 para o Brasil."
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Não foi possível convidar o amigo para a conversa"
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "O usuário especificado não existe."
#. Login
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Senha (processo de autenticação dupla)"
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Retorno de verificaçao via SMS\n(Ajuda quando não estiver usando o Pidgin e não é apresentado a janela com o código)"
#: ../telegram-purple.c:891
msgid "ask"
msgstr "pergunta"
#: ../telegram-purple.c:892
msgid "always"
msgstr "sempre"
#: ../telegram-purple.c:893
msgid "never"
msgstr "nunca"
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Aceitar conversa secrete"
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Mostrar período que os amigos estão offline (dias)"
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Trazer histórico no primeio login"
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Não trazer históricos mais velhos que (dias)\n(0 para não limitar)"
#. Chats
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Adicinar todos os grupos de conversa a lista de amigos"
#. Read notifications
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Mostrar avisos de recebimento"
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Mandar avisos de recebimento quando estiver online"
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Primeiro nome"
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Último nome"
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Nome"
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Nome de usuário"
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Visto em"
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Fone"
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "Esperando pelo usuário ficar onlie"
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Tempo para auto destruição"
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Desligado"
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Chave secreta"
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "%2$s criouo a conversa %1$s."
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "%2$s mudou o assunto para %1$s,"
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "%s mudou a foto."
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "%s deletou a foto."
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "%1$s adicionou o usuário %2$s por link."
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "%2$s adicionou o usuário %1$s."
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s removeu o usuário %2$s"
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "%2$s reoveu o usuário %1$s"
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "%2$s tempo para auto destruição configurado para %1$d segundos."
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "%2$s marcou %1$d mensagens como lidas."
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "%2$s deletou %1$d mensagens."
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "%2$s capturou a tela de %1$d mesnagens."
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Envio da mensagem falhou. %d: %s."
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Envio de imagem falhou."
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Desculpe, envio de documentos para conversas encriptadas não é suportado."
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "%s enviou um adesivo."
#: ../tgp-net.c:326
msgid "Cannot connect to server"
msgstr "Não pode se conectar no servidor"
#: ../tgp-net.c:371
msgid "Lost connection to the server ..."
msgstr "Perdeu a conexão com o servidor..."
#: ../tgp-request.c:76 ../tgp-request.c:137
msgid "Login code"
msgstr "Código de login"
#: ../tgp-request.c:76
msgid "Enter login code"
msgstr "Insira o código de login"
#: ../tgp-request.c:76
msgid ""
"Telegram wants to verify your identity. Please enter the code that you have "
"received via SMS."
msgstr "Telegram quer confirmar sua identidade. Por favor insira o código recebido por SMS."
#: ../tgp-request.c:77
msgid "the code"
msgstr "o código"
#: ../tgp-request.c:77 ../tgp-request.c:141 ../tgp-request.c:259
msgid "OK"
msgstr "OK"
#: ../tgp-request.c:78 ../tgp-request.c:142 ../tgp-request.c:260
msgid "Cancel"
msgstr "Cancelar"
#: ../tgp-request.c:85
msgid "What is your SMS verification code?"
msgstr "Qual seu código de verificação SMS?"
#: ../tgp-request.c:129
msgid "Registration"
msgstr "Registro"
#: ../tgp-request.c:136
msgid "Authorization"
msgstr "Autorização"
#: ../tgp-request.c:141
msgid "Register"
msgstr "Registrar"
#: ../tgp-request.c:141
msgid "Please register your phone number."
msgstr "Por favor registre seu número de telefone."
#. purple_request API not available
#: ../tgp-request.c:144
msgid ""
"Phone number is not registered. Please register your phone on a different "
"client."
msgstr "Número de telefone não registrado. Por favor registre seu número de telefone com um cliente diferente."
#: ../tgp-request.c:146
msgid "Not Registered"
msgstr "Não Registrado"
#: ../tgp-request.c:169
msgid "Password"
msgstr "Senha"
#: ../tgp-request.c:174
msgid "Enter password"
msgstr "Insira a senha"
#: ../tgp-request.c:174
msgid "Enter password for two factor authentication"
msgstr "Insira a senha para o processo de autenticação dupla"
#: ../tgp-request.c:177
msgid ""
"No password set for two factor authentication. Please enter it in the "
"extended settings."
msgstr "Não há senha configurado para o processo de autenticação dupla. Por favor insira nas configurações expandidas."
#: ../tgp-request.c:179
msgid "Password invalid"
msgstr "Senha inválida"
#: ../tgp-request.c:207
#, c-format
msgid "Accept Secret Chat '%s'?"
msgstr "Aceitar Conversa Secreta '%s'?"
#: ../tgp-request.c:208
msgid "Secret Chat"
msgstr "Conversa Secreta"
#: ../tgp-request.c:208
msgid ""
"Secret chats can only have one end point. If you accept a secret chat on "
"this device, its messages will not be available anywhere else. If you "
"decline, you can accept the chat on other devices."
msgstr "Conversas secretas podem ocorrer em apenas um loca. Se você aceitar uma conversa secreta nesse dispositivo, essas mensagens não estarão disponíveis em nenhum outro local. Se você rejeitar, pode aceitar a conversa em outros dispositivos."
#: ../tgp-request.c:243
msgid ""
"Invite at least one additional user (Autocompletion available).\n"
"You can add more users once the chat was created."
msgstr "Convide ao menos um usuário a mais (Autocompletar disponível).\nVocê pode adicionar mais usuários depois que a conversa estiver criada."
#. FIXME: This dialog is pointless. It only asks whether the user wants to
#. create a new chat.
#. This should be merged with the next dialog.
#. TODO: This still displays "Cancel" and "Accept", no matter $LANG
#: ../tgp-request.c:259 ../tgp-request.c:275
msgid "Create group chat"
msgstr "Criar conversa em grupo"
#: ../tgp-request.c:259
msgid "Invite users"
msgstr "Convidar usuários"
#: ../tgp-request.c:269
msgid "Chat doesn't exist (yet)"
msgstr "Conversa não existe (ainda)"
#: ../tgp-request.c:270
#, c-format
msgid "Do you want to create a new group chat named '%s'?"
msgstr "Você quer criar uma nova conversa em grupo chamada '%s'?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "recentemente"
#. This is preceded by a colon.
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "semana passada"
#. This is preceded by a colon.
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "mês passado"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "desconhecido"
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "Você já saiu dessa conversa."
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Assunto:"
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Link do convite:"
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Identificação da conversa:"
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Usuários"

257
po/ru.po
View file

@ -3,13 +3,15 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Vladimir <TurbaVladimir@yandex.ru>, 2015
# Yan Pas, 2015
# Сергей <djam5@ya.ru>, 2015
msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"PO-Revision-Date: 2015-10-12 16:49+0000\n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: Russian (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/ru/)\n"
"MIME-Version: 1.0\n"
@ -20,12 +22,12 @@ msgstr ""
#: ../telegram-base.c:477
msgid "Login canceled"
msgstr ""
msgstr "Вход отменен"
#: ../telegram-base.c:477
msgid ""
"Authentication export to remote data centers failed, login not possible."
msgstr ""
msgstr "Экспорт аутентификации на удаленные дата-центры не удался. Авторизация невозможна."
#: ../telegram-base.c:524
msgid "Couldn't create group"
@ -33,7 +35,7 @@ msgstr "Не удалось создать группу"
#: ../telegram-base.c:524
msgid "Select at least one other user"
msgstr ""
msgstr "Выберите хотя бы одного другого пользователя"
#: ../telegram-base.c:532
msgid "Invalid phone number"
@ -43,290 +45,265 @@ msgstr "Неправильный номер телефона"
msgid ""
"Please enter only numbers in the international phone number format, a leading + following by the country prefix and the phone number.\n"
"Do not use any other special chars."
msgstr ""
msgstr "Пожалуйста, введите только номер в международном формате телефонного номера. Начиная с +, префикса страны и телефонного номера. Не используйте никакие другие специальные символы."
#: ../telegram-base.c:647
msgid "Query Failed"
msgstr "Ошибка запроса"
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Защищенный чат завершен"
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Сообщение помечено как прочитанное"
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr ""
msgstr "Пригласительная ссылка: %s"
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr ""
msgstr "Не удалось создать ссылку чата"
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr ""
msgstr "Вы должны быть администратором группы, чтобы сделать это."
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "Присоединился к чату"
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr ""
msgstr "Чат добавлен в список чатов."
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Начать защищенный чат..."
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr ""
msgstr "Пригласить пользователей по ссылке ..."
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Удалить и выйти..."
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr ""
msgstr "Ошибка. Публичный ключ сервера не найден в %s. Убедитесь, что telegram-purple установлен правильно."
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr ""
msgstr "Не удается войти как %s: не найден файл %s."
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr ""
msgstr "Убедитесь, что telegram-purple установлен правильно,\nвключая файл .tglpub."
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr ""
msgstr "Не удается войти как %s: номер телефона не имеет кода страны."
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Номер должен начинаться с международного \nпрефикса, например +7 для России."
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Не могу пригласить пользователя в чат"
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "Указанный пользователь не существует."
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Пароль (двухфакторная аутентификация) "
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr ""
msgstr "Альтернативная СМС верификация\n(Помогает когда не используется pidgin и вас не просило ввести код)"
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr ""
msgstr "Спрашивать"
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr "всегда"
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr "никогда"
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Присоединится к защищенным чатам"
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr ""
msgstr "Показывать друзей оффлайн через(дней)"
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Загрузить историю при первом входе"
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Не загружать историю старше N дней\n(0 без ограничений)"
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Добавить все групповые чаты в контактлист"
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Показать уведомления о получении"
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr ""
msgstr "Показать уведомления о получении"
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Имя"
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Фамилия"
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Ник"
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Пользователь"
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr ""
msgstr "Последний раз был в сети"
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Телефон"
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr ""
msgstr "Ожидание пользователя ..."
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr ""
msgstr "Таймер самоуничтожения"
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Выключить"
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Секретный ключ"
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr ""
msgstr "%2$s создан чат %1$s."
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr ""
msgstr "%2$s название изменено на %1$s."
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr ""
msgstr "%s фото изменено."
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr ""
msgstr "%s фото удалено."
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr ""
msgstr "%1$s пользователи добавлены %2$s по ссылке"
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr ""
msgstr "%2$s пользователь добавлен %1$s."
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s пользователи удалены %2$s."
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr ""
msgstr "%2$s пользователи удалены %1$s."
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr ""
msgstr "%2$s установлен таймер самоуничтожения на %1$d секунд."
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr ""
msgstr "%2$s пометил %1$d сообщений прочитанными."
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr ""
msgstr "%2$s удалено %1$d сообщений."
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr ""
msgstr "%2$s сделан скриншот %1$d сообщений."
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr ""
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Ошибка при отправке сообщения. %d: %s"
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Ошибка при отправке изображения."
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr ""
msgstr "Извините, отправка документов в секретных чатах пока не поддерживается."
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr ""
msgstr "%s отправил стикер."
#: ../tgp-net.c:326
msgid "Cannot connect to server"
@ -338,21 +315,21 @@ msgstr "Потеряно соединение с сервером..."
#: ../tgp-request.c:76 ../tgp-request.c:137
msgid "Login code"
msgstr ""
msgstr "Код входа"
#: ../tgp-request.c:76
msgid "Enter login code"
msgstr ""
msgstr "Введите код входа"
#: ../tgp-request.c:76
msgid ""
"Telegram wants to verify your identity. Please enter the code that you have "
"received via SMS."
msgstr ""
msgstr "Telegram хочет проверить вашу личность. Пожалуйста введите код, полученный вами через СМС."
#: ../tgp-request.c:77
msgid "the code"
msgstr ""
msgstr "код"
#: ../tgp-request.c:77 ../tgp-request.c:141 ../tgp-request.c:259
msgid "OK"
@ -364,7 +341,7 @@ msgstr "Отмена"
#: ../tgp-request.c:85
msgid "What is your SMS verification code?"
msgstr ""
msgstr "Какой код подтверждения пришел вам по SMS?"
#: ../tgp-request.c:129
msgid "Registration"
@ -387,7 +364,7 @@ msgstr "Пожалуйста, зарегистрируйте свой номер
msgid ""
"Phone number is not registered. Please register your phone on a different "
"client."
msgstr ""
msgstr "Номер телефона не зарегистрирован. Пожалуйста зарегистрируйте ваш телефон в другом клиенте."
#: ../tgp-request.c:146
msgid "Not Registered"
@ -399,17 +376,17 @@ msgstr "Пароль"
#: ../tgp-request.c:174
msgid "Enter password"
msgstr ""
msgstr "Введите пароль"
#: ../tgp-request.c:174
msgid "Enter password for two factor authentication"
msgstr ""
msgstr "Введите пароль для двухфакторной аутентификации"
#: ../tgp-request.c:177
msgid ""
"No password set for two factor authentication. Please enter it in the "
"extended settings."
msgstr ""
msgstr "Не указан пароль для двухфакторной аутентификации. Пожалуйста введите его в расширенных настройках."
#: ../tgp-request.c:179
msgid "Password invalid"
@ -418,7 +395,7 @@ msgstr "Неверный пароль"
#: ../tgp-request.c:207
#, c-format
msgid "Accept Secret Chat '%s'?"
msgstr ""
msgstr "Присоединится к защищенному чату '%s'?"
#: ../tgp-request.c:208
msgid "Secret Chat"
@ -429,13 +406,13 @@ msgid ""
"Secret chats can only have one end point. If you accept a secret chat on "
"this device, its messages will not be available anywhere else. If you "
"decline, you can accept the chat on other devices."
msgstr ""
msgstr "Секретные чаты могут иметь только одну конечную точку: если вы подтвердите секретный чат на этом устройстве, его сообщения будут недоступны нигде больше. Если вы отклоните, то вы сможете принять этот чат на других устройствах."
#: ../tgp-request.c:243
msgid ""
"Invite at least one additional user (Autocompletion available).\n"
"You can add more users once the chat was created."
msgstr ""
msgstr "Пригласите хотя бы одного дополнительного пользователя(Автодополнение доступно).\nВы можете добавить больше пользователей после создания чата."
#. FIXME: This dialog is pointless. It only asks whether the user wants to
#. create a new chat.
@ -456,53 +433,53 @@ msgstr "Чат не существует"
#: ../tgp-request.c:270
#, c-format
msgid "Do you want to create a new group chat named '%s'?"
msgstr ""
msgstr "Вы хотите создать новый групповой чат '%s'?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "недавно"
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "последняя неделя"
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "последний месяц"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "неизвестно"
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr ""
msgstr "Вы уже покинули этот чат."
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Заголовок:"
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr ""
msgstr "Пригласительная ссылка:"
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "Чат ID:"
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Пользователи"

161
po/sq.po
View file

@ -8,9 +8,9 @@ msgid ""
msgstr ""
"Project-Id-Version: telegram-purple\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"PO-Revision-Date: 2015-10-13 07:39+0000\n"
"Last-Translator: Besnik <besnik@programeshqip.org>\n"
"POT-Creation-Date: 2015-10-19 15:06+0200\n"
"PO-Revision-Date: 2015-10-19 13:11+0000\n"
"Last-Translator: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>\n"
"Language-Team: Albanian (http://www.transifex.com/telegram-purple-developers/telegram-purple/language/sq/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -49,281 +49,256 @@ msgstr "Ju lutemi, jepni vetëm numra sipas formatit ndërkombëtar për numra t
msgid "Query Failed"
msgstr "Kërkesa Dështoi"
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr "Fjalosja e fshehtë përfundoi."
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr "Mesazh i shënuar si i lexuar."
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr "Lidhje ftese: %s"
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr "Krijimi i lidhjes së fjalosjes dështoi"
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr "Lypset të jeni përgjegjës grupi që të bëni këtë."
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr "U hy në fjalosje"
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr "Fjalosja u shtua te listë dhomash fjalosjeje."
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr "Filloni fjalosje të fshehtë ..."
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr "Ftoni përdorues me lidhje ..."
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr "Fshije dhe dil ..."
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr "Gabim, su gjet kyç publik shërbyesi te %s. Sigurohuni që telegram-purple është instaluar si duhet."
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr "Nuk arrihet të bëhet hyrja si %s: mungon kartela %s."
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr "Sigurohuni që telegram-purple është instaluar si duhet,\npërfshi kartelën .tglpub."
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr "Nuk arrihet të bëhet hyrja si %s: numrit të telefonit i mungon prefiksi i vendit."
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr "Numrat duhet të fillojnë me kodin e plotë prefiks\nndërkombëtar, p.sh. +355 për Shqipërinë."
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr "Sftohet dot shok në fjalosje"
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr "Përdoruesi i treguar nuk ekziston."
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr "Fjalëkalim (mirëfilltësim dyfaktorësh)"
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr "Kalim vetvetiu për verfikime SMS\n(I dobishëm kur spërdoret Pidgin-i dhe nuk ju kërkohet kod)"
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr "pyet"
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr "përherë"
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr "kurrë"
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr "Prano fjalosje të fshehta"
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr "Shfaqi shokët si jo të lidhur pas (ditësh)"
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr "Sill historik të kaluar gjatë hyrjes së parë"
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr "Mos sill historik më të vjetë se (ditë)\n(0 për pa kufizim)"
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr "Shtoji krejt fjalosjet e grupit te lista e shokëve"
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr "Shfaq njoftime dëftese"
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr "Dërgo njoftime dëftese kur ka"
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr "Emër"
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr "Mbiemër"
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr "Emër"
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr "Emër përdoruesi"
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr "Parë së fundi"
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr "Telefon"
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr "Po pritet që përdoruesi të lidhet në internet ..."
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr "Kohëmatës vetëshkatërrimi"
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr "Off"
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr "Kyç i fshehtë"
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr "%2$s krijoi fjalosjen %1$s."
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr "%2$s ndryshoi titullin te %1$s."
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr "%s ndryshoi foton."
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr "%s fshiu foton."
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr "%1$s shtoi përdoruesin %2$s përmes lidhjeje."
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr "%2$s shtoi përdoruesin %1$s."
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr "%1$s fshiu përdoruesin %2$s."
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr "%2$s fshiu përdoruesin %1$s."
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr "%2$s e vendosi kohëmatësin e vetëshkatërrimit në %1$d sekonda."
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr "%2$s shënoi %1$d mesazhe si të lexuar."
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr "%2$s fshiu %1$d mesazhe."
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr "%2$s bëri një foto ekrani të %1$d mesazheve."
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr "%2$s e përditësoi me shtresën %1$d."
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr "%2$s kërkon kyçkëmbim #%1$016llx."
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr "%2$s pranon kyçkëmbim #%1$016llx."
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr "%2$s parashtron kyçkëmbim #%1$016llx."
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr "%2$s dështon kyçkëmbim #%1$016llx."
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr "Dërgimi i mesazhit dështoi. %d: %s"
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr "Dërgimi i figurës dështoi."
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr "Na ndjeni, dërgimi i dokumenteve në fjalosje të fshehtëzuara nuk mbulohet ende."
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr "%s dërgoi një ngjitëse."
@ -460,49 +435,49 @@ msgstr "Doni të krijoni një fjalosje të re grupi me emrin '%s'?"
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr "%d.%m.%Y %H:%M"
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr "së fundi"
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr "javën e fundit"
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr "muajin e fundit"
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr "e panjohur"
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr "E keni lëndë tashmë këtë fjalosje."
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr "Subjekt:"
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr "Lidhje ftese:"
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr "ID Fjalosjeje:"
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr "Përdorues"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-12 18:48+0200\n"
"POT-Creation-Date: 2015-10-19 15:06+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"
@ -49,281 +49,256 @@ msgstr ""
msgid "Query Failed"
msgstr ""
#: ../telegram-purple.c:172
#: ../telegram-purple.c:202
msgid "Secret chat terminated."
msgstr ""
#: ../telegram-purple.c:215
#: ../telegram-purple.c:247
msgid "Message marked as read."
msgstr ""
#: ../telegram-purple.c:475
#: ../telegram-purple.c:484
#, c-format
msgid "Invite link: %s"
msgstr ""
#: ../telegram-purple.c:498 ../telegram-purple.c:499
#: ../telegram-purple.c:504 ../telegram-purple.c:505
msgid "Creating chat link failed"
msgstr ""
#: ../telegram-purple.c:500
#: ../telegram-purple.c:506
msgid "You need to be admin of the group to do that."
msgstr ""
#: ../telegram-purple.c:526
#: ../telegram-purple.c:528
msgid "Chat joined"
msgstr ""
#: ../telegram-purple.c:527
#: ../telegram-purple.c:529
msgid "Chat added to list of chat rooms."
msgstr ""
#: ../telegram-purple.c:541
#: ../telegram-purple.c:543
msgid "Start secret chat ..."
msgstr ""
#. Generate Public Link
#: ../telegram-purple.c:547
#: ../telegram-purple.c:549
msgid "Invite users by link ..."
msgstr ""
#. Delete self from chat
#: ../telegram-purple.c:553
#: ../telegram-purple.c:555
msgid "Delete and exit ..."
msgstr ""
#: ../telegram-purple.c:571
#: ../telegram-purple.c:573
#, c-format
msgid ""
"Error, server public key not found at %s. Make sure that telegram-purple is "
"installed properly."
msgstr ""
#: ../telegram-purple.c:580
#: ../telegram-purple.c:582
#, c-format
msgid "Unable to sign on as %s: missing file %s."
msgstr ""
#: ../telegram-purple.c:584
#: ../telegram-purple.c:586
msgid ""
"Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."
msgstr ""
#: ../telegram-purple.c:602
#: ../telegram-purple.c:604
#, c-format
msgid "Unable to sign on as %s: phone number lacks country prefix."
msgstr ""
#: ../telegram-purple.c:606
#: ../telegram-purple.c:608
msgid ""
"Numbers must start with the full international\n"
"prefix code, e.g. +49 for Germany."
msgstr ""
#: ../telegram-purple.c:750 ../telegram-purple.c:751
#: ../telegram-purple.c:733 ../telegram-purple.c:734
msgid "Cannot invite buddy to chat"
msgstr ""
#: ../telegram-purple.c:752
#: ../telegram-purple.c:735
msgid "Specified user does not exist."
msgstr ""
#. Login
#: ../telegram-purple.c:895
#: ../telegram-purple.c:877
msgid "Password (two factor authentication)"
msgstr ""
#: ../telegram-purple.c:901
#: ../telegram-purple.c:883
msgid ""
"Fallback SMS verification\n"
"(Helps when not using Pidgin and you aren't being prompted for the code)"
msgstr ""
#: ../telegram-purple.c:909
#: ../telegram-purple.c:891
msgid "ask"
msgstr ""
#: ../telegram-purple.c:910
#: ../telegram-purple.c:892
msgid "always"
msgstr ""
#: ../telegram-purple.c:911
#: ../telegram-purple.c:893
msgid "never"
msgstr ""
#: ../telegram-purple.c:913
#: ../telegram-purple.c:895
msgid "Accept secret chats"
msgstr ""
#: ../telegram-purple.c:918
#: ../telegram-purple.c:900
msgid "Display buddies offline after (days)"
msgstr ""
#: ../telegram-purple.c:923
#: ../telegram-purple.c:905
msgid "Fetch past history on first login"
msgstr ""
#: ../telegram-purple.c:928
#: ../telegram-purple.c:910
msgid ""
"Don't fetch history older than (days)\n"
"(0 for unlimited)"
msgstr ""
#. Chats
#: ../telegram-purple.c:936
#: ../telegram-purple.c:918
msgid "Add all group chats to buddy list"
msgstr ""
#. Read notifications
#: ../telegram-purple.c:944
#: ../telegram-purple.c:926
msgid "Display notices of receipt"
msgstr ""
#: ../telegram-purple.c:949
#: ../telegram-purple.c:931
msgid "Send notices of receipt when present"
msgstr ""
#: ../tgp-2prpl.c:386 ../tgp-request.c:130
#: ../tgp-2prpl.c:167 ../tgp-request.c:130
msgid "First name"
msgstr ""
#: ../tgp-2prpl.c:387 ../tgp-request.c:132
#: ../tgp-2prpl.c:168 ../tgp-request.c:132
msgid "Last name"
msgstr ""
#: ../tgp-2prpl.c:389
#: ../tgp-2prpl.c:170
msgid "Name"
msgstr ""
#: ../tgp-2prpl.c:394 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-2prpl.c:175 ../tgp-request.c:246 ../tgp-request.c:250
#: ../tgp-request.c:254
msgid "Username"
msgstr ""
#: ../tgp-2prpl.c:399
#: ../tgp-2prpl.c:180
msgid "Last seen"
msgstr ""
#: ../tgp-2prpl.c:404
#: ../tgp-2prpl.c:185
msgid "Phone"
msgstr ""
#: ../tgp-2prpl.c:417
#: ../tgp-2prpl.c:197
msgid "Waiting for the user to get online ..."
msgstr ""
#: ../tgp-2prpl.c:421
#: ../tgp-2prpl.c:201
msgid "Self destruction timer"
msgstr ""
#: ../tgp-2prpl.c:427
#: ../tgp-2prpl.c:207
msgid "Off"
msgstr ""
#: ../tgp-2prpl.c:434
#: ../tgp-2prpl.c:214
msgid "Secret key"
msgstr ""
#: ../tgp-msg.c:55
#: ../tgp-msg.c:53
#, c-format
msgid "%2$s created chat %1$s."
msgstr ""
#: ../tgp-msg.c:58
#: ../tgp-msg.c:56
#, c-format
msgid "%2$s changed title to %1$s."
msgstr ""
#: ../tgp-msg.c:61
#: ../tgp-msg.c:59
#, c-format
msgid "%s changed photo."
msgstr ""
#: ../tgp-msg.c:64
#: ../tgp-msg.c:62
#, c-format
msgid "%s deleted photo."
msgstr ""
#: ../tgp-msg.c:72
#: ../tgp-msg.c:70
#, c-format
msgid "%1$s added user %2$s by link."
msgstr ""
#: ../tgp-msg.c:85
#: ../tgp-msg.c:83
#, c-format
msgid "%2$s added user %1$s."
msgstr ""
#: ../tgp-msg.c:107
#: ../tgp-msg.c:104
#, c-format
msgid "%1$s deleted user %2$s."
msgstr ""
#: ../tgp-msg.c:120
#: ../tgp-msg.c:118
#, c-format
msgid "%2$s deleted user %1$s."
msgstr ""
#: ../tgp-msg.c:125
#: ../tgp-msg.c:123
#, c-format
msgid "%2$s set self destruction timer to %1$d seconds."
msgstr ""
#: ../tgp-msg.c:128
#: ../tgp-msg.c:126
#, c-format
msgid "%2$s marked %1$d messages read."
msgstr ""
#: ../tgp-msg.c:131
#: ../tgp-msg.c:129
#, c-format
msgid "%2$s deleted %1$d messages."
msgstr ""
#: ../tgp-msg.c:134
#: ../tgp-msg.c:132
#, c-format
msgid "%2$s made a screenshot of %1$d messages."
msgstr ""
#: ../tgp-msg.c:137
#, c-format
msgid "%2$s updated to layer %1$d."
msgstr ""
#: ../tgp-msg.c:140
#, c-format
msgid "%2$s requests rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:143
#, c-format
msgid "%2$s accepts rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:146
#, c-format
msgid "%2$s commits rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:149
#, c-format
msgid "%2$s aborts rekey #%1$016llx."
msgstr ""
#: ../tgp-msg.c:173
#: ../tgp-msg.c:156
#, c-format
msgid "Sending message failed. %d: %s"
msgstr ""
#: ../tgp-msg.c:251
#: ../tgp-msg.c:259
msgid "Sending image failed."
msgstr ""
#: ../tgp-msg.c:265
#: ../tgp-msg.c:273
msgid "Sorry, sending documents to encrypted chats not yet supported."
msgstr ""
#: ../tgp-msg.c:352
#: ../tgp-msg.c:360
#, c-format
msgid "%s sent a sticker."
msgstr ""
@ -459,49 +434,49 @@ msgstr ""
#. This should be the language's timestamp format.
#. * This is preceded by a colon.
#: ../tgp-utils.c:39
#: ../tgp-utils.c:33
msgid "%d.%m.%Y %H:%M"
msgstr ""
#. This is preceded by a colon.
#: ../tgp-utils.c:60
#: ../tgp-utils.c:54
#, c-format
msgid "recently"
msgstr ""
#. This is preceded by a colon.
#: ../tgp-utils.c:64
#: ../tgp-utils.c:58
#, c-format
msgid "last week"
msgstr ""
#. This is preceded by a colon.
#: ../tgp-utils.c:68
#: ../tgp-utils.c:62
#, c-format
msgid "last month"
msgstr ""
#. This is preceded by a colon. It refers to a point on time.
#: ../tgp-utils.c:72
#: ../tgp-utils.c:66
msgid "unknown"
msgstr ""
#: ../tgp-chat.c:83
#: ../tgp-chat.c:79
msgid "You have already left this chat."
msgstr ""
#: ../tgp-chat.c:133
#: ../tgp-chat.c:122
msgid "Subject:"
msgstr ""
#: ../tgp-chat.c:139
#: ../tgp-chat.c:128
msgid "Invite link:"
msgstr ""
#: ../tgp-chat.c:145
#: ../tgp-chat.c:134
msgid "Chat ID:"
msgstr ""
#: ../tgp-chat.c:244
#: ../tgp-chat.c:232
msgid "Users"
msgstr ""

View file

@ -437,7 +437,7 @@ void read_secret_chat_file (struct tgl_state *TLS) {
close (secret_chat_fd);
}
gchar *get_config_dir (struct tgl_state *TLS, char const *username) {
gchar *get_config_dir (char const *username) {
gchar *dir = g_strconcat (purple_user_dir(), G_DIR_SEPARATOR_S, config_dir,
G_DIR_SEPARATOR_S, username, NULL);
@ -452,6 +452,18 @@ gchar *get_config_dir (struct tgl_state *TLS, char const *username) {
return dir;
}
gchar *get_user_pk_path () {
/* This can't be conditional on whether or not we're using telepathy, because
* then we would need to make sure that `make local_install` also knows about
* that location. So we *always* use ${HOME}/.purple/telegram-purple,
* even when the other files aren't in this folder.
* Note that this is only visible when using Telepathy/Empathy with
* local_install, which should be kinda rare anyway (use telepathy-morse!). */
return g_strconcat (g_get_home_dir(), G_DIR_SEPARATOR_S, ".purple",
G_DIR_SEPARATOR_S, "telegram-purple",
G_DIR_SEPARATOR_S, user_pk_filename, NULL);
}
gchar *get_download_dir (struct tgl_state *TLS) {
assert (TLS->base_path);
static gchar *dir;

View file

@ -42,7 +42,8 @@ void write_secret_chat_gw (struct tgl_state *TLS, void *extra, int success, stru
void telegram_login (struct tgl_state *TLS);
void telegram_export_authorization (struct tgl_state *TLS);
gchar *get_config_dir (struct tgl_state *TLS, char const *username);
gchar *get_config_dir (char const *username);
gchar *get_user_pk_path ();
gchar *get_download_dir (struct tgl_state *TLS);
gboolean assert_file_exists (PurpleConnection *gc, const char *filepath, const char *format);

View file

@ -76,9 +76,10 @@ static void update_secret_chat_handler (struct tgl_state *TLS, struct tgl_secret
static void update_user_typing (struct tgl_state *TLS, struct tgl_user *U, enum tgl_typing_status status);
static void update_marked_read (struct tgl_state *TLS, int num, struct tgl_message *list[]);
static char *format_print_name (struct tgl_state *TLS, tgl_peer_id_t id, const char *a1, const char *a2, const char *a3, const char *a4);
void on_user_get_info (struct tgl_state *TLS, void *info_data, int success, struct tgl_user *U);
static void on_user_get_info (struct tgl_state *TLS, void *info_data, int success, struct tgl_user *U);
const char *config_dir = "telegram-purple";
const char *user_pk_filename = "server.tglpub";
const char *pk_path = "/etc/telegram-purple/server.tglpub";
struct tgl_update_callback tgp_callback = {
@ -568,30 +569,45 @@ static void tgprpl_login (PurpleAccount * acct) {
connection_data *conn = connection_data_init (TLS, gc, acct);
purple_connection_set_protocol_data (gc, conn);
TLS->base_path = get_config_dir (TLS, purple_account_get_username (acct));
TLS->base_path = get_config_dir (purple_account_get_username (acct));
tgl_set_download_directory (TLS, get_download_dir(TLS));
if (!assert_file_exists (gc, pk_path, _("Error, server public key not found at %s."
" Make sure that telegram-purple is installed properly."))) {
/* Already reported. */
return;
}
debug ("base configuration path: '%s'", TLS->base_path);
struct rsa_pubkey the_pubkey;
if (! read_pubkey_file (pk_path, &the_pubkey)) {
char *cause = g_strdup_printf (_("Unable to sign on as %s: missing file %s."),
purple_account_get_username (acct), pk_path);
purple_connection_error_reason (gc, PURPLE_CONNECTION_ERROR_INVALID_SETTINGS, cause);
purple_notify_message (_telegram_protocol, PURPLE_NOTIFY_MSG_ERROR, cause,
_("Make sure telegram-purple is installed properly,\n"
"including the .tglpub file."), NULL, NULL, NULL);
g_free (cause);
return;
}
struct rsa_pubkey pubkey;
debug ("trying global pubkey at %s", pk_path);
gboolean global_pk_loaded = read_pubkey_file (pk_path, &pubkey);
tgl_set_verbosity (TLS, 4);
tgl_set_rsa_key_direct (TLS, the_pubkey.e, the_pubkey.n_len, the_pubkey.n_raw);
if (global_pk_loaded) {
debug ("using global pubkey");
tgl_set_rsa_key_direct (TLS, pubkey.e, pubkey.n_len, pubkey.n_raw);
} else {
char *user_pk_path = get_user_pk_path ();
debug ("trying local pubkey at %s", user_pk_path);
gboolean user_pk_loaded = read_pubkey_file (user_pk_path, &pubkey);
if (user_pk_loaded) {
debug ("using local pubkey");
tgl_set_rsa_key_direct (TLS, pubkey.e, pubkey.n_len, pubkey.n_raw);
} else {
debug ("both didn't work. abort.");
char *cause = g_strdup_printf (_("Unable to sign on as %s: pubkey not found."),
purple_account_get_username (acct));
purple_connection_error_reason (gc, PURPLE_CONNECTION_ERROR_INVALID_SETTINGS, cause);
char *long_hint = g_strdup_printf (
_("Make sure telegram-purple is installed properly,\n"
"including the .tglpub file.\n"
"If you're running SELinux (e.g. when using Tails),\n"
"try 'make local_install', or simply copy\n"
"%1$s to %2$s."), pk_path, user_pk_path);
purple_notify_message (_telegram_protocol, PURPLE_NOTIFY_MSG_ERROR, cause,
long_hint, NULL, NULL, NULL);
g_free (cause);
g_free (long_hint);
return;
}
}
tgl_set_ev_base (TLS, conn);
tgl_set_net_methods (TLS, &tgp_conn_methods);
tgl_set_timer_methods (TLS, &tgp_timers);

View file

@ -81,6 +81,7 @@
void on_ready (struct tgl_state *TLS);
extern const char *pk_path;
extern const char *user_pk_filename;
extern const char *config_dir;
extern PurplePlugin *_telegram_protocol;
void export_chat_link_checked (struct tgl_state *TLS, const char *name);

2
tgl

@ -1 +1 @@
Subproject commit 1789d7780d5a65ef53348845cd51db595d39835a
Subproject commit 5b725d288f59ada3f8905a73182fe57ae8c22986

View file

@ -31,6 +31,7 @@
#include "tgp-utils.h"
#include "telegram-base.h"
#include "tgp-msg.h"
#include "tgp-net.h"
#include <server.h>
#include <tgl.h>
@ -68,6 +69,11 @@ connection_data *pbn_get_conn (PurpleBlistNode *node) {
return NULL;
}
connection_data *c_get_conn (struct connection *c) {
struct tgl_state *TLS = c->TLS;
return TLS->ev_base;
}
int p2tgl_status_is_present (PurpleStatus *status) {
const char *name = purple_status_get_id (status);
return !(strcmp (name, "unavailable") == 0 || strcmp (name, "away") == 0);
@ -248,6 +254,10 @@ int p2tgl_imgstore_add_with_id (const char* filename) {
}
#ifdef HAVE_LIBWEBP
static const int MAX_W = 256;
static const int MAX_H = 256;
int p2tgl_imgstore_add_with_id_webp (const char *filename) {
const uint8_t *data = NULL;
@ -264,15 +274,28 @@ int p2tgl_imgstore_add_with_id_webp (const char *filename) {
g_free ((gchar *)data);
return 0;
}
int H = config.input.height;
int W = config.input.width;
while (H > 256 || W > 256) {
H /= 2;
W /= 2;
config.options.use_scaling = 0;
config.options.scaled_width = config.input.width;
config.options.scaled_height = config.input.height;
if (config.options.scaled_width > MAX_W || config.options.scaled_height > MAX_H) {
const float max_scale_width = MAX_W * 1.0f / config.options.scaled_width;
const float max_scale_height = MAX_H * 1.0f / config.options.scaled_height;
if (max_scale_width < max_scale_height) {
/* => the width is most limiting */
config.options.scaled_width = MAX_W;
/* Can't use ' *= ', because we need to do the multiplication in float
* (or double), and only THEN cast back to int. */
config.options.scaled_height = (int) (config.options.scaled_height * max_scale_width);
} else {
/* => the height is most limiting */
config.options.scaled_height = MAX_H;
/* Can't use ' *= ', because we need to do the multiplication in float
* (or double), and only THEN cast back to int. */
config.options.scaled_width = (int) (config.options.scaled_width * max_scale_height);
}
config.options.use_scaling = 1;
}
config.options.use_scaling = 1;
config.options.scaled_width = W;
config.options.scaled_height = H;
config.output.colorspace = MODE_RGBA;
if (! WebPDecode(data, len, &config) == VP8_STATUS_OK) {
warning ("error decoding webp: %s", filename);
@ -291,11 +314,11 @@ int p2tgl_imgstore_add_with_id_webp (const char *filename) {
warning ("error encoding webp as png: %s", filename);
return 0;
}
// will be owned by libpurple imgstore, which uses glib functions for managing memory
void *pngdub = g_memdup (png, (guint)pnglen);
free (png);
int imgStoreId = purple_imgstore_add_with_id (pngdub, pnglen, NULL);
return imgStoreId;
}

View file

@ -34,6 +34,7 @@ connection_data *tg_get_data (struct tgl_state *TLS);
connection_data *gc_get_conn (PurpleConnection *gc);
connection_data *pa_get_conn (PurpleAccount *pa);
connection_data *pbn_get_conn (PurpleBlistNode *node);
connection_data *c_get_conn (struct connection *c);
tgl_peer_t *p2tgl_get_peer (tgl_peer_id_t peer);
tgl_peer_t *p2tgl_get_peer_by_id (int id);
@ -59,6 +60,10 @@ PurpleNotifyUserInfo *p2tgl_notify_user_info_new (struct tgl_user *U);
PurpleNotifyUserInfo *p2tgl_notify_encrypted_chat_info_new (struct tgl_state *TLS, struct tgl_secret_chat *secret, struct tgl_user *U);
int p2tgl_imgstore_add_with_id (const char* filename);
int p2tgl_imgstore_add_with_id_webp (const char *filename);
void p2tgl_buddy_icons_set_for_user (PurpleAccount *pa, tgl_peer_id_t id, const char* filename);
#ifdef HAVE_LIBWEBP
int p2tgl_imgstore_add_with_id_webp (const char *filename);
#endif
#endif

View file

@ -356,7 +356,7 @@ static char *tgp_msg_sticker_display (struct tgl_state *TLS, tgl_peer_id_t from,
text = tgp_format_img (img);
*flags |= PURPLE_MESSAGE_IMAGES;
#else
char *txt_user = tgp_blist_peer_get_purple_name (TLS, from)
const char *txt_user = tgp_blist_peer_get_purple_name (TLS, from);
text = g_strdup_printf (_("%s sent a sticker."), txt_user);
*flags |= PURPLE_MESSAGE_SYSTEM;
#endif

View file

@ -38,6 +38,7 @@
#include "tgp-net.h"
#include "tgp-structs.h"
#include "tgp-2prpl.h"
#include "telegram-base.h"
#include <tgl.h>
#include <tgl-inner.h>
@ -273,6 +274,17 @@ static void net_on_connected (gpointer arg, gint fd, const gchar *error_message)
start_ping_timer (c);
}
static void net_on_connected_assert_success (gpointer arg, gint fd, const gchar *error_message) {
struct connection *c = arg;
struct tgl_state *TLS = c->TLS;
if (fd == -1) {
info ("Connection to main data center (%d) %s:%d not possible\n", c->dc->id, c->ip, c->port);
purple_connection_error_reason (tg_get_conn (TLS), PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Cannot connect to server"));
return;
}
net_on_connected (arg, fd, error_message);
}
struct connection *tgln_create_connection (struct tgl_state *TLS, const char *host, int port, struct tgl_session *session, struct tgl_dc *dc, struct mtproto_methods *methods) {
struct connection *c = malloc (sizeof (*c));
memset (c, 0, sizeof (*c));
@ -296,8 +308,8 @@ struct connection *tgln_create_connection (struct tgl_state *TLS, const char *ho
c->session = session;
c->methods = methods;
connection_data *conn = TLS->ev_base;
c->prpl_data = purple_proxy_connect (conn->gc, conn->pa, host, port, net_on_connected, c);
c->prpl_data = purple_proxy_connect (tg_get_conn(TLS), tg_get_acc(TLS), host, port,
TLS->dc_working_num == dc->id ? net_on_connected_assert_success : net_on_connected, c);
start_fail_timer (c);

View file

@ -22,7 +22,6 @@
#include "tgp-utils.h"
#include "msglog.h"
#include "lodepng/lodepng.h"
#include <purple.h>
@ -127,4 +126,3 @@ int tgp_startswith (const char *str, const char *with) {
}
return TRUE;
}