Browse Source
more general maintenance
renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
18 changed files with
20 additions and
34 deletions
-
app/build.gradle
-
app/src/main/java/awais/instagrabber/utils/LocaleUtils.java
-
app/src/main/java/awais/instagrabber/webservices/AddCookiesInterceptor.java
-
app/src/main/res/values-de/strings.xml
-
app/src/main/res/values-es/strings.xml
-
app/src/main/res/values-fa/strings.xml
-
app/src/main/res/values-fr/strings.xml
-
app/src/main/res/values-hi/strings.xml
-
app/src/main/res/values-in/strings.xml
-
app/src/main/res/values-it/strings.xml
-
app/src/main/res/values-mk/strings.xml
-
app/src/main/res/values-pl/strings.xml
-
app/src/main/res/values-pt/strings.xml
-
app/src/main/res/values-tr/strings.xml
-
app/src/main/res/values-vi/strings.xml
-
app/src/main/res/values-zh/strings.xml
-
app/src/main/res/values/strings.xml
-
gradle/wrapper/gradle-wrapper.properties
|
|
@ -82,4 +82,8 @@ dependencies { |
|
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.5' |
|
|
|
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.0' |
|
|
|
|
|
|
|
// temporary |
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.10' |
|
|
|
implementation 'org.jetbrains:annotations:13.0' |
|
|
|
} |
|
|
@ -72,6 +72,7 @@ public final class LocaleUtils { |
|
|
|
if (appLanguageIndex == 11) return "fa"; |
|
|
|
if (appLanguageIndex == 12) return "mk"; |
|
|
|
if (appLanguageIndex == 13) return "vi"; |
|
|
|
if (appLanguageIndex == 14) return "hi"; |
|
|
|
|
|
|
|
return null; |
|
|
|
} |
|
|
@ -5,6 +5,7 @@ import androidx.annotation.NonNull; |
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
import awais.instagrabber.utils.Constants; |
|
|
|
import awais.instagrabber.utils.LocaleUtils; |
|
|
|
import awais.instagrabber.utils.Utils; |
|
|
|
import okhttp3.Interceptor; |
|
|
|
import okhttp3.Request; |
|
|
@ -22,6 +23,10 @@ public class AddCookiesInterceptor implements Interceptor { |
|
|
|
if (request.header(userAgentHeader) == null) { |
|
|
|
builder.addHeader(userAgentHeader, Constants.I_USER_AGENT); |
|
|
|
} |
|
|
|
final String languageHeader = "Accept-Language"; |
|
|
|
if (request.header(languageHeader) == null) { |
|
|
|
builder.addHeader(languageHeader, LocaleUtils.getCurrentLocale().getLanguage() + ",en-US;q=0.8"); |
|
|
|
} |
|
|
|
final Request updatedRequest = builder.build(); |
|
|
|
return chain.proceed(updatedRequest); |
|
|
|
} |
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Herunterladen</string> |
|
|
|
<string name="action_search">Benutzernamen suchen…</string> |
|
|
|
<string name="action_compare">Vergleichen</string> |
|
|
|
<string name="single_like">Like</string> |
|
|
|
<string name="multiple_likes">Likes</string> |
|
|
|
<string name="clipboard_error">Fehler beim Kopieren des Textes</string> |
|
|
|
<string name="clipboard_copied">In die Zwischenablage kopiert!</string> |
|
|
|
<string name="report">Melden</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Descarga</string> |
|
|
|
<string name="action_search">Buscar usuario…</string> |
|
|
|
<string name="action_compare">Comparar</string> |
|
|
|
<string name="single_like">me gusta</string> |
|
|
|
<string name="multiple_likes">me gustas</string> |
|
|
|
<string name="clipboard_error">Error al copiar texto</string> |
|
|
|
<string name="clipboard_copied">¡Copiar al portapapeles!</string> |
|
|
|
<string name="report">Reportar</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">دانلود</string> |
|
|
|
<string name="action_search">جستجوی نام کاربری…</string> |
|
|
|
<string name="action_compare">مقایسه</string> |
|
|
|
<string name="single_like">پسندیدن</string> |
|
|
|
<string name="multiple_likes">پسند</string> |
|
|
|
<string name="clipboard_error">خطا هنگام کپی متن</string> |
|
|
|
<string name="clipboard_copied">به کلیپ بورد کپی شد!</string> |
|
|
|
<string name="report">گزارش</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Téléchargement</string> |
|
|
|
<string name="action_search">Rechercher par nom d\'utilisateur…</string> |
|
|
|
<string name="action_compare">Comparer</string> |
|
|
|
<string name="single_like">j\'aime</string> |
|
|
|
<string name="multiple_likes">j\'aimes</string> |
|
|
|
<string name="clipboard_error">Erreur lors de la copie des éléments</string> |
|
|
|
<string name="clipboard_copied">Copié dans le presse-papier !</string> |
|
|
|
<string name="report">Reporter</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">डाउनलोड करें</string> |
|
|
|
<string name="action_search">ब्यबहारकारीयों के ब्यबहृत नाम ढुंढे...</string> |
|
|
|
<string name="action_compare">तुलना करें</string> |
|
|
|
<string name="single_like">पसंद करें</string> |
|
|
|
<string name="multiple_likes">पसन्दित</string> |
|
|
|
<string name="clipboard_error">लेखा उतारने में त्रुटि</string> |
|
|
|
<string name="clipboard_copied">क्लिपबोर्ड पर नक़ल किया</string> |
|
|
|
<string name="report">रिपोर्ट करें</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Unduh</string> |
|
|
|
<string name="action_search">Cari Pengguna…</string> |
|
|
|
<string name="action_compare">Bandingkan</string> |
|
|
|
<string name="single_like">suka</string> |
|
|
|
<string name="multiple_likes">suka</string> |
|
|
|
<string name="clipboard_error">Galat menyalin tulisan</string> |
|
|
|
<string name="clipboard_copied">Tersalin!</string> |
|
|
|
<string name="report">Laporkan</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Scarica</string> |
|
|
|
<string name="action_search">Cerca utente…</string> |
|
|
|
<string name="action_compare">Compara</string> |
|
|
|
<string name="single_like">hai messo un Like</string> |
|
|
|
<string name="multiple_likes">likes</string> |
|
|
|
<string name="clipboard_error">Errore durante la copia del testo</string> |
|
|
|
<string name="clipboard_copied">Copiato negli appunti!</string> |
|
|
|
<string name="report">Segnala</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Превземи</string> |
|
|
|
<string name="action_search">Пребарај username…</string> |
|
|
|
<string name="action_compare">Спореди</string> |
|
|
|
<string name="single_like">лајкни</string> |
|
|
|
<string name="multiple_likes">лајкови</string> |
|
|
|
<string name="clipboard_error">Грешка при копрање текст</string> |
|
|
|
<string name="clipboard_copied">Копрано во clipboard!</string> |
|
|
|
<string name="report">Пријави</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Pobierz</string> |
|
|
|
<string name="action_search">Szukaj użytkownika…</string> |
|
|
|
<string name="action_compare">Porównaj</string> |
|
|
|
<string name="single_like">polubienie</string> |
|
|
|
<string name="multiple_likes">polubienia</string> |
|
|
|
<string name="clipboard_error">Wystąpił błąd podczas kopiowania tekstu</string> |
|
|
|
<string name="clipboard_copied">Skopiowano do schowka!</string> |
|
|
|
<string name="report">Zgłoś</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Baixar</string> |
|
|
|
<string name="action_search">Pesquisar nome de usuário…</string> |
|
|
|
<string name="action_compare">Comparar</string> |
|
|
|
<string name="single_like">like</string> |
|
|
|
<string name="multiple_likes">likes</string> |
|
|
|
<string name="clipboard_error">Erro ao copiar texto</string> |
|
|
|
<string name="clipboard_copied">Copiado para a área de transferência!</string> |
|
|
|
<string name="report">Reportar</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">İndir</string> |
|
|
|
<string name="action_search">Kullanıcı adı ara…</string> |
|
|
|
<string name="action_compare">Karşılaştır</string> |
|
|
|
<string name="single_like">beğeni</string> |
|
|
|
<string name="multiple_likes">beğeni</string> |
|
|
|
<string name="clipboard_error">Metin kopyalanamadı</string> |
|
|
|
<string name="clipboard_copied">Panoya kopyalandı!</string> |
|
|
|
<string name="report">Bildir</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">Tải xuống</string> |
|
|
|
<string name="action_search">Tìm tên người dùng…</string> |
|
|
|
<string name="action_compare">So sánh</string> |
|
|
|
<string name="single_like">thích</string> |
|
|
|
<string name="multiple_likes">thích</string> |
|
|
|
<string name="clipboard_error">Lỗi khi sao chép</string> |
|
|
|
<string name="clipboard_copied">Đã sao chép vào clipboard!</string> |
|
|
|
<string name="report">Báo cáo</string> |
|
|
|
|
|
@ -6,8 +6,6 @@ |
|
|
|
<string name="action_download">下载</string> |
|
|
|
<string name="action_search">搜索用户名…</string> |
|
|
|
<string name="action_compare">比较</string> |
|
|
|
<string name="single_like">次赞</string> |
|
|
|
<string name="multiple_likes">次赞</string> |
|
|
|
<string name="clipboard_error">复制文字时出错</string> |
|
|
|
<string name="clipboard_copied">已复制到剪贴板!</string> |
|
|
|
<string name="report">报告</string> |
|
|
|
|
|
@ -306,11 +306,11 @@ |
|
|
|
<string name="player_timeline_desc">Video player timeline</string> |
|
|
|
<string name="one_x" translatable="false">1x</string> |
|
|
|
<string name="two_x" translatable="false">2x</string> |
|
|
|
<string name="pt_two_five_x">0.25x</string> |
|
|
|
<string name="pt_five_x">0.5x</string> |
|
|
|
<string name="pt_seven_five_x">0.75x</string> |
|
|
|
<string name="one_pt_two_five_x">1.25x</string> |
|
|
|
<string name="one_pt_five_x">1.5x</string> |
|
|
|
<string name="pt_two_five_x" translatable="false">0.25x</string> |
|
|
|
<string name="pt_five_x" translatable="false">0.5x</string> |
|
|
|
<string name="pt_seven_five_x" translatable="false">0.75x</string> |
|
|
|
<string name="one_pt_two_five_x" translatable="false">1.25x</string> |
|
|
|
<string name="one_pt_five_x" translatable="false">1.5x</string> |
|
|
|
<string name="liking">Liking…</string> |
|
|
|
<string name="like_unsuccessful">Like unsuccessful</string> |
|
|
|
<string name="unlike_unsuccessful">Unlike unsuccessful</string> |
|
|
|
|
|
@ -1,6 +1,8 @@ |
|
|
|
distributionBase=GRADLE_USER_HOME |
|
|
|
distributionPath=wrapper/dists |
|
|
|
distributionSha256Sum=5252d2f1a984e5518e604678b3964bb0227c4573fcc880b92548bc687c851704 |
|
|
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-rc-5-all.zip |
|
|
|
distributionSha256Sum=0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583 |
|
|
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip |
|
|
|
# https://gradle.org/releases/ |
|
|
|
# https://gradle.org/release-checksums/ |
|
|
|
zipStoreBase=GRADLE_USER_HOME |
|
|
|
zipStorePath=wrapper/dists |