a11y-status: Use single quotes for non-translatable strings

Fix the usage of single vs double quotes according to our coding
conventions.
This commit is contained in:
Florian Müllner 2010-11-30 18:58:05 +01:00
parent 7ce65e421b
commit d7cc82909a

View File

@ -16,18 +16,18 @@ const PopupMenu = imports.ui.popupMenu;
const Gettext = imports.gettext.domain('gnome-shell'); const Gettext = imports.gettext.domain('gnome-shell');
const _ = Gettext.gettext; const _ = Gettext.gettext;
const A11Y_SCHEMA = "org.gnome.desktop.a11y.keyboard"; const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard';
const KEY_STICKY_KEYS_ENABLED = "stickykeys-enable"; const KEY_STICKY_KEYS_ENABLED = 'stickykeys-enable';
const KEY_BOUNCE_KEYS_ENABLED = "bouncekeys-enable"; const KEY_BOUNCE_KEYS_ENABLED = 'bouncekeys-enable';
const KEY_SLOW_KEYS_ENABLED = "slowkeys-enable"; const KEY_SLOW_KEYS_ENABLED = 'slowkeys-enable';
const KEY_MOUSE_KEYS_ENABLED = "mousekeys-enable"; const KEY_MOUSE_KEYS_ENABLED = 'mousekeys-enable';
const MAGNIFIER_SCHEMA = 'org.gnome.accessibility.magnifier'; const MAGNIFIER_SCHEMA = 'org.gnome.accessibility.magnifier';
const AT_SCREEN_KEYBOARD_SCHEMA = "org.gnome.desktop.default-applications.at.mobility"; const AT_SCREEN_KEYBOARD_SCHEMA = 'org.gnome.desktop.default-applications.at.mobility';
const AT_SCREEN_READER_SCHEMA = "org.gnome.desktop.default-applications.at.visual"; const AT_SCREEN_READER_SCHEMA = 'org.gnome.desktop.default-applications.at.visual';
const XSETTINGS_SCHEMA = "org.gnome.settings-daemon.plugins.xsettings"; const XSETTINGS_SCHEMA = 'org.gnome.settings-daemon.plugins.xsettings';
const KEY_DPI = "dpi"; const KEY_DPI = 'dpi';
const DPI_LOW_REASONABLE_VALUE = 50; const DPI_LOW_REASONABLE_VALUE = 50;
const DPI_HIGH_REASONABLE_VALUE = 500; const DPI_HIGH_REASONABLE_VALUE = 500;
@ -37,14 +37,14 @@ const DPI_FACTOR_LARGER = 1.5;
const DPI_FACTOR_LARGEST = 2.0; const DPI_FACTOR_LARGEST = 2.0;
const DPI_DEFAULT = 96; const DPI_DEFAULT = 96;
const KEY_META_DIR = "/apps/metacity/general"; const KEY_META_DIR = '/apps/metacity/general';
const KEY_VISUAL_BELL = KEY_META_DIR + "/visual_bell"; const KEY_VISUAL_BELL = KEY_META_DIR + '/visual_bell';
const DESKTOP_INTERFACE_SCHEMA = "org.gnome.desktop.interface"; const DESKTOP_INTERFACE_SCHEMA = 'org.gnome.desktop.interface';
const KEY_GTK_THEME = "gtk-theme"; const KEY_GTK_THEME = 'gtk-theme';
const KEY_ICON_THEME = "icon-theme"; const KEY_ICON_THEME = 'icon-theme';
const HIGH_CONTRAST_THEME = "HighContrast"; const HIGH_CONTRAST_THEME = 'HighContrast';
function getDPIFromX() { function getDPIFromX() {
let screen = global.get_gdk_screen(); let screen = global.get_gdk_screen();