Skip to content

Commit

Permalink
fix(i18n): keep changes in en-US
Browse files Browse the repository at this point in the history
  • Loading branch information
Lil-Ran committed Nov 9, 2024
1 parent 6ed6bed commit 74fa7b1
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 2 deletions.
33 changes: 31 additions & 2 deletions src/GZCTF/ClientApp/src/locales/en-US/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"next": "Next",
"preview": "Preview",
"previous": "Previous",
"submissions": {
"recalculate": "Recalculate Submissions"
},
"test_container": {
"create": "Create",
"destroy": "Destroy"
Expand Down Expand Up @@ -183,6 +186,7 @@
"label": "Maximum Team Member"
},
"organizations": {
"add": "Add Organization",
"description": "Add divisions to enable grouped scoreboard, leave empty to disable",
"label": "List of Participating Divisions"
},
Expand Down Expand Up @@ -226,6 +230,11 @@
"participation": {
"joined": "Joined",
"not_joined": "Not Registered",
"organization": {
"cancel": "Cancel",
"edit": "Edit Team Division",
"save": "Save"
},
"stats": "{{count}}/{{total}} joined",
"update": "Set this team's status to: \"{{status}}\"?"
}
Expand Down Expand Up @@ -303,6 +312,11 @@
"description": "Site description provided for SEO",
"label": "Site Description"
},
"flag_template": {
"description": "For unset dynamic questions, this Flag template will be used, and the format is the same as the Flag management page.",
"label": "Default Flag template",
"placeholder": "flag{[GUID]}"
},
"footer": {
"description": "Supports Markdown syntax, <mbr/> will be replaced with <br/> on mobile device",
"label": "Footer"
Expand Down Expand Up @@ -340,6 +354,14 @@
"stats": "<1>{{current}}</1> out of <1>{{total}}</1> users displayed"
}
},
"game": {
"edit": {
"organizations": {
"add": "Add Organization",
"delete": "Delete organization"
}
}
},
"label": {
"games": {
"hide": "Hide",
Expand Down Expand Up @@ -385,13 +407,17 @@
"attachment_downloaded": "Pretend the attachment has been downloaded!",
"flag_submitted": "Flag submitted!"
},
"submissions": {
"recalculated": "Submission has been recalculated"
},
"updated": "Challenge updated"
},
"created": "Game created",
"info": {
"accept_count_updated": "AC counter updated",
"deleted": "Game deleted",
"info_updated": "Game updated",
"organizations": "Click to edit divisions",
"poster": {
"upload_failed": "Post upload failed",
"uploaded": "Poster successfully uploaded",
Expand All @@ -410,6 +436,8 @@
"updated": "Notice updated"
},
"participation": {
"organization_empty": "Team division cannot be empty",
"organization_updated": "Team division has been updated",
"updated": "Team status has been updated"
}
},
Expand Down Expand Up @@ -445,9 +473,10 @@
}
}
},
"organizations": "Enter to add a division.",
"organizations": "Click to edit divisions",
"participation": {
"bio": "(no bio)",
"organization": "Choose a division",
"team": "(no name)"
}
},
Expand All @@ -470,7 +499,7 @@
}
},
"teams": {
"search": "Search by name"
"search": "Search by name or member"
},
"users": {
"real_name": "Empty",
Expand Down
1 change: 1 addition & 0 deletions src/GZCTF/ClientApp/src/locales/en-US/challenge.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"third_blood": "third blood"
},
"button": {
"close": "Close",
"download": {
"attachment": "Download Attachment"
},
Expand Down
21 changes: 21 additions & 0 deletions src/GZCTF/ClientApp/src/locales/en-US/game.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"finished": "Game Ended",
"hide_solved": "Hide Solved",
"hide_prefix_in_title": "Hide Prefix",
"join": "Join",
"leave": "Leave Game",
"login_required": "Please Login",
Expand All @@ -26,6 +27,11 @@
"comment": "Perhaps more difficult challenges are waiting for you...",
"title": "All challenges were solved!"
},
"custom_scoreboard": {
"enabled": "Temporary custom scoreboard is displayed, for reference only.",
"no_result": "No records match the current conditions. Try adjusting your search conditions.",
"regex_error": "⚠ The regular expression you entered is invalid."
},
"duration": "{{hours}} hour(s)",
"end_at": "Ends at",
"end_time": "End Time",
Expand All @@ -35,6 +41,10 @@
"description": "Hide container creation/destroying events",
"label": "Hide container events"
},
"hide_flag": {
"description": "Don't show Flag in events",
"label": "Hide Flag"
},
"join": {
"confirm": "Confirm Registration",
"content": [
Expand All @@ -50,6 +60,10 @@
"description": "This game has multiple division available. Please select your division.",
"label": "Select Division"
},
"organization_verify_code": {
"description": "This game has invitation-only divisions. If your division doesn't require an invitation code, please leave it blank.",
"label": "Please enter the invitation code for the division"
},
"team": {
"description": "Please select a team you want to participate with in this game. This cannot be changed after participation request approval.",
"label": "Select your team"
Expand Down Expand Up @@ -140,11 +154,14 @@
"score_formatter": "{value} pts",
"score_table": {
"all_teams": "All Teams",
"rank_nopub": "No Public",
"rank_organization": "Rank",
"rank_total": "Overall",
"score": "Score",
"score_total": "Score",
"solved_count": "Solved",
"tag_all": "All",
"tag_empty": "Nothing found",
"team": "Team",
"type": "Type"
},
Expand Down Expand Up @@ -181,6 +198,7 @@
"submitted": "Writeup was successfully submitted"
}
},
"organization": "Organization",
"participation": {
"actions": {
"accepted": "Approved",
Expand Down Expand Up @@ -220,7 +238,9 @@
}
},
"placeholder": {
"challenge_search": "Regular Match Titles",
"no_solved": "Ouch! This team has not solved any challenges...",
"scoreboard_search": "Match challenge titles with a regular expression",
"search_team": "Search Team"
},
"tab": {
Expand All @@ -232,6 +252,7 @@
"submissions": "Submissions",
"traffic": "Traffics"
},
"notice": "Notice",
"scoreboard": "Scoreboard"
},
"tag": {
Expand Down

0 comments on commit 74fa7b1

Please sign in to comment.