Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
de55d30b
Commit
de55d30b
authored
May 30, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings about locale
parent
afb39b1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
8 deletions
+31
-8
data/en.mse-locale/locale
data/en.mse-locale/locale
+16
-7
src/gui/packages_window.cpp
src/gui/packages_window.cpp
+5
-0
src/resource/common/expected_locale_keys
src/resource/common/expected_locale_keys
+10
-1
No files found.
data/en.mse-locale/locale
View file @
de55d30b
mse
version
:
0.3.6
mse
version
:
0.3.6
installer
group
:
locales
installer
group
:
translations
/
English
full
name
:
English
full
name
:
English
version
:
2007
-
09
-
23
version
:
2007
-
09
-
23
icon
:
usgb
.
png
icon
:
usgb
.
png
...
@@ -38,7 +38,7 @@ menu:
...
@@ -38,7 +38,7 @@ menu:
cards
:
&
Cards
cards
:
&
Cards
previous
card
:
Select
&
Previous
Card
PgUp
previous
card
:
Select
&
Previous
Card
PgUp
next
card
:
Select
&
Next
Card
PgDn
next
card
:
Select
&
Next
Card
PgDn
add
card
:
&
Add
Card
Ctrl
+
+
add
card
:
&
Add
Card
Ctrl
+
Enter
add
cards
:
Add
&
Multiple
Cards
...
add
cards
:
Add
&
Multiple
Cards
...
remove
card
:
&
Delete
Selected
Card
remove
card
:
&
Delete
Selected
Card
orientation
:
&
Orientation
orientation
:
&
Orientation
...
@@ -51,7 +51,7 @@ menu:
...
@@ -51,7 +51,7 @@ menu:
keywords
:
&
Keywords
keywords
:
&
Keywords
previous
keyword
:
Select
&
Previous
Keyword
PgUp
previous
keyword
:
Select
&
Previous
Keyword
PgUp
next
keyword
:
Select
&
Next
Keyword
PgDn
next
keyword
:
Select
&
Next
Keyword
PgDn
add
keyword
:
&
Add
Keyword
Ctrl
+
+
add
keyword
:
&
Add
Keyword
Ctrl
+
Enter
remove
keyword
:
&
Remove
Select
Keyword
Del
remove
keyword
:
&
Remove
Select
Keyword
Del
format
:
F
&
ormat
format
:
F
&
ormat
...
@@ -467,7 +467,6 @@ label:
...
@@ -467,7 +467,6 @@ label:
install
package
:
install
install
package
:
install
upgrade
package
:
upgrade
upgrade
package
:
upgrade
remove
package
:
remove
remove
package
:
remove
##############################################################
Buttons
/
checkboxes
/
choices
in
the
GUI
##############################################################
Buttons
/
checkboxes
/
choices
in
the
GUI
button
:
button
:
...
@@ -523,6 +522,9 @@ button:
...
@@ -523,6 +522,9 @@ button:
enabled
:
Enabled
enabled
:
Enabled
whole
word
:
Match
whole
word
only
whole
word
:
Match
whole
word
only
#
Old
style
update
checker
(
NOTE
:
this
will
be
removed
in
a
feature
version
)
close
:
&
Close
#
Packages
window
#
Packages
window
install
package
:
&
Install
install
package
:
&
Install
upgrade
package
:
&
Upgrade
upgrade
package
:
&
Upgrade
...
@@ -544,7 +546,7 @@ title:
...
@@ -544,7 +546,7 @@ title:
open
set
:
Open
Set
open
set
:
Open
Set
save
set
:
Save
Set
As
save
set
:
Save
Set
As
save
image
:
Save
Image
save
image
:
Save
Image
#
updates
available
:
Updates
Available
updates
available
:
Updates
Available
save
changes
:
Save
Changes
?
save
changes
:
Save
Changes
?
select
stylesheet
:
Select
Stylesheet
select
stylesheet
:
Select
Stylesheet
#
preferences
#
preferences
...
@@ -579,6 +581,10 @@ title:
...
@@ -579,6 +581,10 @@ title:
##############################################################
Action
(
undo
/
redo
)
names
##############################################################
Action
(
undo
/
redo
)
names
action
:
action
:
#
List
boxes
add
item
:
Add
%
s
remove
item
:
Remove
%
s
#
Text
editor
#
Text
editor
typing
:
Typing
typing
:
Typing
enter
:
Enter
enter
:
Enter
...
@@ -597,8 +603,6 @@ action:
...
@@ -597,8 +603,6 @@ action:
rotate
:
Rotate
%
s
rotate
:
Rotate
%
s
shear
:
Shear
%
s
shear
:
Shear
%
s
scale
:
Resize
%
s
scale
:
Resize
%
s
add
part
:
Add
%
s
remove
parts
:
Remove
%
s
duplicate
:
Duplicate
%
s
duplicate
:
Duplicate
%
s
reorder
parts
:
Reorder
reorder
parts
:
Reorder
change
combine
mode
:
Change
combine
mode
change
combine
mode
:
Change
combine
mode
...
@@ -732,14 +736,19 @@ type:
...
@@ -732,14 +736,19 @@ type:
nil: nothing
nil: nothing
# Object types
# Object types
package: package
locale: translation
game: game
game: game
set: set
set: set
stylesheet: stylesheet
stylesheet: stylesheet
export template:export template
export template:export template
card: card
card: card
cards: cards
field: field
field: field
style: style
style: style
value: value
value: value
keyword: keyword
keywords: keywords
# Symbol editor shapes
# Symbol editor shapes
shape: shape
shape: shape
...
...
src/gui/packages_window.cpp
View file @
de55d30b
...
@@ -608,6 +608,10 @@ void PackagesWindow::onOk(wxCommandEvent& ev) {
...
@@ -608,6 +608,10 @@ void PackagesWindow::onOk(wxCommandEvent& ev) {
// Done
// Done
// Continue event propagation into the dialog window so that it closes.
// Continue event propagation into the dialog window so that it closes.
ev
.
Skip
();
ev
.
Skip
();
//%% TODO: will we delete packages?
//%% If so, we need to warn with _ERROR_1_("remove packages") and _ERROR_2_("remove packages modified")
//%% We probably also refer to the type of package, _TYPE_("package"), for example _TYPE_("locale")
//%% NOTE: The above text is for the locale.pl program
}
}
void
PackagesWindow
::
onUpdateUI
(
wxUpdateUIEvent
&
ev
)
{
void
PackagesWindow
::
onUpdateUI
(
wxUpdateUIEvent
&
ev
)
{
...
@@ -625,6 +629,7 @@ void PackagesWindow::onUpdateUI(wxUpdateUIEvent& ev) {
...
@@ -625,6 +629,7 @@ void PackagesWindow::onUpdateUI(wxUpdateUIEvent& ev) {
ev
.
Enable
(
package
&&
package
->
can
(
PACKAGE_REMOVE
|
where
));
ev
.
Enable
(
package
&&
package
->
can
(
PACKAGE_REMOVE
|
where
));
break
;
break
;
}
}
// TODO: change labels to _BUTTON_("install group"), _BUTTON_("remove group"), _BUTTON_("upgrade group")
}
}
void
PackagesWindow
::
onIdle
(
wxIdleEvent
&
ev
)
{
void
PackagesWindow
::
onIdle
(
wxIdleEvent
&
ev
)
{
...
...
src/resource/common/expected_locale_keys
View file @
de55d30b
#
This
file
contains
the
keys
expected
to
be
in
MSE
locales
#
This
file
contains
the
keys
expected
to
be
in
MSE
locales
#
It
was
automatically
generated
by
tools
/
locale
/
locale
.
pl
#
It
was
automatically
generated
by
tools
/
locale
/
locale
.
pl
#
Generated
on
Sun
May
18
23
:
01
:
37
2008
#
Generated
on
Fri
May
30
22
:
05
:
19
2008
action
:
action
:
add
control
point
:
0
add
control
point
:
0
...
@@ -44,6 +44,7 @@ button:
...
@@ -44,6 +44,7 @@ button:
browse
:
0
browse
:
0
check
now
:
0
check
now
:
0
check
updates
:
0
check
updates
:
0
close
:
0
defaults
:
0
defaults
:
0
edit
symbol
:
0
edit
symbol
:
0
enabled
:
0
enabled
:
0
...
@@ -51,6 +52,7 @@ button:
...
@@ -51,6 +52,7 @@ button:
high
quality
:
0
high
quality
:
0
if
internet
connection
exists
:
0
if
internet
connection
exists
:
0
insert
parameter
:
0
insert
parameter
:
0
install
group
:
optional
,
0
install
package
:
0
install
package
:
0
keep
old
:
0
keep
old
:
0
last
opened
set
:
0
last
opened
set
:
0
...
@@ -63,6 +65,7 @@ button:
...
@@ -63,6 +65,7 @@ button:
open
set
:
0
open
set
:
0
overwrite
:
0
overwrite
:
0
refer
parameter
:
0
refer
parameter
:
0
remove
group
:
optional
,
0
remove
item
:
0
remove
item
:
0
remove
package
:
0
remove
package
:
0
select
:
optional
,
0
select
:
optional
,
0
...
@@ -72,6 +75,7 @@ button:
...
@@ -72,6 +75,7 @@ button:
show
editing
hints
:
0
show
editing
hints
:
0
show
lines
:
0
show
lines
:
0
symbol
gallery
:
optional
,
0
symbol
gallery
:
optional
,
0
upgrade
group
:
optional
,
0
upgrade
package
:
0
upgrade
package
:
0
use
auto
replace
:
0
use
auto
replace
:
0
use
custom
styling
options
:
0
use
custom
styling
options
:
0
...
@@ -107,6 +111,8 @@ error:
...
@@ -107,6 +111,8 @@ error:
package not found: 1
package not found: 1
package out of date: 3
package out of date: 3
package too new: 4
package too new: 4
remove packages: optional, 1
remove packages modified: optional, 2
stylesheet and set refer to different game: 0
stylesheet and set refer to different game: 0
successful install: optional, 2
successful install: optional, 2
unable to open output file: 0
unable to open output file: 0
...
@@ -400,6 +406,7 @@ title:
...
@@ -400,6 +406,7 @@ title:
untitled: 0
untitled: 0
update check: 0
update check: 0
updates: 0
updates: 0
updates available: 0
tool:
tool:
add symmetry: 0
add symmetry: 0
basic shapes: 0
basic shapes: 0
...
@@ -510,8 +517,10 @@ type:
...
@@ -510,8 +517,10 @@ type:
integer: 0
integer: 0
keyword: 0
keyword: 0
keywords: 0
keywords: 0
locale: optional, 0
nil: 0
nil: 0
object: 0
object: 0
package: optional, 0
pentagon: 0
pentagon: 0
point: 0
point: 0
points: 0
points: 0
...
...
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