MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / #populateBadgeL10n

Method #populateBadgeL10n

lib/modCheckLib.js:850–885  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

848 }
849
850 #populateBadgeL10n() {
851 const allBadges = [
852 'mod_badge_broken',
853 'mod_badge_collect',
854 'mod_badge_depend_flag',
855 'mod_badge_depend',
856 'mod_badge_folder',
857 'mod_badge_fs0',
858 'mod_badge_fs11',
859 'mod_badge_fs13',
860 'mod_badge_fs15',
861 'mod_badge_fs17',
862 'mod_badge_fs19',
863 'mod_badge_fs22',
864 'mod_badge_fs25',
865 'mod_badge_keys_bad',
866 'mod_badge_keys_ok',
867 'mod_badge_log',
868 'mod_badge_malware',
869 'mod_badge_map',
870 'mod_badge_new',
871 'mod_badge_nomp',
872 'mod_badge_nonmh',
873 'mod_badge_notmod',
874 'mod_badge_pconly',
875 'mod_badge_problem',
876 'mod_badge_recent',
877 'mod_badge_require',
878 'mod_badge_savegame',
879 'mod_badge_update',
880 'mod_badge_web',
881 ]
882 for ( const thisBadge of allBadges ) {
883 this.#badgeNamed[thisBadge.substring(10)] = serveIPC.__(thisBadge)
884 }
885 }
886
887 #doBadges() {
888 this.#populateBadgeL10n()

Callers 1

#doBadgesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected