Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
156e96d8
Kaydet (Commit)
156e96d8
authored
Ara 01, 2011
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ManageNames: move some strings to globstr
üst
64a9481b
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
54 deletions
+19
-54
globstr.hrc
sc/inc/globstr.hrc
+4
-1
namedefdlg.hrc
sc/source/ui/inc/namedefdlg.hrc
+0
-3
namedefdlg.hxx
sc/source/ui/inc/namedefdlg.hxx
+0
-2
namedlg.hrc
sc/source/ui/inc/namedlg.hrc
+0
-5
namedlg.hxx
sc/source/ui/inc/namedlg.hxx
+0
-1
namedefdlg.cxx
sc/source/ui/namedlg/namedefdlg.cxx
+2
-4
namedlg.cxx
sc/source/ui/namedlg/namedlg.cxx
+2
-3
globstr.src
sc/source/ui/src/globstr.src
+8
-0
namedefdlg.src
sc/source/ui/src/namedefdlg.src
+1
-15
namedlg.src
sc/source/ui/src/namedlg.src
+2
-20
No files found.
sc/inc/globstr.hrc
Dosyayı görüntüle @
156e96d8
...
...
@@ -596,8 +596,11 @@
#define STR_HEADER_RANGE 460
#define STR_HEADER_SCOPE 461
#define STR_GLOBAL_SCOPE 462
#define STR_ERR_NAME_EXISTS 463
#define STR_ERR_NAME_INVALID 464
#define STR_COUNT 463
#define STR_COUNT 465
#endif
sc/source/ui/inc/namedefdlg.hrc
Dosyayı görüntüle @
156e96d8
...
...
@@ -42,9 +42,6 @@
#define BTN_ROWHEADER 12
#define BTN_COLHEADER 13
#define FL_DIV 15
#define STR_INVALIDSYMBOL 16
#define STR_ERR_NAME_EXISTS 17
#define STR_ERR_NAME_INVALID 18
#define STR_DEFAULT_INFO 19
#define RB_RANGE 20
#define BTN_MORE 21
...
...
sc/source/ui/inc/namedefdlg.hxx
Dosyayı görüntüle @
156e96d8
...
...
@@ -70,8 +70,6 @@ private:
ScDocShell
*
mpDocShell
;
ScAddress
maCursorPos
;
const
String
mErrMsgInvalidSym
;
const
rtl
::
OUString
maErrMsgModifiedFailed
;
const
rtl
::
OUString
maGlobalNameStr
;
const
rtl
::
OUString
maErrInvalidNameStr
;
const
rtl
::
OUString
maErrNameInUse
;
...
...
sc/source/ui/inc/namedlg.hrc
Dosyayı görüntüle @
156e96d8
...
...
@@ -44,17 +44,12 @@
#define ED_ASSIGN 15
#define RB_ASSIGN 16
#define STR_INVALIDSYMBOL 23
#define STR_MODIFYFAILED 72
#define BTN_CRITERIA 31
#define BTN_PRINTAREA 32
#define BTN_COLHEADER 33
#define BTN_ROWHEADER 34
#define CTRL_MANAGENAMES 66
#define STR_ERR_NAME_EXISTS 73
#define STR_ERR_NAME_INVALID 74
#define STR_DEFAULT_INFO 75
#define STR_MULTI_SELECT 76
...
...
sc/source/ui/inc/namedlg.hxx
Dosyayı görüntüle @
156e96d8
...
...
@@ -82,7 +82,6 @@ private:
ScRangeManagerCtrl
maNameMgrCtrl
;
ScRangeManagerTable
*
mpRangeManagerTable
;
const
rtl
::
OUString
maErrMsgModifiedFailed
;
const
rtl
::
OUString
maGlobalNameStr
;
const
rtl
::
OUString
maErrInvalidNameStr
;
const
rtl
::
OUString
maErrNameInUse
;
...
...
sc/source/ui/namedlg/namedefdlg.cxx
Dosyayı görüntüle @
156e96d8
...
...
@@ -72,10 +72,9 @@ ScNameDefDlg::ScNameDefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParen
mpDocShell
(
pViewData
->
GetDocShell
()
),
maCursorPos
(
aCursorPos
),
mErrMsgInvalidSym
(
ScResId
(
STR_INVALIDSYMBOL
)
),
maGlobalNameStr
(
ScGlobal
::
GetRscString
(
STR_GLOBAL_SCOPE
)
),
maErrInvalidNameStr
(
ResId
::
toString
(
ScResId
(
STR_ERR_NAME_INVALID
)
)),
maErrNameInUse
(
ResId
::
toString
(
ScResId
(
STR_ERR_NAME_EXISTS
)
)),
maErrInvalidNameStr
(
ScGlobal
::
GetRscString
(
STR_ERR_NAME_INVALID
)),
maErrNameInUse
(
ScGlobal
::
GetRscString
(
STR_ERR_NAME_EXISTS
)),
maStrInfoDefault
(
ResId
::
toString
(
ScResId
(
STR_DEFAULT_INFO
))),
maRangeMap
(
aRangeMap
)
{
...
...
@@ -262,7 +261,6 @@ void ScNameDefDlg::AddPushed()
else
{
delete
pNewEntry
;
ErrorBox
(
this
,
WinBits
(
WB_OK
|
WB_DEF_OK
),
ResId
::
toString
(
ScResId
(
STR_INVALIDSYMBOL
))).
Execute
();
Selection
aCurSel
=
Selection
(
0
,
SELECTION_MAX
);
maEdRange
.
GrabFocus
();
maEdRange
.
SetSelection
(
aCurSel
);
...
...
sc/source/ui/namedlg/namedlg.cxx
Dosyayı görüntüle @
156e96d8
...
...
@@ -98,10 +98,9 @@ ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
//
maNameMgrCtrl
(
this
,
ScResId
(
CTRL_MANAGENAMES
)
),
//
maErrMsgModifiedFailed
(
ResId
::
toString
(
ScResId
(
STR_MODIFYFAILED
)
)
),
maGlobalNameStr
(
ScGlobal
::
GetRscString
(
STR_GLOBAL_SCOPE
)
),
maErrInvalidNameStr
(
ResId
::
toString
(
ScResId
(
STR_ERR_NAME_INVALID
)
)),
maErrNameInUse
(
ResId
::
toString
(
ScResId
(
STR_ERR_NAME_EXISTS
)
)),
maErrInvalidNameStr
(
ScGlobal
::
GetRscString
(
STR_ERR_NAME_INVALID
)),
maErrNameInUse
(
ScGlobal
::
GetRscString
(
STR_ERR_NAME_EXISTS
)),
maStrInfoDefault
(
ResId
::
toString
(
ScResId
(
STR_DEFAULT_INFO
))),
maStrMultiSelect
(
ResId
::
toString
(
ScResId
(
STR_MULTI_SELECT
))),
//
...
...
sc/source/ui/src/globstr.src
Dosyayı görüntüle @
156e96d8
...
...
@@ -1843,5 +1843,13 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "Document (Global)" ;
};
String STR_ERR_NAME_EXISTS
{
Text [ en-US ] = "Invalid name. Already in use for the selected scope.";
};
String STR_ERR_NAME_INVALID
{
Text [ en-US ] = "Invalid name. Only use letters, numbers and underscore.";
};
};
sc/source/ui/src/namedefdlg.src
Dosyayı görüntüle @
156e96d8
...
...
@@ -147,23 +147,9 @@ ModelessDialog RID_SCDLG_NAMES_DEFINE
Pos = MAP_APPFONT( 0, 95 );
Size = MAP_APPFONT(200, 3 );
};
String STR_INVALIDSYMBOL
{
Text [ en-US ] = "Invalid expression" ;
};
String STR_ERR_NAME_EXISTS
{
Text [ en-US ] = "Invalid name. Already in use for the selected scope.";
};
String STR_ERR_NAME_INVALID
{
Text [ en-US ] = "Invalid name. Only use letters, numbers and underscore.";
};
String STR_DEFAULT_INFO
{
Text [en-US] = "Define the name and range or formula expression.";
};
};
};};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/src/namedlg.src
Dosyayı görüntüle @
156e96d8
...
...
@@ -120,13 +120,13 @@ ModelessDialog RID_SCDLG_NAMES
HelpID = "sc:Edit:RID_SCDLG_NAMES:ED_ASSIGN";
Border = TRUE ;
Pos = MAP_APPFONT ( 50 , 155 ) ;
Size = MAP_APPFONT ( 15
5
, 12 ) ;
Size = MAP_APPFONT ( 15
2
, 12 ) ;
TabStop = TRUE ;
};
ImageButton RB_ASSIGN
{
HelpID = "sc:ImageButton:RID_SCDLG_NAMES:RB_ASSIGN";
Pos = MAP_APPFONT ( 20
5
, 155 ) ;
Pos = MAP_APPFONT ( 20
2
, 155 ) ;
Size = MAP_APPFONT ( 13 , 12 ) ;
TabStop = TRUE ;
QuickHelpText [ en-US ] = "Shrink" ;
...
...
@@ -176,16 +176,6 @@ ModelessDialog RID_SCDLG_NAMES
TabStop = TRUE ;
};
String STR_INVALIDSYMBOL
{
Text [ en-US ] = "Invalid expression" ;
};
String STR_MODIFYFAILED
{
Text [en-US ] = "Modifying range name failed" ;
};
FixedText FT_INFO
{
Pos = MAP_APPFONT( 5, 127 );
...
...
@@ -200,14 +190,6 @@ ModelessDialog RID_SCDLG_NAMES
Border = TRUE;
DialogControl = TRUE;
};
String STR_ERR_NAME_EXISTS
{
Text [ en-US ] = "Invalid name. Already in use for the selected scope.";
};
String STR_ERR_NAME_INVALID
{
Text [ en-US ] = "Invalid name. Only use letters, numbers and underscore and don't use names like cell addresses";
};
String STR_DEFAULT_INFO
{
Text [en-US] = "Select cells in the document to update the range.";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment