From: Christian Heller Date: Fri, 27 Nov 2020 00:42:25 +0000 (+0100) Subject: Change language to reflect map protection becoming world protection. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bprefix%7D%7D/todo?a=commitdiff_plain;h=b2597131e3b5faa43d0302e4b61b33674955e698;p=plomrogue2 Change language to reflect map protection becoming world protection. --- diff --git a/rogue_chat.html b/rogue_chat.html index ffed950..74d3a2e 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -139,31 +139,31 @@ let mode_helps = { }, 'write': { 'short': 'change terrain', - 'long': 'This mode allows you to change the map tile you currently stand on (if your map editing password authorizes you so). Just enter any printable ASCII character to imprint it on the ground below you.' + 'long': 'This mode allows you to change the map tile you currently stand on (if your world editing password authorizes you so). Just enter any printable ASCII character to imprint it on the ground below you.' }, 'control_pw_type': { 'short': 'change protection character password', - 'long': 'This mode is the first of two steps to change the password for a tile protection character. First enter the tile protection character for which you want to change the password.' + 'long': 'This mode is the first of two steps to change the password for a protection character. First enter the protection character for which you want to change the password.' }, 'control_pw_pw': { - 'short': 'change tiles protection password', - 'long': 'This mode is the second of two steps to change the password for a tile protection character. Enter the new password for the tile protection character you chose.' + 'short': 'change protection character password', + 'long': 'This mode is the second of two steps to change the password for a protection character. Enter the new password for the protection character you chose.' }, 'control_tile_type': { 'short': 'change tiles protection', - 'long': 'This mode is the first of two steps to change tile protection areas on the map. First enter the tile tile protection character you want to write.' + 'long': 'This mode is the first of two steps to change tile protection areas on the map. First enter the tile protection character you want to write.' }, 'control_tile_draw': { 'short': 'change tiles protection', - 'long': 'This mode is the second of two steps to change tile protection areas on the map. Toggle tile protection drawing on/off and move the ?? cursor around the map to draw the selected tile protection character.' + 'long': 'This mode is the second of two steps to change tile protection areas on the map. Toggle tile protection drawing on/off and move the ?? cursor around the map to draw the selected protection character.' }, 'annotate': { 'short': 'annotate tile', - 'long': 'This mode allows you to add/edit a comment on the tile you are currently standing on (provided your map editing password authorizes you so). Hit Return to leave.' + 'long': 'This mode allows you to add/edit a comment on the tile you are currently standing on (provided your world editing password authorizes you so). Hit Return to leave.' }, 'portal': { 'short': 'edit portal', - 'long': 'This mode allows you to imprint/edit/remove a teleportation target on the ground you are currently standing on (provided your map editing password authorizes you so). Enter or edit a URL to imprint a teleportation target; enter emptiness to remove a pre-existing teleportation target. Hit Return to leave.' + 'long': 'This mode allows you to imprint/edit/remove a teleportation target on the ground you are currently standing on (provided your world editing password authorizes you so). Enter or edit a URL to imprint a teleportation target; enter emptiness to remove a pre-existing teleportation target. Hit Return to leave.' }, 'chat': { 'short': 'chat', @@ -182,8 +182,8 @@ let mode_helps = { 'long': 'Waiting for a server response.' }, 'password': { - 'short': 'set map edit password', - 'long': 'This mode allows you to change the password that you send to authorize yourself for editing password-protected map tiles. Hit return to confirm and leave.' + 'short': 'set world edit password', + 'long': 'This mode allows you to change the password that you send to authorize yourself for editing password-protected elements of the world. Hit return to confirm and leave.' }, 'admin_enter': { 'short': 'become admin', @@ -729,16 +729,16 @@ let tui = { } else if (this.mode.name == 'admin_enter') { this.log_msg('@ enter admin password:') } else if (this.mode.name == 'control_pw_type') { - this.log_msg('@ enter tile protection character for which you want to change the password:') + this.log_msg('@ enter protection character for which you want to change the password:') } else if (this.mode.name == 'control_tile_type') { - this.log_msg('@ enter tile protection character which you want to draw:') + this.log_msg('@ enter protection character which you want to draw:') } else if (this.mode.name == 'admin_thing_protect') { this.log_msg('@ enter thing protection character:') } else if (this.mode.name == 'control_pw_pw') { - this.log_msg('@ enter tile protection password for "' + this.tile_control_char + '":'); + this.log_msg('@ enter protection password for "' + this.tile_control_char + '":'); } else if (this.mode.name == 'control_tile_draw') { document.getElementById("toggle_tile_draw").disabled = false; - this.log_msg('@ can draw tile protection character "' + this.tile_control_char + '", turn drawing on/off with [' + this.keys.toggle_tile_draw + '], finish with [' + this.keys.switch_to_admin_enter + '].') + this.log_msg('@ can draw protection character "' + this.tile_control_char + '", turn drawing on/off with [' + this.keys.toggle_tile_draw + '], finish with [' + this.keys.switch_to_admin_enter + '].') } this.full_refresh(); }, diff --git a/rogue_chat_curses.py b/rogue_chat_curses.py index 86c6ba4..1711f64 100755 --- a/rogue_chat_curses.py +++ b/rogue_chat_curses.py @@ -33,31 +33,31 @@ mode_helps = { }, 'write': { 'short': 'change terrain', - 'long': 'This mode allows you to change the map tile you currently stand on (if your map editing password authorizes you so). Just enter any printable ASCII character to imprint it on the ground below you.' + 'long': 'This mode allows you to change the map tile you currently stand on (if your world editing password authorizes you so). Just enter any printable ASCII character to imprint it on the ground below you.' }, 'control_pw_type': { 'short': 'change protection character password', - 'long': 'This mode is the first of two steps to change the password for a tile protection character. First enter the tile protection character for which you want to change the password.' + 'long': 'This mode is the first of two steps to change the password for a protection character. First enter the protection character for which you want to change the password.' }, 'control_pw_pw': { 'short': 'change protection character password', - 'long': 'This mode is the second of two steps to change the password for a tile protection character. Enter the new password for the tile protection character you chose.' + 'long': 'This mode is the second of two steps to change the password for a protection character. Enter the new password for the protection character you chose.' }, 'control_tile_type': { 'short': 'change tiles protection', - 'long': 'This mode is the first of two steps to change tile protection areas on the map. First enter the tile tile protection character you want to write.' + 'long': 'This mode is the first of two steps to change tile protection areas on the map. First enter the tile protection character you want to write.' }, 'control_tile_draw': { 'short': 'change tiles protection', - 'long': 'This mode is the second of two steps to change tile protection areas on the map. Toggle tile protection drawing on/off and move the ?? cursor around the map to draw the selected tile protection character.' + 'long': 'This mode is the second of two steps to change tile protection areas on the map. Toggle tile protection drawing on/off and move the ?? cursor around the map to draw the selected protection character.' }, 'annotate': { 'short': 'annotate tile', - 'long': 'This mode allows you to add/edit a comment on the tile you are currently standing on (provided your map editing password authorizes you so). Hit Return to leave.' + 'long': 'This mode allows you to add/edit a comment on the tile you are currently standing on (provided your world editing password authorizes you so). Hit Return to leave.' }, 'portal': { 'short': 'edit portal', - 'long': 'This mode allows you to imprint/edit/remove a teleportation target on the ground you are currently standing on (provided your map editing password authorizes you so). Enter or edit a URL to imprint a teleportation target; enter emptiness to remove a pre-existing teleportation target. Hit Return to leave.' + 'long': 'This mode allows you to imprint/edit/remove a teleportation target on the ground you are currently standing on (provided your world editing password authorizes you so). Enter or edit a URL to imprint a teleportation target; enter emptiness to remove a pre-existing teleportation target. Hit Return to leave.' }, 'chat': { 'short': 'chat', @@ -76,8 +76,8 @@ mode_helps = { 'long': 'Waiting for a server response.' }, 'password': { - 'short': 'set map edit password', - 'long': 'This mode allows you to change the password that you send to authorize yourself for editing password-protected map tiles. Hit return to confirm and leave.' + 'short': 'set world edit password', + 'long': 'This mode allows you to change the password that you send to authorize yourself for editing password-protected elements of the world. Hit return to confirm and leave.' }, 'admin_enter': { 'short': 'become admin', @@ -575,15 +575,15 @@ class TUI: elif self.mode.name == 'admin_enter': self.log_msg('@ enter admin password:') elif self.mode.name == 'control_pw_type': - self.log_msg('@ enter tile protection character for which you want to change the password:') + self.log_msg('@ enter protection character for which you want to change the password:') elif self.mode.name == 'control_tile_type': - self.log_msg('@ enter tile protection character which you want to draw:') + self.log_msg('@ enter protection character which you want to draw:') elif self.mode.name == 'admin_thing_protect': self.log_msg('@ enter thing protection character:') elif self.mode.name == 'control_pw_pw': - self.log_msg('@ enter tile protection password for "%s":' % self.tile_control_char) + self.log_msg('@ enter protection password for "%s":' % self.tile_control_char) elif self.mode.name == 'control_tile_draw': - self.log_msg('@ can draw tile protection character "%s", turn drawing on/off with [%s], finish with [%s].' % (self.tile_control_char, self.keys['toggle_tile_draw'], self.keys['switch_to_admin_enter'])) + self.log_msg('@ can draw protection character "%s", turn drawing on/off with [%s], finish with [%s].' % (self.tile_control_char, self.keys['toggle_tile_draw'], self.keys['switch_to_admin_enter'])) self.input_ = "" self.restore_input_values()