diff options
Diffstat (limited to 'WebCore/platform/gtk/LocalizedStringsGtk.cpp')
-rw-r--r-- | WebCore/platform/gtk/LocalizedStringsGtk.cpp | 57 |
1 files changed, 55 insertions, 2 deletions
diff --git a/WebCore/platform/gtk/LocalizedStringsGtk.cpp b/WebCore/platform/gtk/LocalizedStringsGtk.cpp index 041cd83..52d4f5f 100644 --- a/WebCore/platform/gtk/LocalizedStringsGtk.cpp +++ b/WebCore/platform/gtk/LocalizedStringsGtk.cpp @@ -3,7 +3,7 @@ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com * Copyright (C) 2007 Holger Hans Peter Freyther * Copyright (C) 2008 Christian Dywan <christian@imendio.com> - * All rights reserved. + * Copyright (C) 2008 Nuanti Ltd. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,6 +30,7 @@ #include "config.h" #include "LocalizedStrings.h" +#include "NotImplemented.h" #include "PlatformString.h" #include <gtk/gtk.h> @@ -124,7 +125,7 @@ String contextMenuItemTagDelete() String contextMenuItemTagSelectAll() { -#if GLIB_CHECK_VERSION(2,10,0) +#if GTK_CHECK_VERSION(2,10,0) static String stockLabel = String::fromUTF8(gtkStockLabel(GTK_STOCK_SELECT_ALL)); #else static String stockLabel = String::fromUTF8(_("Select _All")); @@ -285,9 +286,61 @@ String searchMenuClearRecentSearchesText() return String::fromUTF8(_("_Clear recent searches")); } +String AXDefinitionListTermText() +{ + return String::fromUTF8(_("term")); +} + +String AXDefinitionListDefinitionText() +{ + return String::fromUTF8(_("definition")); +} + +String AXButtonActionVerb() +{ + return String::fromUTF8(_("press")); +} + +String AXRadioButtonActionVerb() +{ + return String::fromUTF8(_("select")); +} + +String AXTextFieldActionVerb() +{ + return String::fromUTF8(_("activate")); +} + +String AXCheckedCheckBoxActionVerb() +{ + return String::fromUTF8(_("uncheck")); +} + +String AXUncheckedCheckBoxActionVerb() +{ + return String::fromUTF8(_("check")); +} + +String AXLinkActionVerb() +{ + return String::fromUTF8(_("jump")); +} + +String multipleFileUploadText(unsigned numberOfFiles) +{ + // FIXME: If this file gets localized, this should really be localized as one string with a wildcard for the number. + return String::number(numberOfFiles) + String::fromUTF8(_(" files")); +} + String unknownFileSizeText() { return String::fromUTF8(_("Unknown")); } +String imageTitle(const String& filename, const IntSize& size) +{ + notImplemented(); + return String(); +} + } |