File tree 2 files changed +3
-2
lines changed
packages/locales/lib/human
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 478
478
"with_ar" : " Mit AR" ,
479
479
"without_ar" : " Ohne AR" ,
480
480
"both" : " Beide" ,
481
+ "shiny_probability" : " Shinyrate: {{p}}" ,
481
482
"badge_0" : " keiner" ,
482
483
"badge_1" : " Basis" ,
483
484
"badge_2" : " Bronze" ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export function PokestopPopup({
129
129
} }
130
130
>
131
131
< QuestConditions { ...quest } />
132
- { quest . quest_shiny_probability && (
132
+ { ! ! quest . quest_shiny_probability && (
133
133
< >
134
134
< br />
135
135
< Typography variant = "caption" >
@@ -538,7 +538,7 @@ const readableProbability = (x) => {
538
538
const x_1 = Math . round ( 1 / x )
539
539
const percent = Math . round ( x * 100 )
540
540
return Math . abs ( 1 / x_1 - x ) < Math . abs ( percent * 0.01 - x )
541
- ? `1/ ${ x_1 } `
541
+ ? `1: ${ x_1 } `
542
542
: `${ percent } %`
543
543
}
544
544
You can’t perform that action at this time.
0 commit comments