google / google/GoogleSignIn-iOS

Missing Localization

Aperta
#71 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Objective-C
Stelle
750
Fork
282
Merge medio
2g 15h
PR unite (30g)
9

Descrizione

### "The user canceled the sign-in flow." is not localized.

**Defined on line 108 in GIDSignIn.m**
```
static NSString *const kUserCanceledError = @"The user canceled the sign-in flow.";
```

**Set on line 504 in GIDSignIn.m**
```
errorString = kUserCanceledError;
```

**Added to the error dictionary falsely identifying the string as localized on line 772 in GIDSignIn.m**
```
NSDictionary *errorDict = @{ NSLocalizedDescriptionKey : errorString };
```

Screen Shot 2021-11-12 at 5 19 15 PM

As a side note, "Unknown error" will also never be localized if set on line 770 in GIDSignIn.m.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.