Skip to content

Commit

Permalink
remove comment and extra spacing in string
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sidhdhi-p committed Apr 2, 2024
1 parent 566d82c commit 2fd35c5
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 98 deletions.
194 changes: 97 additions & 97 deletions khelo/assets/locales/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"common_next_title": "Next",
"common_yes_title": "Yes",
"common_no_title": "No",
"common_wicket_taken_title" : " Wicket taken",
"common_wicket_taken_title": " Wicket taken",
"common_not_specified_title": "Not Specified",
"common_obscure_phone_number_text": "{countryCode} ***** ***{lastDigits}",
"@common_obscure_phone_number_text": {
Expand Down Expand Up @@ -182,7 +182,7 @@
"search_team_search_placeholder_title": "Search team name",
"search_team_your_teams_title": "Your Teams",
"search_team_select_title": "Select",
"search_team_member_title" : "{count, plural, =0{{count} Members} =1{{count} Member} other{{count} Members}}",
"search_team_member_title": "{count, plural, =0{{count} Members} =1{{count} Member} other{{count} Members}}",
"@search_team_member_title": {
"placeholders": {
"count": {}
Expand Down Expand Up @@ -213,11 +213,11 @@
"select_squad_empty_squad_text": "Select squad via adding it from team members list.",
"select_squad_empty_team_member_text": "No team member added in this team, try to add people you know as a team member.",

"add_toss_detail_screen_title" : "Add Toss Detail",
"add_toss_detail_who_won_toss_text" : "Who won the toss?",
"add_toss_detail_winner_elected_to_text" : "Toss-winner elected to - ?",
"add_toss_detail_bat_text" : "Bat",
"add_toss_detail_bowl_text" : "Bowl",
"add_toss_detail_screen_title": "Add Toss Detail",
"add_toss_detail_who_won_toss_text": "Who won the toss?",
"add_toss_detail_winner_elected_to_text": "Toss-winner elected to - ?",
"add_toss_detail_bat_text": "Bat",
"add_toss_detail_bowl_text": "Bowl",

"score_board_run_sup_script_text": "{run, select, 1{extra} 2{{extra}²} 3{{extra}³} 4{{extra}⁴} 5{{extra}⁵} 6{{extra}⁶} 7{{extra}⁷} 8{{extra}⁸} 9{{extra}⁹} other{extra}}",
"@score_board_run_sup_script_text": {
Expand All @@ -227,77 +227,77 @@
}
},

"score_board_screen_title" : "Score Board",
"score_board_wicket_short_text" : "W",
"score_board_no_ball_short_text" : "NB",
"score_board_wide_ball_short_text" : "WB",
"score_board_leg_bye_short_text" : "L",
"score_board_bye_short_text" : "B",
"score_board_zero_text" : "0",
"score_board_one_text" : "1",
"score_board_two_text" : "2",
"score_board_three_text" : "3",
"score_board_four_text" : "4\nFour",
"score_board_six_text" : "6\nSix",
"score_board_five_or_seven_text" : "5, 7",
"score_board_out_text" : "OUT",
"score_board_wicket_text" : "WICKET",
"score_board_leg_bye_text" : "LB",
"score_board_bye_text" : "BYE",
"score_board_undo_title" : "Undo",
"score_board_wickets_text" : "Wickets",
"score_board_player_title" : "Player",
"score_board_extras_title" : "Extras",
"score_board_overs_title" : "Overs",
"score_board_runs_title" : "Runs",
"score_board_not_from_bat_text" : "Not from bat?",
"score_board_is_boundary_text" : "Is that a boundary?",
"score_board_boundary_text" : "Boundary",
"score_board_over_complete_title" : "Over Complete",
"score_board_inning_complete_title" : "Inning Complete",
"score_board_match_complete_title" : "Match Complete",
"score_board_end_match_title" : "End Match",
"score_board_start_next_inning_title" : "Start Next Inning",
"score_board_current_team_title" : "Current Team",
"score_board_team_title" : "Team",
"score_board_r_title" : "R",
"score_board_w_title" : "W",
"score_board_o_title" : "O",
"score_board_won_by_title" : " Won By ",
"score_board_select_player_title" : "Select Player",
"score_board_select_title" : "select",
"score_board_choose_batsman_title" : "choose Batsman",
"score_board_choose_bowler_for_over_title" : "choose Bowler for over {over}",
"@score_board_choose_bowler_for_over_title" : {
"description" : "choose Bowler for over {over}",
"score_board_screen_title": "Score Board",
"score_board_wicket_short_text": "W",
"score_board_no_ball_short_text": "NB",
"score_board_wide_ball_short_text": "WB",
"score_board_leg_bye_short_text": "L",
"score_board_bye_short_text": "B",
"score_board_zero_text": "0",
"score_board_one_text": "1",
"score_board_two_text": "2",
"score_board_three_text": "3",
"score_board_four_text": "4\nFour",
"score_board_six_text": "6\nSix",
"score_board_five_or_seven_text": "5, 7",
"score_board_out_text": "OUT",
"score_board_wicket_text": "WICKET",
"score_board_leg_bye_text": "LB",
"score_board_bye_text": "BYE",
"score_board_undo_title": "Undo",
"score_board_wickets_text": "Wickets",
"score_board_player_title": "Player",
"score_board_extras_title": "Extras",
"score_board_overs_title": "Overs",
"score_board_runs_title": "Runs",
"score_board_not_from_bat_text": "Not from bat?",
"score_board_is_boundary_text": "Is that a boundary?",
"score_board_boundary_text": "Boundary",
"score_board_over_complete_title": "Over Complete",
"score_board_inning_complete_title": "Inning Complete",
"score_board_match_complete_title": "Match Complete",
"score_board_end_match_title": "End Match",
"score_board_start_next_inning_title": "Start Next Inning",
"score_board_current_team_title": "Current Team",
"score_board_team_title": "Team",
"score_board_r_title": "R",
"score_board_w_title": "W",
"score_board_o_title": "O",
"score_board_won_by_title": " Won By ",
"score_board_select_player_title": "Select Player",
"score_board_select_title": "select",
"score_board_choose_batsman_title": "choose Batsman",
"score_board_choose_bowler_for_over_title": "choose Bowler for over {over}",
"@score_board_choose_bowler_for_over_title": {
"description": "choose Bowler for over {over}",
"placeholders": {
"over": {
"type": "int"
}
}
},
"score_board_choose_fielder_title" : "choose Fielder",
"score_board_injured_tag_title" : "Injured",
"score_board_who_on_strike_title" : "Who's on Strike?",
"score_board_who_got_out_title" : "Who got out",
"score_board_runs_dot_title" : " Runs.",
"score_board_wickets_dot_title" : " Wickets.",
"score_board_end_of_over_title" : "End Of Over ",
"score_board_start_next_over_title" : "Start Next Over",
"score_board_batsman_title" : "batsMan",
"score_board_bowler_title" : "bowler",
"score_board_change_striker_title" : "Change striker",
"score_board_add_substitute_title" : "Add substitute",
"score_board_pause_scoring_title" : "Pause scoring",
"score_board_by_title" : " by ",
"score_board_can_undo_till_running_over_title" : "Undo is only allowed till running over",
"score_board_undo_last_ball_title" : "Undo Last Ball",
"score_board_undo_last_ball_description_text" : "are you sure you want to undo last ball?",
"score_board_pause_scoring_title" : "Pause Scoring",
"score_board_penalty_run_title" : "Penalty Run",
"score_board_pause_title" : "Pause",
"score_board_power_play_title" : "Power-Play ",
"score_board_pause_scoring_description_text" : "are you sure you want to pause scoring?",
"score_board_choose_fielder_title": "choose Fielder",
"score_board_injured_tag_title": "Injured",
"score_board_who_on_strike_title": "Who's on Strike?",
"score_board_who_got_out_title": "Who got out",
"score_board_runs_dot_title": " Runs.",
"score_board_wickets_dot_title": " Wickets.",
"score_board_end_of_over_title": "End Of Over ",
"score_board_start_next_over_title": "Start Next Over",
"score_board_batsman_title": "batsMan",
"score_board_bowler_title": "bowler",
"score_board_change_striker_title": "Change striker",
"score_board_add_substitute_title": "Add substitute",
"score_board_pause_scoring_title": "Pause scoring",
"score_board_by_title": " by ",
"score_board_can_undo_till_running_over_title": "Undo is only allowed till running over",
"score_board_undo_last_ball_title": "Undo Last Ball",
"score_board_undo_last_ball_description_text": "are you sure you want to undo last ball?",
"score_board_pause_scoring_title": "Pause Scoring",
"score_board_penalty_run_title": "Penalty Run",
"score_board_pause_title": "Pause",
"score_board_power_play_title": "Power-Play ",
"score_board_pause_scoring_description_text": "are you sure you want to pause scoring?",
"score_board_need_run_text": "Need {run} in {ball}",
"@score_board_need_run_text": {
"description": "Need {run} in {ball}",
Expand Down Expand Up @@ -332,24 +332,24 @@
"team_detail_matches_played_title": "\nMatches played",
"team_detail_overs_title": "Overs:",

"match_status_yet_to_start_title" : "Yet to start",
"match_status_running_title" : "Running",
"match_status_finish_title" : "Finish",

"wicket_type_bowled_title" : "Bowled",
"wicket_type_caught_title" : "Caught",
"wicket_type_caught_behind_title" : "Caught Behind",
"wicket_type_caught_bowled_title" : "Caught And Bowled",
"wicket_type_leg_before_wicket_title" : "Leg Before Wicket",
"wicket_type_stumped_title" : "Stumped",
"wicket_type_run_out_title" : "Run Out",
"wicket_type_hit_wicket_title" : "Hit Wicket",
"wicket_type_hit_ball_twice_title" : "Hit Ball Twice",
"wicket_type_handled_ball_title" : "Handled Ball",
"wicket_type_obstructing_field_title" : "Obstructing the Field",
"wicket_type_timed_out_title" : "Timed Out",
"wicket_type_retired_title" : "Retired",
"wicket_type_retired_hurt_title" : "Retired Hurt",
"match_status_yet_to_start_title": "Yet to start",
"match_status_running_title": "Running",
"match_status_finish_title": "Finish",

"wicket_type_bowled_title": "Bowled",
"wicket_type_caught_title": "Caught",
"wicket_type_caught_behind_title": "Caught Behind",
"wicket_type_caught_bowled_title": "Caught And Bowled",
"wicket_type_leg_before_wicket_title": "Leg Before Wicket",
"wicket_type_stumped_title": "Stumped",
"wicket_type_run_out_title": "Run Out",
"wicket_type_hit_wicket_title": "Hit Wicket",
"wicket_type_hit_ball_twice_title": "Hit Ball Twice",
"wicket_type_handled_ball_title": "Handled Ball",
"wicket_type_obstructing_field_title": "Obstructing the Field",
"wicket_type_timed_out_title": "Timed Out",
"wicket_type_retired_title": "Retired",
"wicket_type_retired_hurt_title": "Retired Hurt",

"my_stat_screen_title": "My Stats",
"my_stat_stats_tab_title": "Stats",
Expand All @@ -368,8 +368,8 @@
"my_stat_stats_run_out_title": " Run out",
"my_stat_stats_stumping_title": " Stumping",

"match_stat_screen_title" : "Match Stat",
"match_stat_in_over_text" : " (in {count} Over)",
"match_stat_screen_title": "Match Stat",
"match_stat_in_over_text": " (in {count} Over)",
"@match_stat_in_over_text": {
"description": " (in {count} Over)",
"placeholders": {
Expand All @@ -378,10 +378,10 @@
}
}
},
"match_stat_fours_title" : "\nFours",
"match_stat_sixes_title" : "\nSixes",
"match_stat_played_squad_title" : "Played Squad",
"match_stat_count_player_text" : "({count} player)",
"match_stat_fours_title": "\nFours",
"match_stat_sixes_title": "\nSixes",
"match_stat_played_squad_title": "Played Squad",
"match_stat_count_player_text": "({count} player)",
"@match_stat_count_player_text": {
"description": "({count} player)",
"placeholders": {
Expand All @@ -390,7 +390,7 @@
}
}
},
"match_stat_count_wickets_text" : "{count, plural, =0{{count} Wickets} =1{{count} Wicket} other{{count} Wickets}}",
"match_stat_count_wickets_text": "{count, plural, =0{{count} Wickets} =1{{count} Wicket} other{{count} Wickets}}",
"@match_stat_count_wickets_text": {
"placeholders": {
"count": {}
Expand Down
2 changes: 1 addition & 1 deletion khelo/lib/domain/formatter/string_formatter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extension StringExtension on String? {
}
return context.l10n.common_obscure_phone_number_text(
this!.substring(0, 3),
this!.substring(this!.length - 2)); // TODO: change to 1 if needed
this!.substring(this!.length - 2));
}
}
}
Expand Down

0 comments on commit 2fd35c5

Please sign in to comment.