Commit b5ebef3b authored by Simon Morlat's avatar Simon Morlat
Browse files

add traditional chinese, update german, fixes translation issues

parent f8713446
......@@ -86,7 +86,7 @@ fi
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"
ALL_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru zh_CN nb_NO zh_TW"
AC_SUBST(ALL_LINGUAS)
AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages])
......
......@@ -58,7 +58,7 @@ static GtkWidget *make_tab_header(int number){
GtkWidget *w=gtk_hbox_new (FALSE,0);
GtkWidget *i=create_pixmap ("status-green.png");
GtkWidget *l;
gchar *text=g_strdup_printf("Call #%i",number);
gchar *text=g_strdup_printf(_("Call #%i"),number);
l=gtk_label_new (text);
gtk_box_pack_start (GTK_BOX(w),i,FALSE,FALSE,0);
gtk_box_pack_end(GTK_BOX(w),l,TRUE,TRUE,0);
......@@ -84,7 +84,7 @@ static void transfer_button_clicked(GtkWidget *button, gpointer call_ref){
if (other_call!=call){
int call_index=GPOINTER_TO_INT(g_object_get_data(G_OBJECT(call_view),"call_index"));
char *remote_uri=linphone_call_get_remote_address_as_string (other_call);
char *text=g_strdup_printf("Transfer to call #%i with %s",call_index,remote_uri);
char *text=g_strdup_printf(_("Transfer to call #%i with %s"),call_index,remote_uri);
menu_item=gtk_image_menu_item_new_with_label(text);
ms_free(remote_uri);
g_free(text);
......
......@@ -615,9 +615,10 @@ static void completion_add_text(GtkEntry *entry, const char *text){
void linphone_gtk_call_terminated(LinphoneCall *call, const char *error){
GtkWidget *mw=linphone_gtk_get_main_window();
gtk_widget_set_sensitive(linphone_gtk_get_widget(mw,"terminate_call"),FALSE);
gtk_widget_set_sensitive(linphone_gtk_get_widget(mw,"start_call"),TRUE);
if (linphone_core_get_calls(linphone_gtk_get_core())==NULL){
gtk_widget_set_sensitive(linphone_gtk_get_widget(mw,"terminate_call"),FALSE);
gtk_widget_set_sensitive(linphone_gtk_get_widget(mw,"start_call"),TRUE);
}
if (linphone_gtk_use_in_call_view() && call)
linphone_gtk_in_call_view_terminate(call,error);
update_video_title();
......
......@@ -98,7 +98,7 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button8">
<property name="label" translatable="yes">gtk-ok</property>
<property name="label" translatable="no">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......@@ -114,7 +114,7 @@
</child>
<child>
<object class="GtkButton" id="button9">
<property name="label" translatable="yes">gtk-cancel</property>
<property name="label" translatable="no">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
......
......@@ -661,6 +661,8 @@ static LangCodes supported_langs[]={
{ "hu" , N_("Hungarian") },
{ "cs" , N_("Czech") },
{ "zh_CN" , N_("Chinese") },
{ "zh_TW" , N_("Traditional Chinese") },
{ "nb_NO" , N_("Norwegian") },
{ NULL , NULL }
};
......
mediastreamer2 @ 5a5f1edb
Subproject commit e8e24a9e1142e8167e43b11999d6c11a900bd823
Subproject commit 5a5f1edbfd6353e9119e9e810b02a71955190286
oRTP @ d42e64bf
Subproject commit 98c3a0cb9b17568b1aabe038f8cb36caa9b1a147
Subproject commit d42e64bf9791a8ca8a923db80d622a8e92b9fb28
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment