Skip to content

Commit b85628e

Browse files
committed
luci-mod-network: i18n fix
Follow-up fix to fb4cf43 Resolves sync errors: standard input:682: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. standard input:733: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. standard input:761: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. standard input:818: warning: Empty msgid. It is reserved by GNU gettext: gettext("") returns the header entry with meta information, not the empty string. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
1 parent bd39c63 commit b85628e

File tree

1 file changed

+4
-4
lines changed
  • modules/luci-mod-network/htdocs/luci-static/resources/tools

1 file changed

+4
-4
lines changed

modules/luci-mod-network/htdocs/luci-static/resources/tools/network.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ return baseclass.extend({
679679

680680
o = this.replaceOption(s, 'devadvanced', form.ListValue, 'xmit_hash_policy', _('Slave selection hash policy'));
681681
o.default = '';
682-
o.value('', _(''));
682+
o.value('', '');
683683
o.value('layer2', _('Layer 2'));
684684
o.value('layer2+3', _('Layer 2+3'));
685685
o.value('layer3+4', _('Layer 3+4'));
@@ -730,7 +730,7 @@ return baseclass.extend({
730730

731731
o = this.replaceOption(s, 'devadvanced', form.ListValue, 'ad_select', _('802.3ad aggregation logic'));
732732
o.default = '';
733-
o.value('', _(''));
733+
o.value('', '');
734734
o.value('stable', _('Stable'));
735735
o.value('bandwidth', _('Bandwidth'));
736736
o.value('count', _('Count'));
@@ -758,7 +758,7 @@ return baseclass.extend({
758758

759759
o = this.replaceOption(s, 'devadvanced', form.ListValue, 'lacp_rate', _('802.3ad LACPDU packet rate'));
760760
o.default = '';
761-
o.value('', _(''));
761+
o.value('', '');
762762
o.value('slow', _('Slow (every 30 seconds)'));
763763
o.value('fast', _('Fast (every second)'));
764764
o.cfgvalue = function(/* ... */) {
@@ -815,7 +815,7 @@ return baseclass.extend({
815815

816816
o = this.replaceOption(s, 'devadvanced', form.ListValue, 'primary_reselect', _('Primary port reselection policy'));
817817
o.default = '';
818-
o.value('', _(''));
818+
o.value('', '');
819819
o.value('always', _('Always'));
820820
o.value('better', _('Better'));
821821
o.value('failure', _('Failure'));

0 commit comments

Comments
 (0)