add serbian translation file

update spanish file
fix remove contact
This commit is contained in:
Margaux Clerc 2013-03-07 12:42:22 +01:00
parent c62f68350d
commit 981e7408cf
21 changed files with 9150 additions and 6197 deletions

View file

@ -113,7 +113,7 @@ AC_CONFIG_COMMANDS([libtool-hacking],
dnl Add the languages which your application supports here.
PKG_PROG_PKG_CONFIG
ALL_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru zh_CN nb_NO zh_TW he"
ALL_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru zh_CN nb_NO zh_TW he sr"
AC_SUBST(ALL_LINGUAS)
AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages])

View file

@ -36,6 +36,7 @@ void linphone_gtk_quit_chatroom(LinphoneChatRoom *cr) {
g_object_set_data(G_OBJECT(friendlist),"chatview",NULL);
g_object_set_data(G_OBJECT(w),"from_message",NULL);
g_object_set_data(G_OBJECT(w),"cr",NULL);
g_object_set_data(G_OBJECT(friendlist),"from",NULL);
gtk_widget_destroy(w);
}
@ -369,7 +370,8 @@ void linphone_gtk_text_received(LinphoneCore *lc, LinphoneChatRoom *room,
} else {
w=linphone_gtk_init_chatroom(room,linphone_chat_message_get_from(msg));
g_object_set_data(G_OBJECT(friendlist),"chatview",(gpointer)w);
g_object_set_data(G_OBJECT(friendlist),"from",(gpointer)linphone_chat_message_get_from(msg));
char *from=linphone_address_as_string(linphone_chat_message_get_from(msg));
g_object_set_data(G_OBJECT(friendlist),"from",from);
}
get_display_name(linphone_chat_message_get_from(msg));
#ifdef HAVE_GTK_OSXs

View file

@ -195,7 +195,7 @@ void linphone_gtk_update_chat_picture(){
GtkTreeModel *model=gtk_tree_view_get_model(GTK_TREE_VIEW(friendlist));
GtkWidget *chat_view=(GtkWidget*)g_object_get_data(G_OBJECT(friendlist),"chatview");
LinphoneFriend *lf=NULL;
LinphoneAddress *uri=(LinphoneAddress *)g_object_get_data(G_OBJECT(friendlist),"from");
char *uri=(char *)g_object_get_data(G_OBJECT(friendlist),"from");
store=GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(friendlist)));
if (gtk_tree_model_get_iter_first(model,&iter)) {
do{
@ -203,7 +203,7 @@ void linphone_gtk_update_chat_picture(){
if(chat_view!=NULL){
if(uri !=NULL) {
if(g_strcmp0(linphone_address_as_string(linphone_friend_get_address(lf)),
linphone_address_as_string(uri))==0){
uri)==0){
gtk_list_store_set(store,&iter,FRIEND_CHAT,create_active_chat_picture(),-1);
} else {
gtk_list_store_set(store,&iter,FRIEND_CHAT,create_chat_picture(),-1);
@ -241,7 +241,7 @@ void linphone_gtk_chat_selected(GtkWidget *item){
cr=linphone_gtk_create_chatroom(uri);
}
page=(GtkWidget*)g_object_get_data(G_OBJECT(friendlist),"chatview");
g_object_set_data(G_OBJECT(friendlist),"from",(gpointer)uri);
g_object_set_data(G_OBJECT(friendlist),"from",linphone_address_as_string(uri));
if(page==NULL){
page=linphone_gtk_init_chatroom(cr,uri);
g_object_set_data(G_OBJECT(friendlist),"chatview",(gpointer)page);

14
po/README Normal file
View file

@ -0,0 +1,14 @@
How to add a translation file
*****************************
To add a translation file in linphone project you should first :
- change the variable ALL_LINGUAS in configure.ac by adding the language (ex: fr)
- then add the file .po in the directory /po
- run ./autogen.sh
Update the tranlation files
***************************
To update all the translation files, in the directory /po run the following command
$ make update-po

771
po/cs.po

File diff suppressed because it is too large Load diff

762
po/de.po

File diff suppressed because it is too large Load diff

1858
po/es.po

File diff suppressed because it is too large Load diff

849
po/fr.po

File diff suppressed because it is too large Load diff

773
po/he.po

File diff suppressed because it is too large Load diff

767
po/hu.po

File diff suppressed because it is too large Load diff

759
po/it.po

File diff suppressed because it is too large Load diff

773
po/ja.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

768
po/nl.po

File diff suppressed because it is too large Load diff

785
po/pl.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

772
po/ru.po

File diff suppressed because it is too large Load diff

1877
po/sr.po Normal file

File diff suppressed because it is too large Load diff

759
po/sv.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff