Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,
Here is a simple patch which includes a more informative error message
when the user enters an invalid sheet name in calc.
The exact wording can be debated. I opted for a more flowing message
instead of having a list, this seems to be consistent with the other
error/info messages in calc.

/Albert
From 9e67268deb48bc55ce809f13bb58a6e0da646162 Mon Sep 17 00:00:00 2001
From: Albert Thuswaldner <albert.thuswaldner@gmail.com>
Date: Sat, 28 Jan 2012 01:12:24 +0100
Subject: [PATCH] Updated error message for invalid sheet name

---
 sc/source/ui/src/globstr.src |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index a5a1e6a..20ab9aa 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -687,7 +687,7 @@ Resource RID_GLOBSTR
     };
     String STR_INVALIDTABNAME
     {
-        Text [ en-US ] = "Invalid sheet name." ;
+        Text [ en-US ] = "Invalid sheet name. \nThe sheet name must not be a duplicate of an 
existing name. \nFurther it must be 31 or fewer characters and can not contain the characters [ ] * 
? / \ ." ;
     };
     String STR_SCENARIO
     {
-- 
1.7.3.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.