[pbs-devel] [PATCH backup 4/5] fix typos in strings

Lukas Wagner l.wagner at proxmox.com
Wed Aug 7 12:52:48 CEST 2024



On  2024-08-07 12:32, Maximiliano Sandoval wrote:
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
>  docs/lto-barcode/page-calibration.js | 8 ++++----
>  pbs-api-types/src/ldap.rs            | 2 +-
>  src/api2/node/tasks.rs               | 2 +-
>  3 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/docs/lto-barcode/page-calibration.js b/docs/lto-barcode/page-calibration.js
> index 3c7fed82..54512a9f 100644
> --- a/docs/lto-barcode/page-calibration.js
> +++ b/docs/lto-barcode/page-calibration.js
> @@ -108,7 +108,7 @@ Ext.define('PageCalibration', {
>  		    xtype: 'numberfield',
>  		    value: 'a4',
>  		    name: 's_x',
> -		    fieldLabel: 'Meassured Start Offset Sx (mm)',
> +		    fieldLabel: 'Measured Start Offset Sx (mm)',

I wonder, shouldn't these use gettext?

>  		    allowBlank: false,
>  		    labelWidth: 200,
>  		},
> @@ -116,7 +116,7 @@ Ext.define('PageCalibration', {
>  		    xtype: 'numberfield',
>  		    value: 'a4',
>  		    name: 'd_x',
> -		    fieldLabel: 'Meassured Length Dx (mm)',
> +		    fieldLabel: 'Measured Length Dx (mm)',
>  		    allowBlank: false,
>  		    labelWidth: 200,
>  		},
> @@ -124,7 +124,7 @@ Ext.define('PageCalibration', {
>  		    xtype: 'numberfield',
>  		    value: 'a4',
>  		    name: 's_y',
> -		    fieldLabel: 'Meassured Start Offset Sy (mm)',
> +		    fieldLabel: 'Measured Start Offset Sy (mm)',
>  		    allowBlank: false,
>  		    labelWidth: 200,
>  		},
> @@ -132,7 +132,7 @@ Ext.define('PageCalibration', {
>  		    xtype: 'numberfield',
>  		    value: 'a4',
>  		    name: 'd_y',
> -		    fieldLabel: 'Meassured Length Dy (mm)',
> +		    fieldLabel: 'Measured Length Dy (mm)',
>  		    allowBlank: false,
>  		    labelWidth: 200,
>  		},
> diff --git a/pbs-api-types/src/ldap.rs b/pbs-api-types/src/ldap.rs
> index f3df90a0..a3e0407b 100644
> --- a/pbs-api-types/src/ldap.rs
> +++ b/pbs-api-types/src/ldap.rs
> @@ -149,7 +149,7 @@ pub const SYNC_DEFAULTS_STRING_SCHEMA: Schema = StringSchema::new("sync defaults
>      .schema();
>  
>  const REMOVE_VANISHED_DESCRIPTION: &str =
> -    "A semicolon-seperated list of things to remove when they or the user \
> +    "A semicolon-separated list of things to remove when they or the user \
>  vanishes during user synchronization. The following values are possible: ``entry`` removes the \
>  user when not returned from the sync; ``properties`` removes any  \
>  properties on existing user that do not appear in the source. \
> diff --git a/src/api2/node/tasks.rs b/src/api2/node/tasks.rs
> index 8f08d3af..069613ad 100644
> --- a/src/api2/node/tasks.rs
> +++ b/src/api2/node/tasks.rs
> @@ -252,7 +252,7 @@ fn into_task_list_item(info: proxmox_rest_server::TaskListInfo) -> pbs_api_types
>              exitstatus: {
>                  type: String,
>                  optional: true,
> -                description: "'OK', 'Error: <msg>', or 'unkwown'.",
> +                description: "'OK', 'Error: <msg>', or 'unknown'.",
>              },
>          },
>      },

-- 
- Lukas




More information about the pbs-devel mailing list