Fixes issue #140 + some fixes in typo

This commit is contained in:
stom79 2017-12-16 08:17:42 +01:00
parent 326655792e
commit fec0b38056
5 changed files with 85 additions and 74 deletions

View File

@ -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<Bitmap>(){
@Override
public boolean onResourceReady(Bitmap resource, Object model, Target<Bitmap> 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<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
imageView.setImageBitmap(resource);
if( resource != null)
imageView.setImageBitmap(resource);
}
});
}

View File

@ -125,56 +125,56 @@
<item>هل تود حذف هذا التبويق ؟</item>
</string-array>
<plurals name="preview_replies">
<item quantity="zero">%d replies</item>
<item quantity="zero">%d replies</item>
<item quantity="one">ردّ واحد</item>
<item quantity="two">%d replies</item>
<item quantity="few">%d replies</item>
<item quantity="many">%d replies</item>
<item quantity="other">%d replies</item>
<item quantity="two">%d replies</item>
<item quantity="few">%d replies</item>
<item quantity="many">%d replies</item>
<item quantity="other">%d replies</item>
</plurals>
<!-- Date -->
<plurals name="date_seconds">
<item quantity="zero">قبل %d ثانية</item>
<item quantity="zero">قبل %d ثانية</item>
<item quantity="one">منذ ثانية</item>
<item quantity="two">%d seconds ago</item>
<item quantity="few">%d seconds ago</item>
<item quantity="many">%d seconds ago</item>
<item quantity="other">منذ %d ثواني</item>
<item quantity="two">%d seconds ago</item>
<item quantity="few">%d seconds ago</item>
<item quantity="many">%d seconds ago</item>
<item quantity="other">منذ %d ثواني</item>
</plurals>
<plurals name="date_minutes">
<item quantity="zero">%d minutes ago</item>
<item quantity="zero">%d minutes ago</item>
<item quantity="one">منذ دقيقة</item>
<item quantity="two">%d minutes ago</item>
<item quantity="few">%d minutes ago</item>
<item quantity="many">%d minutes ago</item>
<item quantity="other">منذ %d دقائق</item>
<item quantity="two">%d minutes ago</item>
<item quantity="few">%d minutes ago</item>
<item quantity="many">%d minutes ago</item>
<item quantity="other">منذ %d دقائق</item>
</plurals>
<plurals name="date_hours">
<item quantity="zero">%d hours ago</item>
<item quantity="one">%d hour ago</item>
<item quantity="two">%d hours ago</item>
<item quantity="few">%d hours ago</item>
<item quantity="many">%d hours ago</item>
<item quantity="other">قبل %d ساعات</item>
<item quantity="zero">%d hours ago</item>
<item quantity="one">%d hour ago</item>
<item quantity="two">%d hours ago</item>
<item quantity="few">%d hours ago</item>
<item quantity="many">%d hours ago</item>
<item quantity="other">قبل %d ساعات</item>
</plurals>
<string name="date_yesterday">البارحة</string>
<string name="date_day_before_yesterday">قبل أمس</string>
<string name="date_day">%d أيام</string>
<string name="date_day">%d أيام</string>
<plurals name="date_month">
<item quantity="zero">%d أشهر</item>
<item quantity="zero">%d أشهر</item>
<item quantity="one">منذ شهر</item>
<item quantity="two">%d months ago</item>
<item quantity="few">%d months ago</item>
<item quantity="many">%d months ago</item>
<item quantity="other">قبل %d أشهر</item>
<item quantity="two">%d months ago</item>
<item quantity="few">%d months ago</item>
<item quantity="many">%d months ago</item>
<item quantity="other">قبل %d أشهر</item>
</plurals>
<plurals name="date_year">
<item quantity="zero">منذ سنة</item>
<item quantity="one">One year ago</item>
<item quantity="two">%d years ago</item>
<item quantity="few">%d years ago</item>
<item quantity="many">%d years ago</item>
<item quantity="other">قبل %d أعوام</item>
<item quantity="two">%d years ago</item>
<item quantity="few">%d years ago</item>
<item quantity="many">%d years ago</item>
<item quantity="other">قبل %d أعوام</item>
</plurals>
<!-- TOOT -->
<string name="toot_cw_placeholder">تحذير</string>
@ -226,14 +226,14 @@
<string name="status_cnt">التبويقات \n %1$s</string>
<string name="following_cnt">المُتابَعون \n %1$s</string>
<string name="followers_cnt">المتابِعون \n %1$s</string>
<string name="pins_cnt">Pinned \n %d</string>
<string name="pins_cnt">Pinned \n %d </string>
<string name="authorize">Authorize</string>
<string name="reject">رفض</string>
<!-- Scheduled toots -->
<string name="no_scheduled_toots">ليس عندك أية تبويقات مبرمَجة للعرض !</string>
<string name="no_scheduled_toots_indications">قم بتحرير تبويق ثم إختر <b>برمَجة</b> على القائمة العلوية.</string>
<string name="remove_scheduled">هل تود حذف التبويق المُبرمَج ؟</string>
<string name="media_count">الوسائط : %d</string>
<string name="media_count">الوسائط : %d </string>
<string name="toot_scheduled">تمت برمجة التبويق بنجاح !</string>
<string name="toot_scheduled_date">The scheduled date must be greater than the current hour!</string>
<string name="warning_battery">Battery saver is enabled! It might not work as expected.</string>
@ -245,20 +245,20 @@
<string name="notif_follow">يتابعك</string>
<string name="notif_pouet">تبويق حديث مِن %1$s</string>
<plurals name="other_notifications">
<item quantity="zero">and %d other notifications</item>
<item quantity="zero">and %d other notifications</item>
<item quantity="one">and another notification</item>
<item quantity="two">and %d other notifications</item>
<item quantity="few">and %d other notifications</item>
<item quantity="many">and %d other notifications</item>
<item quantity="other">و %d إخطارات أخرى</item>
<item quantity="two">and %d other notifications</item>
<item quantity="few">and %d other notifications</item>
<item quantity="many">and %d other notifications</item>
<item quantity="other">و %d إخطارات أخرى</item>
</plurals>
<plurals name="other_notif_hometimeline">
<item quantity="zero">and %d other toots to discover</item>
<item quantity="zero">and %d other toots to discover</item>
<item quantity="one">and another toot to discover</item>
<item quantity="two">and %d other toots to discover</item>
<item quantity="few">and %d other toots to discover</item>
<item quantity="many">and %d other toots to discover</item>
<item quantity="other">و %d تبويقات أخرى إكتشفها</item>
<item quantity="two">and %d other toots to discover</item>
<item quantity="few">and %d other toots to discover</item>
<item quantity="many">and %d other toots to discover</item>
<item quantity="other">و %d تبويقات أخرى إكتشفها</item>
</plurals>
<string name="delete_notification_ask">هل تريد حذف الإخطار ؟</string>
<string name="delete_notification_ask_all">هل تود حذف كل الإخطارات ؟</string>

View File

@ -17,9 +17,9 @@
<string name="download">ダウンロード</string>
<string name="download_file">ダウンロード: %1$s</string>
<string name="download_over">ダウンロード完了</string>
<string name="save_file">1 $ sを保存</string>
<string name="save_file"> 1$s を保存</string>
<string name="save_over">メディアを保存しました</string>
<string name="download_from">ファイル1 $ s</string>
<string name="download_from">ファイル: 1$s </string>
<string name="password">パスワード</string>
<string name="email">Eメール</string>
<string name="accounts">アカウント</string>
@ -33,11 +33,11 @@
<string name="no_result">結果がありません!</string>
<string name="instance">インスタンス</string>
<string name="instance_example">インスタンスmastodon.social</string>
<string name="toast_account_changed">1 $ sアカウントで動作するようになりました</string>
<string name="toast_account_changed"> 1$s アカウントで動作するようになりました</string>
<string name="add_account">アカウントを追加</string>
<string name="clipboard">トゥーの内容がクリップボードにコピーされました</string>
<string name="change">変化する</string>
<string name="choose_picture">画像を選択...</string>
<string name="choose_picture">画像を選択</string>
<string name="clear">クリーン</string>
<string name="microphone">マイクロフォン</string>
<string name="speech_prompt">何かおっしゃってください</string>
@ -85,7 +85,7 @@
<string name="profile">プロフィール</string>
<string name="make_a_choice">何をしたいですか?</string>
<string name="delete_account_title">アカウントを削除する</string>
<string name="delete_account_message">アプリケーションからアカウント1 $ sを削除しますか</string>
<string name="delete_account_message">アプリケーションからアカウント 1$s を削除しますか?</string>
<string name="send_email">メールを送る</string>
<string name="choose_file">ファイルを選択してください</string>
<string name="choose_file_error">ファイルエクスプローラが見つかりません!</string>
@ -102,7 +102,7 @@
<string name="fav_removed">トゥーはお気に入りから削除されました!</string>
<string name="reblog_added">トゥーは増強されました!</string>
<string name="reblog_removed">トートはもはや後押しされていません!</string>
<string name="reblog_by">1 $ sでブーストされました</string>
<string name="reblog_by"> 1$s でブーストされました</string>
<string name="favourite_add">この写真をお気に入りに追加しますか?</string>
<string name="favourite_remove">从你的收藏夹中去掉这个toot</string>
<string name="reblog_add">この爆弾を押し上げる?</string>
@ -125,26 +125,26 @@
<item>この煙草を削除しますか?</item>
</string-array>
<plurals name="preview_replies">
<item quantity="other">%d 回复</item>
<item quantity="other">%d 回复</item>
</plurals>
<!-- Date -->
<plurals name="date_seconds">
<item quantity="other">%d 秒前</item>
<item quantity="other">%d 秒前</item>
</plurals>
<plurals name="date_minutes">
<item quantity="other">%d分前</item>
<item quantity="other">%d 分前</item>
</plurals>
<plurals name="date_hours">
<item quantity="other">%d 時間前</item>
<item quantity="other">%d 時間前</item>
</plurals>
<string name="date_yesterday">昨日</string>
<string name="date_day_before_yesterday">昨日まで</string>
<string name="date_day">d日前</string>
<string name="date_day">d 日前</string>
<plurals name="date_month">
<item quantity="other">%d月前</item>
<item quantity="other">%d 月前</item>
</plurals>
<plurals name="date_year">
<item quantity="other">d年前</item>
<item quantity="other">d 年前</item>
</plurals>
<!-- TOOT -->
<string name="toot_cw_placeholder">警告</string>
@ -179,7 +179,7 @@
<!-- Instance -->
<string name="instance_no_description">説明はありません!</string>
<!-- About -->
<string name="about_vesrion">1 $ sを解放する</string>
<string name="about_vesrion"> 1$s を解放する</string>
<string name="about_developer">開発者:</string>
<string name="about_license">ライセンス: </string>
<string name="about_license_action">GNU GPL V3</string>
@ -195,15 +195,15 @@
<string name="no_follow_request">フォローリクエストはありません</string>
<string name="status_cnt">トゥーツ \n %1$s</string>
<string name="following_cnt">次の \n %1$s</string>
<string name="followers_cnt">フォロワー\ n1 $ s</string>
<string name="pins_cnt">ピン\ nd</string>
<string name="followers_cnt">フォロワー\ n 1$s </string>
<string name="pins_cnt">ピン\ nd </string>
<string name="authorize">承認する</string>
<string name="reject">拒否</string>
<!-- Scheduled toots -->
<string name="no_scheduled_toots">予定されていません表示するために!</string>
<string name="no_scheduled_toots_indications">メッセージを書き、トップメニューから[<b>スケジュール</b>] を選択します。</string>
<string name="remove_scheduled">予定吹き出しを削除しますか?</string>
<string name="media_count">メディアd</string>
<string name="media_count">メディアd </string>
<string name="toot_scheduled">トゥイットが予定されている!</string>
<string name="toot_scheduled_date">スケジュールされた日付は現在の時間より大きくなければなりません!</string>
<string name="warning_battery">バッテリーセーバーが有効になっています! 期待どおりに動作しない可能性があります。</string>
@ -213,7 +213,7 @@
<string name="notif_reblog">あなたのステータスを後押ししました</string>
<string name="notif_favourite">あなたのステータスを好きになった</string>
<string name="notif_follow">あなたに続いた</string>
<string name="notif_pouet">1 $ sの新着</string>
<string name="notif_pouet"> 1$s の新着</string>
<plurals name="other_notifications">
<item quantity="other">別の通知</item>
</plurals>
@ -257,7 +257,7 @@
<string name="toast_error_translate">検索中にエラーが発生しました!</string>
<string name="toast_toot_saved">ドラフトが保存されました!</string>
<string name="toast_error_char_limit">このインスタンスがこの数の文字を許可していますか? 通常、この値は500文字に近いです。</string>
<string name="toast_visibility_changed">1 $ sアカウントのトゥイットの表示が変更されました</string>
<string name="toast_visibility_changed"> 1$s アカウントのトゥイットの表示が変更されました</string>
<string name="toast_empty_search">インスタンス名と画面名は空白にすることはできません。</string>
<!-- Settings -->
<string name="settings_title_optimisation">負荷の最適化</string>
@ -305,8 +305,8 @@
<string name="settings_title_hour">通知のタイムスロット:</string>
<string name="settings_time_from">の間に</string>
<string name="settings_time_to">そして</string>
<string name="settings_time_greater">時間は1 $ sより大きくなければなりません</string>
<string name="settings_time_lower">時間は1 $ sより短くなければなりません</string>
<string name="settings_time_greater">時間は 1$s より大きくなければなりません</string>
<string name="settings_time_lower">時間は 1$s より短くなければなりません</string>
<string name="settings_hour_init">始まる時間</string>
<string name="settings_hour_end">終了時間</string>
<string name="embedded_browser">ビルトインブラウザを使用する</string>
@ -354,9 +354,9 @@
<string name="settings_popup_notification">未読の通知については?</string>
<!-- CACHE -->
<string name="cache_title">キャッシュの消去</string>
<string name="cache_message">キャッシュに1 $ sのデータがあります。\ n \ n削除しますか</string>
<string name="cache_message">キャッシュに 1$s のデータがあります。\ n \ n削除しますか</string>
<string name="cache_units">Mb</string>
<string name="toast_cache_clear">キャッシュがクリアされました! 1 $ sが解放されました</string>
<string name="toast_cache_clear">キャッシュがクリアされました! 1$s が解放されました</string>
<!-- PRIVACY -->
<string name="privacy_data_title">記録されたデータ</string>
<string name="privacy_data">
@ -396,7 +396,7 @@
<string name="filter_regex">正規表現でフィルタする</string>
<string name="search">サーチ</string>
<string name="delete">削除</string>
<string name="fetch_more_toots">もっとたくさんのツイートを取得する...</string>
<string name="fetch_more_toots">もっとたくさんのツイートを取得する</string>
<!-- About lists -->
<string name="action_lists">リスト</string>
<string name="action_lists_confirm_delete">このリストを完全に削除してもよろしいですか?</string>

View File

@ -143,7 +143,7 @@
</plurals>
<string name="date_yesterday">Dün</string>
<string name="date_day_before_yesterday">Dünden önce</string>
<string name="date_day">% gün önce</string>
<string name="date_day">%d gün önce</string>
<plurals name="date_month">
<item quantity="one">%d ay önce</item>
<item quantity="other">%d ay önce</item>

View File

@ -20,7 +20,7 @@
<string name="download_over">Download complete</string>
<string name="save_file">Save %1$s</string>
<string name="save_over">Media saved</string>
<string name="download_from">File: %1$s</string>
<string name="download_from" formatted="false">File: %1$s</string>
<string name="password">Password</string>
<string name="email">Email</string>
<string name="accounts">Accounts</string>
@ -34,7 +34,7 @@
<string name="no_result">No results!</string>
<string name="instance">Instance</string>
<string name="instance_example">Instance: mastodon.social</string>
<string name="toast_account_changed">Now works with the account %1$s</string>
<string name="toast_account_changed" formatted="false">Now works with the account %1$s</string>
<string name="add_account">Add an account</string>
<string name="clipboard">The content of the toot has been copied to the clipboard</string>
<string name="change">Change</string>
@ -86,7 +86,7 @@
<string name="profile">Profile</string>
<string name="make_a_choice">What do you want to do?</string>
<string name="delete_account_title">Delete an account</string>
<string name="delete_account_message">Delete the account %1$s from the application?</string>
<string name="delete_account_message" formatted="false">Delete the account %1$s from the application?</string>
<string name="send_email">Send an email</string>
<string name="choose_file">Please select a file</string>
<string name="choose_file_error">No file explorer found!</string>
@ -151,7 +151,7 @@
</plurals>
<string name="date_yesterday">Yesterday</string>
<string name="date_day_before_yesterday">Before yesterday</string>
<string name="date_day">%d days ago</string>
<string name="date_day" formatted="false">%d days ago</string>
<plurals name="date_month">
<item quantity="one">%d month ago</item>
<item quantity="other">%d months ago</item>