diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/helper/Helper.java b/app/src/main/java/fr/gouv/etalab/mastodon/helper/Helper.java index 1943361a9..3afa7015f 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/helper/Helper.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/helper/Helper.java @@ -577,7 +577,7 @@ public class Helper { else if( months > 0) return context.getResources().getQuantityString(R.plurals.date_month, (int)months, (int)months); else if( days > 2) - return context.getString(R.string.date_day,days); + return context.getString(R.string.date_day, days); else if(days == 2 ) return context.getString(R.string.date_day_before_yesterday); else if(days == 1 ) @@ -1751,10 +1751,21 @@ public class Helper { Glide.with(context) .asBitmap() .load(url) + .listener(new RequestListener(){ + @Override + public boolean onResourceReady(Bitmap resource, Object model, Target target, DataSource dataSource, boolean isFirstResource) { + return false; + } + @Override + public boolean onLoadFailed(@Nullable GlideException e, Object model, Target target, boolean isFirstResource) { + return false; + } + }) .into(new SimpleTarget() { @Override public void onResourceReady(Bitmap resource, Transition transition) { - imageView.setImageBitmap(resource); + if( resource != null) + imageView.setImageBitmap(resource); } }); } diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index 984233d21..f97414c4f 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -125,56 +125,56 @@ هل تود حذف هذا التبويق ؟ - %d replies + %d replies ردّ واحد - %d replies - %d replies - %d replies - %d replies + %d replies + %d replies + %d replies + %d replies - قبل %d ثانية + قبل %d ثانية منذ ثانية - %d seconds ago - %d seconds ago - %d seconds ago - منذ %d ثواني + %d seconds ago + %d seconds ago + %d seconds ago + منذ %d ثواني - %d minutes ago + %d minutes ago منذ دقيقة - %d minutes ago - %d minutes ago - %d minutes ago - منذ %d دقائق + %d minutes ago + %d minutes ago + %d minutes ago + منذ %d دقائق - %d hours ago - %d hour ago - %d hours ago - %d hours ago - %d hours ago - قبل %d ساعات + %d hours ago + %d hour ago + %d hours ago + %d hours ago + %d hours ago + قبل %d ساعات البارحة قبل أمس - %d أيام + %d أيام - %d أشهر + %d أشهر منذ شهر - %d months ago - %d months ago - %d months ago - قبل %d أشهر + %d months ago + %d months ago + %d months ago + قبل %d أشهر منذ سنة One year ago - %d years ago - %d years ago - %d years ago - قبل %d أعوام + %d years ago + %d years ago + %d years ago + قبل %d أعوام تحذير @@ -226,14 +226,14 @@ التبويقات \n %1$s المُتابَعون \n %1$s المتابِعون \n %1$s - Pinned \n %d + Pinned \n %d Authorize رفض ليس عندك أية تبويقات مبرمَجة للعرض ! قم بتحرير تبويق ثم إختر برمَجة على القائمة العلوية. هل تود حذف التبويق المُبرمَج ؟ - الوسائط : %d + الوسائط : %d تمت برمجة التبويق بنجاح ! The scheduled date must be greater than the current hour! Battery saver is enabled! It might not work as expected. @@ -245,20 +245,20 @@ يتابعك تبويق حديث مِن %1$s - and %d other notifications + and %d other notifications and another notification - and %d other notifications - and %d other notifications - and %d other notifications - و %d إخطارات أخرى + and %d other notifications + and %d other notifications + and %d other notifications + و %d إخطارات أخرى - and %d other toots to discover + and %d other toots to discover and another toot to discover - and %d other toots to discover - and %d other toots to discover - and %d other toots to discover - و %d تبويقات أخرى إكتشفها + and %d other toots to discover + and %d other toots to discover + and %d other toots to discover + و %d تبويقات أخرى إكتشفها هل تريد حذف الإخطار ؟ هل تود حذف كل الإخطارات ؟ diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 531fb63c8..eca068b19 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -17,9 +17,9 @@ ダウンロード ダウンロード: %1$s ダウンロード完了 - %1 $ sを保存 + %1$s を保存 メディアを保存しました - ファイル:%1 $ s + ファイル: %1$s パスワード Eメール アカウント @@ -33,11 +33,11 @@ 結果がありません! インスタンス インスタンス:mastodon.social - %1 $ sアカウントで動作するようになりました + %1$s アカウントで動作するようになりました アカウントを追加 トゥーの内容がクリップボードにコピーされました 変化する - 画像を選択... + 画像を選択… クリーン マイクロフォン 何かおっしゃってください @@ -85,7 +85,7 @@ プロフィール 何をしたいですか? アカウントを削除する - アプリケーションからアカウント%1 $ sを削除しますか? + アプリケーションからアカウント %1$s を削除しますか? メールを送る ファイルを選択してください ファイルエクスプローラが見つかりません! @@ -102,7 +102,7 @@ トゥーはお気に入りから削除されました! トゥーは増強されました! トートはもはや後押しされていません! - %1 $ sでブーストされました + %1$s でブーストされました この写真をお気に入りに追加しますか? 从你的收藏夹中去掉这个toot? この爆弾を押し上げる? @@ -125,26 +125,26 @@ この煙草を削除しますか? - %d 回复 + %d 回复 - %d 秒前 + %d 秒前 - %d分前 + %d 分前 - %d 時間前 + %d 時間前 昨日 昨日まで - %d日前 + %d 日前 - %d月前 + %d 月前 - %d年前 + %d 年前 警告 @@ -179,7 +179,7 @@ 説明はありません! - %1 $ sを解放する + %1$s を解放する 開発者: ライセンス: GNU GPL V3 @@ -195,15 +195,15 @@ フォローリクエストはありません トゥーツ \n %1$s 次の \n %1$s - フォロワー\ n%1 $ s - ピン\ n%d + フォロワー\ n %1$s + ピン\ n%d 承認する 拒否 予定されていません表示するために! メッセージを書き、トップメニューから[スケジュール] を選択します。 予定吹き出しを削除しますか? - メディア:%d + メディア:%d トゥイットが予定されている! スケジュールされた日付は現在の時間より大きくなければなりません! バッテリーセーバーが有効になっています! 期待どおりに動作しない可能性があります。 @@ -213,7 +213,7 @@ あなたのステータスを後押ししました あなたのステータスを好きになった あなたに続いた - %1 $ sの新着 + %1$s の新着 別の通知 @@ -257,7 +257,7 @@ 検索中にエラーが発生しました! ドラフトが保存されました! このインスタンスがこの数の文字を許可していますか? 通常、この値は500文字に近いです。 - %1 $ sアカウントのトゥイットの表示が変更されました + %1$s アカウントのトゥイットの表示が変更されました インスタンス名と画面名は空白にすることはできません。 負荷の最適化 @@ -305,8 +305,8 @@ 通知のタイムスロット: の間に そして - 時間は%1 $ sより大きくなければなりません - 時間は%1 $ sより短くなければなりません + 時間は %1$s より大きくなければなりません + 時間は %1$s より短くなければなりません 始まる時間 終了時間 ビルトインブラウザを使用する @@ -354,9 +354,9 @@ 未読の通知については? キャッシュの消去 - キャッシュに%1 $ sのデータがあります。\ n \ n削除しますか? + キャッシュに %1$s のデータがあります。\ n \ n削除しますか? Mb - キャッシュがクリアされました! %1 $ sが解放されました + キャッシュがクリアされました! %1$s が解放されました 記録されたデータ @@ -396,7 +396,7 @@ 正規表現でフィルタする サーチ 削除 - もっとたくさんのツイートを取得する... + もっとたくさんのツイートを取得する… リスト このリストを完全に削除してもよろしいですか? diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index b1163a1e4..ada63544f 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -143,7 +143,7 @@ Dün Dünden önce - % gün önce + %d gün önce %d ay önce %d ay önce diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a1866133c..2b5e07557 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -20,7 +20,7 @@ Download complete Save %1$s Media saved - File: %1$s + File: %1$s Password Email Accounts @@ -34,7 +34,7 @@ No results! Instance Instance: mastodon.social - Now works with the account %1$s + Now works with the account %1$s Add an account The content of the toot has been copied to the clipboard Change @@ -86,7 +86,7 @@ Profile What do you want to do? Delete an account - Delete the account %1$s from the application? + Delete the account %1$s from the application? Send an email Please select a file No file explorer found! @@ -151,7 +151,7 @@ Yesterday Before yesterday - %d days ago + %d days ago %d month ago %d months ago