google / google/GoogleSignIn-iOS

Missing Localization

オープン
#71 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
750
フォーク
282
平均マージ
2日 15時間
マージ済み PR(30日)
9

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。