Skip to content

Commit

Permalink
fix(App): translatable labels
Browse files Browse the repository at this point in the history
Signed-off-by: DorraJaouad <[email protected]>
  • Loading branch information
DorraJaouad committed Feb 9, 2024
1 parent 00a7ddc commit 2166394
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions js/bruteforcesettings-main.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions js/bruteforcesettings-main.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @copyright 2021 Christoph Wurst <[email protected]>
*
Expand Down
2 changes: 1 addition & 1 deletion js/bruteforcesettings-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file modified screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@
:value.sync="newWhitelist.ip"
type="text"
name="ip"
label="IP address"
:label="t('bruteforcesettings','IP address')"
placeholder="2001:db8::" />
<!-- TRANSLATORS : "Mask" is an IP adress mask-->
<NcInputField id="mask"
class="whitelist__mask"
:value.sync="newWhitelist.mask"
Expand All @@ -59,7 +60,7 @@
min="1"
max="128"
maxlength="2"
label="Mask"
:label="t('bruteforcesettings','Mask')"
placeholder="64" />
<NcButton type="secondary"
class="whitelist__submit"
Expand Down Expand Up @@ -162,7 +163,7 @@ export default {
this.newWhitelist.mask = ''

} catch (error) {
showError(t('spreed', 'There was an error adding the IP to the whitelist.'))
showError(t('bruteforcesettings', 'There was an error adding the IP to the whitelist.'))
}
},
},
Expand Down

0 comments on commit 2166394

Please sign in to comment.