Back to index

scribus-ng  1.3.4.dfsg+svn20071115
commonstrings.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008        begin                : Aug 2005
00009        copyright            : (C) 2005 by Craig Bradney
00010        email                : cbradney@zip.com.au
00011 ***************************************************************************/
00012 
00013 /***************************************************************************
00014 *                                                                         *
00015 *   ScMW program is free software; you can redistribute it and/or modify  *
00016 *   it under the terms of the GNU General Public License as published by  *
00017 *   the Free Software Foundation; either version 2 of the License, or     *
00018 *   (at your option) any later version.                                   *
00019 *                                                                         *
00020 ***************************************************************************/
00021 
00022 #ifndef COMMONSTRINGS_H
00023 #define COMMONSTRINGS_H
00024 
00025 #include <qobject.h>
00026 #include <qstring.h>
00027 #include "scribusapi.h"
00028 
00045 class SCRIBUS_API CommonStrings : public QObject
00046 {
00047        Q_OBJECT
00048 public:
00049        CommonStrings();
00050 
00056        static const QString& translatePageSetString(const QString &untrString);
00062        static const QString& translatePageSetLocString(const QString &untrString);
00068        static const QString& untranslatePageSetString(const QString &trString);
00074        static const QString& untranslatePageSetLocString(const QString &trString);
00080        static const QString& translatePenStyleName(Qt::PenStyle ps);
00081        static void languageChange();
00082        static QString _Apply;
00083        static QString tr_Apply;
00084        static QString _Cancel;
00085        static QString tr_Cancel;
00086        static QString None;
00087        static QString tr_None;
00088        static QString tr_NoneColor;
00089        static QString _OK;
00090        static QString tr_OK;
00091        static QString _Save;
00092        static QString tr_Save;
00093        static QString Warning;
00094        static QString trWarning;
00096        static QString trYes;
00098        static QString trNo;
00100        static QString trYesKey;
00102        static QString trNoKey;
00103 
00104        //Page Size
00105        static QString customPageSize;
00106        static QString trCustomPageSize;
00107 
00108        //Page Sets
00109        static QString pageSet1;
00110        static QString pageSet2;
00111        static QString pageSet3;
00112        static QString pageSet4;
00113        static QString trPageSet1;
00114        static QString trPageSet2;
00115        static QString trPageSet3;
00116        static QString trPageSet4;
00117        static QString pageLocLeft;
00118        static QString pageLocMiddle;
00119        static QString pageLocMiddleLeft;
00120        static QString pageLocMiddleRight;
00121        static QString pageLocRight;
00122        static QString trPageLocLeft;
00123        static QString trPageLocMiddle;
00124        static QString trPageLocMiddleLeft;
00125        static QString trPageLocMiddleRight;
00126        static QString trPageLocRight;
00127        
00128        //Master Page Default Names
00129        static QString masterPageNormal;
00130        static QString trMasterPageNormal;
00131        static QString masterPageNormalLeft;
00132        static QString trMasterPageNormalLeft;
00133        static QString masterPageNormalMiddle;
00134        static QString trMasterPageNormalMiddle;
00135        static QString masterPageNormalRight;
00136        static QString trMasterPageNormalRight;
00137        
00138        //Pen Styles
00139        static QString trPenStyle_SolidLine;
00140        static QString trPenStyle_DashedLine;
00141        static QString trPenStyle_DottedLine;
00142        static QString trPenStyle_DashDotLine;
00143        static QString trPenStyle_DashDotDotLine;
00144        
00145        //Days and Months
00146        static QString monday; 
00147        static QString tuesday;
00148        static QString wednesday;
00149        static QString thursday;
00150        static QString friday;
00151        static QString saturday;
00152        static QString sunday;
00153 
00154        static QString january;
00155        static QString february;
00156        static QString march;
00157        static QString april;
00158        static QString may;
00159        static QString june;
00160        static QString july;
00161        static QString august;
00162        static QString september;
00163        static QString october;
00164        static QString november;
00165        static QString december;
00166        
00167        //Color Blindness
00168        static QString trVisionNormal;
00169        static QString trVisionProtanopia;
00170        static QString trVisionDeuteranopia;
00171        static QString trVisionTritanopia;
00172        static QString trVisionFullColorBlind;
00173        
00174        //Tab Fill Custom
00175        static QString trCustomTabFill;
00176        
00177        //Paragraph Style Optical Margins
00178        static QString trOpticalMarginsNone;
00179        static QString trOpticalMarginsLeftProtruding;
00180        static QString trOpticalMarginsRightProtruding;
00181        static QString trOpticalMarginsLeftHangPunct;
00182        static QString trOpticalMarginsRightHangPunct;
00183        static QString trOpticalMarginsDefault;
00184        
00185        //Paragraph Style Word Tracking
00186        static QString trMinWordTracking;
00187        static QString trNormWordTracking;
00188        
00189        //Paragraph Style Glyph Extension
00190        static QString trMinGlyphExtension;
00191        static QString trMaxGlyphExtension;
00192 };
00193 
00194 #endif