trivial: fix cosmetic fallout from provider -> plugin

some code (such as libfwupd) still internally refers to provider,
but this will need to be more carefully massaged
This commit is contained in:
Mario Limonciello 2016-12-13 12:25:09 -06:00
parent 6a1cbc61b2
commit e781bb9b64
26 changed files with 59 additions and 59 deletions

View File

@ -354,7 +354,7 @@ echo "
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
optional providers
optional plugins
------------------
Colorhug: $has_colorhug
libelf: $has_libelf

View File

@ -98,7 +98,7 @@
<option>--force</option>
</term>
<listitem>
<para>Override provider warning.</para>
<para>Override plugin warning.</para>
</listitem>
</varlistentry>
</variablelist>

View File

@ -31,7 +31,7 @@
#define FWUPD_RESULT_KEY_DEVICE_MODIFIED "Modified" /* t */
#define FWUPD_RESULT_KEY_DEVICE_NAME "DisplayName" /* s */
#define FWUPD_RESULT_KEY_DEVICE_ID "DeviceID" /* s */
#define FWUPD_RESULT_KEY_DEVICE_PROVIDER "Provider" /* s */
#define FWUPD_RESULT_KEY_DEVICE_PLUGIN "Plugin" /* s */
#define FWUPD_RESULT_KEY_DEVICE_VERSION "Version" /* s */
#define FWUPD_RESULT_KEY_DEVICE_VERSION_LOWEST "VersionLowest" /* s */
#define FWUPD_RESULT_KEY_DEVICE_FLASHES_LEFT "FlashesLeft" /* u */

View File

@ -1438,7 +1438,7 @@ fwupd_result_to_data (FwupdResult *result, const gchar *type_string)
}
if (priv->device_provider != NULL) {
g_variant_builder_add (&builder, "{sv}",
FWUPD_RESULT_KEY_DEVICE_PROVIDER,
FWUPD_RESULT_KEY_DEVICE_PLUGIN,
g_variant_new_string (priv->device_provider));
}
if (priv->update_size != 0) {
@ -1599,7 +1599,7 @@ fwupd_result_from_kv (FwupdResult *result, const gchar *key, GVariant *value)
}
return;
}
if (g_strcmp0 (key, FWUPD_RESULT_KEY_DEVICE_PROVIDER) == 0) {
if (g_strcmp0 (key, FWUPD_RESULT_KEY_DEVICE_PLUGIN) == 0) {
fwupd_result_set_device_provider (result, g_variant_get_string (value, NULL));
return;
}
@ -1806,7 +1806,7 @@ fwupd_result_to_string (FwupdResult *result)
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_UNIQUE_ID, priv->unique_id);
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_DEVICE_ID, priv->device_id);
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_DEVICE_DESCRIPTION, priv->device_description);
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_DEVICE_PROVIDER, priv->device_provider);
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_DEVICE_PLUGIN, priv->device_provider);
fwupd_pad_kv_dfl (str, FWUPD_RESULT_KEY_DEVICE_FLAGS, priv->device_flags);
fwupd_pad_kv_str (str, FWUPD_RESULT_KEY_DEVICE_CHECKSUM, priv->device_checksum);
if (priv->device_checksum != NULL)

View File

@ -19,8 +19,8 @@ efivar.
If you don't want or need this functionality you can use the
`--disable-dell` option.
# Devices powered by the Dell Provider
The Dell provider creates device nodes for PC's that have switchable TPMs as
# Devices powered by the Dell Plugin
The Dell plugin creates device nodes for PC's that have switchable TPMs as
well as the Type-C docks (WD15/TB15).
These device nodes can be flashed using UEFI capsule (and fwupdate) but don't
@ -42,7 +42,7 @@ Example (from a *Precision 5510*):
Precision 5510 TPM 1.2
Guid: b2088ba1-51ae-514e-8f0a-64756c6e4ffc
DeviceID: DELL-b2088ba1-51ae-514e-8f0a-64756c6e4ffclu
Provider: Dell
Plugin: dell
Flags: internal|allow-offline|require-ac
Version: 5.81.0.0
Created: 2016-07-19
@ -50,7 +50,7 @@ Precision 5510 TPM 1.2
Precision 5510 TPM 2.0
Guid: 475d9bbd-1b7a-554e-8ca7-54985174a962
DeviceID: DELL-475d9bbd-1b7a-554e-8ca7-54985174a962lu
Provider: Dell
Plugin: dell
Flags: internal|require-ac|locked
Created: 2016-07-19
```
@ -75,7 +75,7 @@ If the unlock process was successful, then the devices will be modified:
Precision 5510 TPM 1.2
Guid: b2088ba1-51ae-514e-8f0a-64756c6e4ffc
DeviceID: DELL-b2088ba1-51ae-514e-8f0a-64756c6e4ffclu
Provider: Dell
Plugin: dell
Flags: internal|require-ac
Version: 5.81.0.0
Created: 2016-07-19
@ -83,7 +83,7 @@ Precision 5510 TPM 1.2
Precision 5510 TPM 2.0
Guid: 475d9bbd-1b7a-554e-8ca7-54985174a962
DeviceID: DELL-475d9bbd-1b7a-554e-8ca7-54985174a962lu
Provider: Dell
Plugin: dell
Flags: internal|allow-offline|require-ac
Version: 0.0.0.0
Created: 2016-07-19
@ -104,7 +104,7 @@ new mode.
Precision 5510 TPM 2.0
Guid: 475d9bbd-1b7a-554e-8ca7-54985174a962
DeviceID: DELL-475d9bbd-1b7a-554e-8ca7-54985174a962lu
Provider: Dell
Plugin: dell
Flags: internal|allow-offline|require-ac
Version: 1.3.0.1
Created: 2016-07-20
@ -112,7 +112,7 @@ Precision 5510 TPM 2.0
Precision 5510 TPM 1.2
Guid: b2088ba1-51ae-514e-8f0a-64756c6e4ffc
DeviceID: DELL-b2088ba1-51ae-514e-8f0a-64756c6e4ffclu
Provider: Dell
Plugin: dell
Flags: internal|require-ac|locked
Created: 2016-07-20
```
@ -129,7 +129,7 @@ For example the WD15 will display these components:
Dell WD15 Port Controller 1
Guid: 8ba2b709-6f97-47fc-b7e7-6a87b578fe25
DeviceID: DELL-8ba2b709-6f97-47fc-b7e7-6a87b578fe25lu
Provider: Dell
Plugin: dell
Flags: allow-offline|require-ac
Version: 0.1.1.8
Created: 2016-07-19
@ -137,14 +137,14 @@ Dell WD15 Port Controller 1
Dell WD15 MST Hub
Guid: 7bee2a28-b909-540d-9fa9-6a4c9611d992
DeviceID: DELL-7bee2a28-b909-540d-9fa9-6a4c9611d992lu
Provider: Dell
Plugin: dell
Flags: require-ac
Created: 2016-07-19
Dell WD15
Guid: e7ca1f36-bf73-4574-afe6-a4ccacabf479
DeviceID: DELL-e7ca1f36-bf73-4574-afe6-a4ccacabf479lu
Provider: Dell
Plugin: dell
Flags: allow-offline|require-ac
Version: 0.0.0.67
Created: 2016-07-19

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nebylo nalezeno žádné zařízení schopné aktualizace firmwaru"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Zkouší se znova jako aktualizace off-line"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Povolit ponížení verze firmwaru"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -312,7 +312,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Es wurde keine Hardware erkannt, deren Firmware aktualisiert werden kann"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Erneuter Versuch als Offline-Aktualisierung"
@ -396,7 +396,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Einspielen niedrigerer Firmwareversionen zulassen (Downgrade)"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "No hardware detected with firmware update capability"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Retrying as an offline update"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Allow downgrading firmware versions"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Aucun matériel ayant des capacités de mise à jour du micrologiciel n'a été détecté"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -312,7 +312,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "לא אותרה חומרה בעלת יכולת עדכון קושחה"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -396,7 +396,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "अपडेट की क्षमता वाला हार्डवेयर उपलब्ध नहीं "
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -312,7 +312,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nema otkrivenog hardvera s mogućnosti nadopune frimvera"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Ponovni pokušaj nadopune bez pristupa internetu"
@ -396,7 +396,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Dopusti vraćanje starije inačice frimvera"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Zanemari upozorenja proizvođača"
#. TRANSLATORS: command description

View File

@ -313,7 +313,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nem észlelhető firmware frissítési képességgel rendelkező hardver"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Újrapróbálás kapcsolat nélküli frissítésként"
@ -397,7 +397,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Firmware verziók visszafejlesztésének engedélyezése"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Szolgáltatói figyelmeztetés felülbírálása"
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Non è stato rilevato nessun hardware con capacità di aggiornamento del firmware"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Ritentare con un aggiornamento fuori rete"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Consente di tornare alle precedenti versioni del firmware"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Er is geen hardware aangetroffen die in staat is om firmware bij te kunnen werken"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Bezig met opnieuw proberen als een offline update"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Afwaarderen van oude firmware-versies toestaan"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Providerwaarschuwing negeren"
#. TRANSLATORS: command description

View File

@ -312,7 +312,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Cap de material amb de capacitats de mesa a jorn del micrologicial es pas estat detectat"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -396,7 +396,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nie wykryto sprzętu z możliwością aktualizacji jego oprogramowania"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Próbowanie ponownie jako aktualizacja w trybie offline"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Umożliwia instalowanie poprzednich wersji oprogramowania sprzętowego"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Ignoruje ostrzeżenie dostawcy"
#. TRANSLATORS: command description

View File

@ -313,7 +313,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nenhum periférico com capacidade de atualização de firmware foi detectado"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Tentando novamente como atualização offline"
@ -397,7 +397,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Permitir reverter versões de firmware"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Не обнаружено оборудования с возможностью обновления микропрограммы"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Повторная попытка как в режиме автономного обновления"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Разрешить понижение версий микропрограмм"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Игнорировать предупреждения поставщика"
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Nezistil sa žiadny hardvér s možnosťou aktualizácie firmvéru"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Skúša sa znovu ako aktualizácia bez pripojenia"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Umožní zníženie verzií firmvéru"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Nahradí upozornenie poskytovateľa"
#. TRANSLATORS: command description

View File

@ -312,7 +312,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Нема хардвера којем се може ажурирати фирмвер"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Поново покушавам преко ванмрежног ажурирања"
@ -396,7 +396,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Дозволи уназађивање издања фирмвера"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Ingen uppdateringsbar hårdvara upptäcktes"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr ""
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr ""
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr ""
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr ""
#. TRANSLATORS: command description

View File

@ -311,7 +311,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "Не виявлено обладнання із передбаченою можливістю оновлення мікропрограми"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "Повторна спроба у режимі автономного оновлення"
@ -395,7 +395,7 @@ msgid "Allow downgrading firmware versions"
msgstr "Дозволити зниження версій мікропрограми"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "Не зважати на попередження надавача"
#. TRANSLATORS: command description

View File

@ -313,7 +313,7 @@ msgstr ""
msgid "No hardware detected with firmware update capability"
msgstr "没有检测到支持更新固件的硬件"
#. TRANSLATOR: the provider only supports offline
#. TRANSLATOR: the plugin only supports offline
msgid "Retrying as an offline update"
msgstr "作为脱机更新重试"
@ -397,7 +397,7 @@ msgid "Allow downgrading firmware versions"
msgstr "允许降级固件版本"
#. TRANSLATORS: command line option
msgid "Override provider warning"
msgid "Override plugin warning"
msgstr "替代提供商警告"
#. TRANSLATORS: command description

View File

@ -314,7 +314,7 @@ fu_util_install_with_fallback (FuUtilPrivate *priv, const gchar *id,
return FALSE;
}
/* TRANSLATOR: the provider only supports offline */
/* TRANSLATOR: the plugin only supports offline */
g_print ("%s...\n", _("Retrying as an offline update"));
priv->flags |= FWUPD_INSTALL_FLAG_OFFLINE;
return fwupd_client_install (priv->client, id, filename, priv->flags,
@ -1151,7 +1151,7 @@ main (int argc, char *argv[])
_("Allow downgrading firmware versions"), NULL },
{ "force", '\0', 0, G_OPTION_ARG_NONE, &force,
/* TRANSLATORS: command line option */
_("Override provider warning"), NULL },
_("Override plugin warning"), NULL },
{ NULL}
};