google / google/GoogleSignIn-iOS

Missing Localization

Ouverte
#71 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Objective-C
Étoiles
750
Forks
282
Merge moyen
2 j 15 h
PR mergées (30 j)
9

Description

### "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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.