Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfce4-dict
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Apps
xfce4-dict
Commits
716d5830
Commit
716d5830
authored
16 years ago
by
Enrico Tröger
Browse files
Options
Downloads
Patches
Plain Diff
Fix two other tranlation related string problems.
(Old svn revision: 4654)
parent
4e4259ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/prefs.c
+1
-1
1 addition, 1 deletion
lib/prefs.c
src/xfce4-dict.c
+5
-6
5 additions, 6 deletions
src/xfce4-dict.c
with
6 additions
and
7 deletions
lib/prefs.c
+
1
−
1
View file @
716d5830
...
@@ -188,7 +188,7 @@ static GtkWidget *create_web_dicts_table(GtkWidget *entry)
...
@@ -188,7 +188,7 @@ static GtkWidget *create_web_dicts_table(GtkWidget *entry)
for
(
i
=
0
;
web_dicts
[
i
].
label
!=
NULL
;
i
++
)
for
(
i
=
0
;
web_dicts
[
i
].
label
!=
NULL
;
i
++
)
{
{
offset
=
i
%
2
;
offset
=
i
%
2
;
button
=
gtk_button_new_with_label
(
web_dicts
[
i
].
label
);
button
=
gtk_button_new_with_label
(
_
(
web_dicts
[
i
].
label
)
)
;
g_signal_connect
(
button
,
"clicked"
,
G_CALLBACK
(
web_dict_button_clicked
),
web_dicts
[
i
].
url
);
g_signal_connect
(
button
,
"clicked"
,
G_CALLBACK
(
web_dict_button_clicked
),
web_dicts
[
i
].
url
);
g_object_set_data
(
G_OBJECT
(
button
),
"web_entry"
,
entry
);
g_object_set_data
(
G_OBJECT
(
button
),
"web_entry"
,
entry
);
gtk_widget_show
(
button
);
gtk_widget_show
(
button
);
...
...
This diff is collapsed.
Click to expand it.
src/xfce4-dict.c
+
5
−
6
View file @
716d5830
...
@@ -18,18 +18,17 @@
...
@@ -18,18 +18,17 @@
*/
*/
#ifdef HAVE_CONFIG_H
#include
<config.h>
#endif
#include
<stdio.h>
#include
<stdio.h>
#include
<gtk/gtk.h>
#include
<gtk/gtk.h>
#include
<glib/gi18n.h>
#include
<string.h>
#include
<string.h>
#include
<stdlib.h>
#include
<stdlib.h>
#include
<libxfce4util/libxfce4util.h>
#include
<libxfce4util/libxfce4util.h>
#ifdef HAVE_CONFIG_H
#include
<config.h>
#endif
#if HAVE_LOCALE_H
#if HAVE_LOCALE_H
# include <locale.h>
# include <locale.h>
#endif
#endif
...
@@ -52,7 +51,7 @@ static GOptionEntry cli_options[] =
...
@@ -52,7 +51,7 @@ static GOptionEntry cli_options[] =
{
{
#if GLIB_CHECK_VERSION(2,14,0)
#if GLIB_CHECK_VERSION(2,14,0)
/* Note for translators: run xfce4-dict --help and copy the help text for "--help" into this one */
/* Note for translators: run xfce4-dict --help and copy the help text for "--help" into this one */
{
"help"
,
'h'
,
0
,
G_OPTION_ARG_NONE
,
&
show_help
,
_
(
"Show help options"
),
NULL
},
{
"help"
,
'h'
,
0
,
G_OPTION_ARG_NONE
,
&
show_help
,
N
_
(
"Show help options"
),
NULL
},
#endif
#endif
{
"dict"
,
'd'
,
0
,
G_OPTION_ARG_NONE
,
&
mode_dict
,
N_
(
"Search the given text using a Dict server(RFC 2229)"
),
NULL
},
{
"dict"
,
'd'
,
0
,
G_OPTION_ARG_NONE
,
&
mode_dict
,
N_
(
"Search the given text using a Dict server(RFC 2229)"
),
NULL
},
{
"web"
,
'w'
,
0
,
G_OPTION_ARG_NONE
,
&
mode_web
,
N_
(
"Search the given text using a web-based search engine"
),
NULL
},
{
"web"
,
'w'
,
0
,
G_OPTION_ARG_NONE
,
&
mode_web
,
N_
(
"Search the given text using a web-based search engine"
),
NULL
},
...
...
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