Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
a6272c9b
Commit
a6272c9b
authored
15 years ago
by
Emmanuel Christophe
Browse files
Options
Downloads
Patches
Plain Diff
ENH: internationalization working with macro
parent
e6ec9c1b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ViewerManager/View/otbImageViewerManagerViewGroup.fl
+4
-4
4 additions, 4 deletions
ViewerManager/View/otbImageViewerManagerViewGroup.fl
ViewerManager/otbImageViewerManager.cxx
+3
-5
3 additions, 5 deletions
ViewerManager/otbImageViewerManager.cxx
with
7 additions
and
9 deletions
ViewerManager/View/otbImageViewerManagerViewGroup.fl
+
4
−
4
View file @
a6272c9b
# data file for the Fltk User Interface Designer (fluid)
version 1.0109
i18n_type 1
i18n_include
<libintl
.h
>
i18n_function
gettext
i18n_include
"otbI18n
.h
"
i18n_function
otbGetTextMacro
header_name {.h}
code_name {.cxx}
class ImageViewerManagerViewGroup {open
...
...
@@ -12,7 +12,7 @@ class ImageViewerManagerViewGroup {open
Fl_Window guiMainWindow {
label otbImageViewerManagerView
callback {this->Quit()} open selected
xywh {
666 7
6 610 460} type Double box UP_BOX color 52 selection_color 7 labelcolor 187 resizable visible
xywh {
160 10
6 610 460} type Double box UP_BOX color 52 selection_color 7 labelcolor 187 resizable visible
} {
Fl_Text_Display guiViewerInformation {
label Information
...
...
@@ -171,7 +171,7 @@ class ImageViewerManagerViewGroup {open
}
Fl_Window guiLinkSetupWindow {
label {Link Images} open
xywh {
716 336
560 220} type Double box UP_BOX color 52 selection_color 7 labelcolor 187 resizable visible
xywh {
397 582
560 220} type Double box UP_BOX color 52 selection_color 7 labelcolor 187 resizable visible
} {
Fl_Input guiLinkXOffset {
label {X offset}
...
...
This diff is collapsed.
Click to expand it.
ViewerManager/otbImageViewerManager.cxx
+
3
−
5
View file @
a6272c9b
...
...
@@ -21,14 +21,12 @@ PURPOSE. See the above copyright notices for more information.
#include
"otbCommandLineArgumentParser.h"
#include
"otbMsgReporter.h"
#include
<libintl.h>
#include
"otbI18n.h"
int
main
(
int
argc
,
char
*
argv
[])
{
setlocale
(
LC_ALL
,
""
);
bindtextdomain
(
"messages"
,
"/home/christop/OTB/OTB-Binary-Applications-Debug/locale"
);
textdomain
(
"messages"
);
otbI18nMacro
();
// Parse command line parameters
// typedef otb::CommandLineArgumentParser ParserType;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment