Commit b1fde290 authored by Philip Withnall's avatar Philip Withnall

internationalization: Miscellaneous typo fixes

Signed-off-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: default avatarMathieu Duponchelle <mathieu.duponchelle@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D4031
parent 4ac45c5b
......@@ -88,7 +88,7 @@ that IBus is already supported by most modern toolkits, has a very
active upstream community and the cost of developing input-methods with
IBus is lower than with other frameworks. Currently, IBus is the default
input method framework in Ubuntu and Fedora, and GNOME is considering
dropping support for other frameworks input-method.
dropping support for other frameworks’ input methods.
### Text display
......@@ -528,7 +528,7 @@ There are three main ways of packaging translations:
files for a single component (for example gnome-shell in Ubuntu).
- package the MO files for a single component (usually a big one such
as LibreOffice or KDE) and a specific language in a separate package
(for example (firefox-locale-de] in Ubuntu).
(for example, [firefox-locale-de] in Ubuntu).
- package several MO files corresponding to several components for one
language (for example language-pack-cs-base in Ubuntu).
......@@ -622,7 +622,7 @@ changes.
These snippets show how such a solution could be implemented (for the
single process variant):
```
``` c
/* This code belongs to the UI for changing the language, for simplicity we assume that there's a button for each language */
static gboolean
german_button_event_cb (ClutterActor *actor,
......@@ -638,7 +638,7 @@ static void
example_bluetooth_settings_dialog_init (ExampleBluetoothSettingsDialog *self)
{
ExampleSettingsManager *settings_manager = example_settings_manager_get ();
g_signal_connect (G_OBJECT (settings_manager), "language-changed",_language_changed_cb, self);
g_signal_connect (G_OBJECT (settings_manager), "language-changed", _language_changed_cb, self);
_retranslate_ui (self);
}
......@@ -652,7 +652,7 @@ _language_changed_cb (ExampleSettingsManager *settings_manager,
static void
_retranslate_ui (ExampleBluetoothSettingsDialog *self)
{
clutter_text_set_text (self->activated\_label, _("Activated"));
clutter_text_set_text (self->activated_label, _("Activated"));
clutter_text_set_text (self->visibility_label, _("Visibility"));
}
```
......@@ -662,7 +662,7 @@ _retranslate_ui (ExampleBluetoothSettingsDialog *self)
To reduce the amount of work that most application authors will have
when making their applications aware of runtime locale switches, we
recommend that the SDK API includes a subclass of `ClutterText` (let's
call it for now `ExampleText`) that reacts to locale changes.
call it `ExampleText`) that reacts to locale changes.
`ExampleText` would accept a translatable ID via the function
`example_text_set_text()`, would display its translation based on the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment