mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
add serbian translation file
update spanish file fix remove contact
This commit is contained in:
parent
c62f68350d
commit
981e7408cf
21 changed files with 9150 additions and 6197 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
14
po/README
Normal 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
|
||||
|
||||
|
||||
|
||||
761
po/nb_NO.po
761
po/nb_NO.po
File diff suppressed because it is too large
Load diff
766
po/pt_BR.po
766
po/pt_BR.po
File diff suppressed because it is too large
Load diff
760
po/zh_CN.po
760
po/zh_CN.po
File diff suppressed because it is too large
Load diff
761
po/zh_TW.po
761
po/zh_TW.po
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue