Index: phpgwapi/inc/class.uijsaddressbook.inc.php
===================================================================
RCS file: /var/cvs/phpgroupware/phpgwapi/inc/Attic/class.uijsaddressbook.inc.php,v
retrieving revision 1.1.2.11
diff -u -3 -p -r1.1.2.11 class.uijsaddressbook.inc.php
--- phpgwapi/inc/class.uijsaddressbook.inc.php	29 Feb 2004 19:50:11 -0000	1.1.2.11
+++ phpgwapi/inc/class.uijsaddressbook.inc.php	15 Jul 2004 10:50:04 -0000
@@ -592,7 +592,7 @@
 			//Label settings------------
 			//for columns!
 			
-			$this->template->set_var('first_column_label',lang($this->first_column_label));
+			$this->template->set_var('first_column_label',$this->first_column_label);
 			$this->template->set_var('second_column_label',$this->second_column_label);
 			$this->template->set_var('third_column_label',$this->third_column_label);
 			$this->template->set_var('wait_img_path', $this->wait_image_path);
@@ -607,9 +607,9 @@
 			$this->template->set_var('none_button_value',$this->none_button_value);
 			$this->template->set_var('selected_category_name',$this->selected_category_name);
 			//for query command dropdown!
-			$this->template->set_var('select_query_command',$this->select_query_command);
-			$this->template->set_var('go_query_command',$this->go_query_command);
-			$this->template->set_var('clear_query_command',$this->clear_query_command);
+			$this->template->set_var('select_query_command',lang($this->select_query_command));
+			$this->template->set_var('go_query_command',lang($this->go_query_command));
+			$this->template->set_var('clear_query_command',lang($this->clear_query_command));
 			$this->categoryobject=CreateObject('phpgwapi.categories');
 			$this->categoryobject->app_name = 'addressbook';
 			$cat_name=$this->categoryobject->return_single($this->cat_id);
@@ -626,6 +626,17 @@
 			}
 			$this->template->set_var('selected_cat_name',$this->selected_cat_name);
 			$this->template->set_var('selected_cat_value',($this->cat_id=="")?-2:$this->cat_id);
+			//for pseudo category names
+			$this->template->set_var('pseudo_cat_all',lang('All (can be very slow)'));
+			$this->template->set_var('pseudo_cat_personal',lang('Private'));
+			//for directory options
+			$this->template->set_var('directory_option_system',lang('System'));
+			$this->template->set_var('directory_option_global',lang('Global'));
+			$this->template->set_var('directory_option_user',lang('Mine'));
+			$this->template->set_var('directory_option_private',lang('Private'));
+			//other
+			$this->template->set_var('send_to_category',lang('Send to all category'));
+			$this->template->set_var('show_more_data',lang('More Data'));
 			//End Label setting--------------
 			$this->template->set_var('search_action',$GLOBALS['phpgw']->link('/'.$GLOBALS['phpgw_info']['flags']['currentapp'].'/addressbook-js.php',"sort=$this->sort&order=$this->order&filter=$this->filter&start=$this->start&cat_id=$this->cat_id"));
          		$this->template->set_var('query',$query);
Index: phpgwapi/templates/default/addressbook-js.tpl
===================================================================
RCS file: /var/cvs/phpgroupware/phpgwapi/templates/default/Attic/addressbook-js.tpl,v
retrieving revision 1.1.2.2
diff -u -3 -p -r1.1.2.2 addressbook-js.tpl
--- phpgwapi/templates/default/addressbook-js.tpl	27 Feb 2004 01:01:37 -0000	1.1.2.2
+++ phpgwapi/templates/default/addressbook-js.tpl	15 Jul 2004 10:50:05 -0000
@@ -411,8 +411,8 @@
       							window.submittheform=1;
 							window.go_triggers(); ">
 	{cats_list}
-      	<option value="-2">All (can be very slow)</option>
-      	<option value="-3">Personal</option>
+      	<option value="-2">{pseudo_cat_all}</option>
+      	<option value="-3">{pseudo_cat_personal}</option>
       </select>
       <!--jarg_SOG s -->
       <br>
@@ -420,7 +420,7 @@
                                                                        window.savedestboxes=1;
                                                                        window.submittheform=1;
                                                                        window.go_triggers();">
-          <font face="Helvetica, Arial, san-serif" size="-1" style="font-size:{widget_font_size};">Send to all category</font>
+          <font face="Helvetica, Arial, san-serif" size="-1" style="font-size:{widget_font_size};">{send_to_category}</font>
       <!--jarg_SOG e -->
 
       </td>
@@ -496,11 +496,11 @@
 							window.submittheform=1;
 							window.go_triggers();">
 		    {hide_directory_option_open}
-        	    <option value="directory" {directory_is_selected}> System </option>
+        	    <option value="directory" {directory_is_selected}> {directory_option_system} </option>
 		    {hide_directory_option_close}
-        	    <option value="none" {global_is_selected}> Global </option>
-	            <option value="user_only" {mine_is_selected}> Mine </option>
-        	    <option value="private" {private_is_selected}> Private </option>
+        	    <option value="none" {global_is_selected}> {directory_option_global} </option>
+	            <option value="user_only" {mine_is_selected}> {directory_option_user} </option>
+        	    <option value="private" {private_is_selected}> {directory_option_private} </option>
 	            </select>
 		   </td>
 	</tr>
@@ -554,7 +554,7 @@
                 	<td style="width:100%">
 
 			<font face="Helvetica, Arial, san-serif" size="-1" style="font-size:{widget_font_size};">
-				More Data </font>
+				{show_more_data} </font>
 				<input type="checkbox" name="viewmore" {viewmore_checked} onClick="
 				//If u click the viewmore checkbox, it checks what is selected in the
 				//nameselect selectbox. If only one value is selected, it fetches that user
