From ad052b81d854e2755d12f5693733ca5be012789c Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 28 Jun 2013 02:43:31 -0400
Subject: [PATCH] Fix so filename label is "Name" not "Display name"
---
program/localization/en_US/labels.inc | 1 +
program/steps/mail/get.inc | 2 +-
skins/larry/mail.css | 4 ++--
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/program/localization/en_US/labels.inc b/program/localization/en_US/labels.inc
index cd0b945..1865bcb 100644
--- a/program/localization/en_US/labels.inc
+++ b/program/localization/en_US/labels.inc
@@ -206,6 +206,7 @@
$labels['msgtext'] = 'Entire message';
$labels['body'] = 'Body';
$labels['type'] = 'Type';
+$labels['namex'] = 'Name';
$labels['openinextwin'] = 'Open in new window';
$labels['emlsave'] = 'Download (.eml)';
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 57942f6..a27e788 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -444,7 +444,7 @@
$part = $MESSAGE->mime_parts[$part];
$table = new html_table(array('cols' => 2));
- $table->add('title', Q(rcube_label('name')).':');
+ $table->add('title', Q(rcube_label('namex')).':');
$table->add('header', Q(rcmail_attachment_name($part)));
$table->add('title', Q(rcube_label('type')).':');
diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 4f59495..138fad7 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -1217,8 +1217,8 @@
}
#messagepartheader table td.title {
- width: 70px;
- padding-right: 0:
+ width: 60px;
+ padding-right: 0;
}
--
Gitblit v1.9.1