Skip to content

Commit

Permalink
rename to mappers
Browse files Browse the repository at this point in the history
  • Loading branch information
notbakaneko committed Sep 6, 2024
1 parent 0b15e03 commit d8cdf20
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class BeatmapMappersEditor extends React.Component<Props> {

@action
private readonly handleResetClick = () => {
if (!confirm(trans('beatmap_discussions.owner_editor.reset_confirm'))) return;
if (!confirm(trans('beatmap_discussions.mappers_editor.reset_confirm'))) return;

this.editing = false;
this.updateMappers([this.props.beatmapset.user_id]);
Expand Down
4 changes: 2 additions & 2 deletions resources/js/beatmap-discussions/beatmaps-mappers-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export default class BeatmapsMappersEditor extends React.Component<Props> {
{/* header and its grid placeholder */}
<div />
<strong>
{trans('beatmap_discussions.owner_editor.version')}
{trans('beatmap_discussions.mappers_editor.version')}
</strong>
<strong>
{trans('beatmap_discussions.owner_editor.user')}
{trans('beatmap_discussions.mappers_editor.user')}
</strong>
<div />

Expand Down
2 changes: 1 addition & 1 deletion resources/js/beatmap-discussions/nominations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export class Nominations extends React.Component<Props> {
props={{
onClick: this.handleToggleBeatmapsOwnerEditor,
}}
text={trans('beatmap_discussions.owner_editor.button')}
text={trans('beatmap_discussions.mappers_editor.button')}
/>
);
}
Expand Down
8 changes: 4 additions & 4 deletions resources/lang/en/beatmap_discussions.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
'unsaved' => ':count in this review',
],

'owner_editor' => [
'button' => 'Difficulty Owner',
'reset_confirm' => 'Reset owner for this difficulty?',
'user' => 'Owner',
'mappers_editor' => [
'button' => 'Difficulty Mappers',
'reset_confirm' => 'Reset mapper for this difficulty?',
'user' => 'Mappers',
'version' => 'Difficulty',
],

Expand Down

0 comments on commit d8cdf20

Please sign in to comment.