diff --git a/!NetSurf/Resources/de/Messages b/!NetSurf/Resources/de/Messages index ad7bd2eab..3a63fdfa7 100644 --- a/!NetSurf/Resources/de/Messages +++ b/!NetSurf/Resources/de/Messages @@ -284,6 +284,15 @@ PrintSheetFilled:Druckseite PrintSheetsFilled:Druckseiten +# Find text user interface tokens +# =============================== +# +# This section contains tokens which are used in the find text +# dialog box. +# +NotFound:Nicht gefunden + + # Content # ======= # diff --git a/!NetSurf/Resources/en/Messages b/!NetSurf/Resources/en/Messages index 8a2d38c05..4c98fca7b 100644 --- a/!NetSurf/Resources/en/Messages +++ b/!NetSurf/Resources/en/Messages @@ -284,6 +284,15 @@ PrintSheetFilled:sheet is filled PrintSheetsFilled:sheets are filled +# Find text user interface tokens +# =============================== +# +# This section contains tokens which are used in the find text +# dialog box. +# +NotFound:Not found + + # Content # ======= # diff --git a/!NetSurf/Resources/fr/Messages b/!NetSurf/Resources/fr/Messages index 83197fcc4..697a037b7 100644 --- a/!NetSurf/Resources/fr/Messages +++ b/!NetSurf/Resources/fr/Messages @@ -284,6 +284,15 @@ PrintSheetFilled:feuille remplie PrintSheetsFilled:feuilles remplies +# Find text user interface tokens +# =============================== +# +# This section contains tokens which are used in the find text +# dialog box. +# +NotFound:Non trouvé + + # Content # ======= # diff --git a/!NetSurf/Resources/nl/Messages b/!NetSurf/Resources/nl/Messages index 674a957d3..08bfbf309 100644 --- a/!NetSurf/Resources/nl/Messages +++ b/!NetSurf/Resources/nl/Messages @@ -285,6 +285,15 @@ PrintSheetFilled:pagina PrintSheetsFilled:pagina's +# Find text user interface tokens +# =============================== +# +# This section contains tokens which are used in the find text +# dialog box. +# +NotFound:Vinden niet + + # Content # ======= # diff --git a/riscos/search.c b/riscos/search.c index 1efa976ac..46f024f23 100644 --- a/riscos/search.c +++ b/riscos/search.c @@ -27,6 +27,7 @@ #include "netsurf/riscos/menus.h" #include "netsurf/riscos/wimp.h" #include "netsurf/utils/log.h" +#include "netsurf/utils/messages.h" #include "netsurf/utils/utils.h" @@ -569,13 +570,8 @@ bool gui_search_term_highlighted(struct gui_window *g, struct box *box, void show_status(bool found) { - os_error *error = xwimp_set_icon_state(dialog_search, ICON_SEARCH_STATUS, - found ? wimp_ICON_DELETED : 0, wimp_ICON_DELETED); - if (error) { - LOG(("xwimp_set_icon_state: 0x%x: %s", - error->errnum, error->errmess)); - warn_user("WimpError", error->errmess); - } + ro_gui_set_icon_string(dialog_search, ICON_SEARCH_STATUS, + found ? "" : messages_get("Notfound")); } #endif