Modify

Opened 6 years ago

Closed 6 years ago

#17526 closed enhancement (fixed)

[Patch] Search action dialog: New tooltip and more translations

Reported by: Hb--- Owned by: team
Priority: normal Milestone: 19.05
Component: Core Version:
Keywords: i18n english tooltip search Cc:

Description

The SearchAction dialog needs:

  1. A new tooltip "Add a button with this search expression to the toolbar." for the "add toolbar button" option.
  1. A better label "Options" for the option group currently titled as "Additional settings".
  1. A better label "Hints" for the central group currently titled as "Search hints".
  1. Translatable strings in the tooltip examples.

I18n effects are small, because "Options" and "Hints" are already translated. Dropped are "Additional settings" and "Search hints" as strings. New are all tooltip texts.

Attachments (6)

17526patch.diff (4.9 KB ) - added by Hb--- 6 years ago.
untested patch
17526patch-ver2.diff (7.0 KB ) - added by Hb--- 6 years ago.
untested patch for gui/dialogs/SearchDialog.java
17526patch-ver3-part-labels.patch (2.9 KB ) - added by Hb--- 6 years ago.
Third version of patch, part: Labels
17526SearchDialog_ver3-examples.patch (3.4 KB ) - added by Hb--- 6 years ago.
Third version of patch, second part: Examples
17526SearchDialog_ver3-tooltip.patch (1.2 KB ) - added by Hb--- 6 years ago.
Third version of patch, third part: New Tooltip
SearchDialog-added-Context.patch (4.1 KB ) - added by Hb--- 6 years ago.
This additional patch provides a "search string example" translation context to all new strings. The context can help to avoid translating key words.

Download all attachments as: .zip

Change History (17)

by Hb---, 6 years ago

Attachment: 17526patch.diff added

untested patch

comment:1 by Don-vip, 6 years ago

Keywords: tooltip search added
Milestone: 19.03
Summary: Search action dialog: New tooltip and more translations[Patch] Search action dialog: New tooltip and more translations

comment:2 by Don-vip, 6 years ago

The patch doesn't apply, can you please do it again?

by Hb---, 6 years ago

Attachment: 17526patch-ver2.diff added

untested patch for gui/dialogs/SearchDialog.java

comment:3 by Don-vip, 6 years ago

Milestone: 19.0319.04

comment:4 by Don-vip, 6 years ago

Milestone: 19.0419.05

comment:5 by Don-vip, 6 years ago

the patch applies but doesn't compile, please test.

comment:6 by Don-vip, 6 years ago

Owner: changed from team to Hb---
Status: newneedinfo

by Hb---, 6 years ago

Third version of patch, part: Labels

by Hb---, 6 years ago

Third version of patch, second part: Examples

by Hb---, 6 years ago

Third version of patch, third part: New Tooltip

comment:7 by Hb---, 6 years ago

Owner: changed from Hb--- to team
Status: needinfonew

The third version of the patch is split into three consecutive parts for easier testing.

comment:8 by Don-vip, 6 years ago

Thanks. Note: It's not easier. A single, proper SVN patch is the easiest for me (less work).

comment:9 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 15080/josm:

fix #17526 - Search action dialog: New tooltip and more translations (patch by Hb---)

comment:10 by stoecker, 6 years ago

Resolution: fixed
Status: closedreopened

I'm not sure all these changes are a good idea. Especially it is a bad idea to translate examples. The translators will e.g. translate "user:anonymous" with "nutzer:anonym" and that is simply wrong!

Last edited 6 years ago by stoecker (previous) (diff)

by Hb---, 6 years ago

This additional patch provides a "search string example" translation context to all new strings. The context can help to avoid translating key words.

comment:11 by Don-vip, 6 years ago

Resolution: fixed
Status: reopenedclosed

In 15090/josm:

fix #17526 - provide a "search string example" translation context to all new strings. The context can help to avoid translating key words. (patch by Hb---)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.