summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-05 09:41:27 +0000
committerthomascube <thomas@roundcube.net>2008-09-05 09:41:27 +0000
commita6d7a9f791cb559dd1c0052f1ec709be017e6533 (patch)
tree30d7c4c6419a0f0657b2ee71f6c310aa96c2871a /program
parentc505e59a6d2cf45233c1e0de186b8d6fe9d804ba (diff)
Better title for export icon + include source in export url
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js4
-rw-r--r--program/localization/de_CH/labels.inc1
-rw-r--r--program/localization/de_DE/labels.inc1
-rw-r--r--program/localization/en_US/labels.inc1
4 files changed, 5 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 3e49fc3b2..9a9865db4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1006,9 +1006,9 @@ function rcube_webmail()
case 'export':
if (this.contact_list.rowcount > 0) {
- var add_url = '';
+ var add_url = (this.env.source ? '_source='+urlencode(this.env.source)+'&' : '');
if (this.env.search_request)
- add_url = '_search='+this.env.search_request;
+ add_url += '_search='+this.env.search_request;
this.goto_url('export', add_url);
}
diff --git a/program/localization/de_CH/labels.inc b/program/localization/de_CH/labels.inc
index a5909b8ed..fc285b44b 100644
--- a/program/localization/de_CH/labels.inc
+++ b/program/localization/de_CH/labels.inc
@@ -178,6 +178,7 @@ $labels['composeto'] = 'Nachricht verfassen';
$labels['contactsfromto'] = 'Kontakte $from bis $to von $count';
$labels['print'] = 'Drucken';
$labels['export'] = 'Exportieren';
+$labels['exportvcards'] = 'Kontakte im vCard-Format exportieren';
$labels['previouspage'] = 'Eine Seite zurück';
$labels['firstpage'] = 'Erste Seite';
$labels['nextpage'] = 'Nächste Seite';
diff --git a/program/localization/de_DE/labels.inc b/program/localization/de_DE/labels.inc
index cfd811b39..409c18a3f 100644
--- a/program/localization/de_DE/labels.inc
+++ b/program/localization/de_DE/labels.inc
@@ -177,6 +177,7 @@ $labels['composeto'] = 'Nachricht verfassen';
$labels['contactsfromto'] = 'Kontakte $from bis $to von $count';
$labels['print'] = 'Drucken';
$labels['export'] = 'Exportieren';
+$labels['exportvcards'] = 'Kontakte im vCard-Format exportieren';
$labels['previouspage'] = 'Seite zurück';
$labels['firstpage'] = 'Erste Seite';
$labels['nextpage'] = 'Nächste Seite';
diff --git a/program/localization/en_US/labels.inc b/program/localization/en_US/labels.inc
index ac43c85f9..dec9d4671 100644
--- a/program/localization/en_US/labels.inc
+++ b/program/localization/en_US/labels.inc
@@ -223,6 +223,7 @@ $labels['composeto'] = 'Compose mail to';
$labels['contactsfromto'] = 'Contacts $from to $to of $count';
$labels['print'] = 'Print';
$labels['export'] = 'Export';
+$labels['exportvcards'] = 'Export contacts in vCard format';
$labels['previouspage'] = 'Show previous set';
$labels['firstpage'] = 'Show first set';