mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Only include URL in the share functionality
This commit is contained in:
parent
3d1afe7cf2
commit
515289134e
@ -311,10 +311,9 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
|
|||||||
val source = presenter.source as? HttpSource ?: return
|
val source = presenter.source as? HttpSource ?: return
|
||||||
try {
|
try {
|
||||||
val url = source.mangaDetailsRequest(presenter.manga).url().toString()
|
val url = source.mangaDetailsRequest(presenter.manga).url().toString()
|
||||||
val title = presenter.manga.title
|
|
||||||
val intent = Intent(Intent.ACTION_SEND).apply {
|
val intent = Intent(Intent.ACTION_SEND).apply {
|
||||||
type = "text/plain"
|
type = "text/plain"
|
||||||
putExtra(Intent.EXTRA_TEXT, context.getString(R.string.share_text, title, url))
|
putExtra(Intent.EXTRA_TEXT, url)
|
||||||
}
|
}
|
||||||
startActivity(Intent.createChooser(intent, context.getString(R.string.action_share)))
|
startActivity(Intent.createChooser(intent, context.getString(R.string.action_share)))
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
|
@ -289,7 +289,6 @@
|
|||||||
<string name="manga_info_status_label">الحالة</string>
|
<string name="manga_info_status_label">الحالة</string>
|
||||||
<string name="manga_info_source_label">المصدر</string>
|
<string name="manga_info_source_label">المصدر</string>
|
||||||
<string name="manga_info_genres_label">التصنيفات</string>
|
<string name="manga_info_genres_label">التصنيفات</string>
|
||||||
<string name="share_text">التحقق من %1$s! خلال %2$s</string>
|
|
||||||
<string name="circular_icon">أيقونة دائرية</string>
|
<string name="circular_icon">أيقونة دائرية</string>
|
||||||
<string name="rounded_icon">أيقونة مدوره</string>
|
<string name="rounded_icon">أيقونة مدوره</string>
|
||||||
<string name="square_icon">أيقونة مربعة</string>
|
<string name="square_icon">أيقونة مربعة</string>
|
||||||
|
@ -241,7 +241,6 @@
|
|||||||
<string name="manga_info_status_label">Статус</string>
|
<string name="manga_info_status_label">Статус</string>
|
||||||
<string name="manga_info_source_label">Източник</string>
|
<string name="manga_info_source_label">Източник</string>
|
||||||
<string name="manga_info_genres_label">Жанрове</string>
|
<string name="manga_info_genres_label">Жанрове</string>
|
||||||
<string name="share_text">Проверете %1$s! в %2$s</string>
|
|
||||||
<string name="circular_icon">Кръгла икона</string>
|
<string name="circular_icon">Кръгла икона</string>
|
||||||
<string name="rounded_icon">Заоблена икона</string>
|
<string name="rounded_icon">Заоблена икона</string>
|
||||||
<string name="square_icon">Квадратна икона</string>
|
<string name="square_icon">Квадратна икона</string>
|
||||||
|
@ -289,7 +289,6 @@
|
|||||||
<string name="manga_info_status_label">স্ট্যাটাস</string>
|
<string name="manga_info_status_label">স্ট্যাটাস</string>
|
||||||
<string name="manga_info_source_label">উৎস</string>
|
<string name="manga_info_source_label">উৎস</string>
|
||||||
<string name="manga_info_genres_label">প্রকারভেদ</string>
|
<string name="manga_info_genres_label">প্রকারভেদ</string>
|
||||||
<string name="share_text">দেখুন %1$s! at %2$s</string>
|
|
||||||
<string name="circular_icon">বৃত্তাকার আইকন</string>
|
<string name="circular_icon">বৃত্তাকার আইকন</string>
|
||||||
<string name="rounded_icon">গোলাকার আইকন</string>
|
<string name="rounded_icon">গোলাকার আইকন</string>
|
||||||
<string name="square_icon">চতুর্ভূজ আইকন</string>
|
<string name="square_icon">চতুর্ভূজ আইকন</string>
|
||||||
|
@ -277,7 +277,6 @@
|
|||||||
<string name="manga_info_status_label">Status</string>
|
<string name="manga_info_status_label">Status</string>
|
||||||
<string name="manga_info_source_label">Quelle</string>
|
<string name="manga_info_source_label">Quelle</string>
|
||||||
<string name="manga_info_genres_label">Genres</string>
|
<string name="manga_info_genres_label">Genres</string>
|
||||||
<string name="share_text">Vielleicht gefällt dir auch %1$s! von %2$s</string>
|
|
||||||
<string name="circular_icon">Rundes Symbol</string>
|
<string name="circular_icon">Rundes Symbol</string>
|
||||||
<string name="rounded_icon">Abgerundetes Symbol</string>
|
<string name="rounded_icon">Abgerundetes Symbol</string>
|
||||||
<string name="square_icon">Eckiges Symbol</string>
|
<string name="square_icon">Eckiges Symbol</string>
|
||||||
|
@ -413,7 +413,6 @@ También asegúrese de haber iniciado sesión en las fuentes que lo requieren an
|
|||||||
<string name="manga_not_in_db">Este manga fue removido de la base de datos!</string>
|
<string name="manga_not_in_db">Este manga fue removido de la base de datos!</string>
|
||||||
|
|
||||||
<string name="manga_info_last_chapter_label">Ultimo capítulo</string>
|
<string name="manga_info_last_chapter_label">Ultimo capítulo</string>
|
||||||
<string name="share_text">Echa un vistazo a %1$s! En %2$s</string>
|
|
||||||
<string name="circular_icon">Icono circular</string>
|
<string name="circular_icon">Icono circular</string>
|
||||||
<string name="rounded_icon">Icono redondeado</string>
|
<string name="rounded_icon">Icono redondeado</string>
|
||||||
<string name="square_icon">Icono cuadrado</string>
|
<string name="square_icon">Icono cuadrado</string>
|
||||||
|
@ -230,7 +230,6 @@
|
|||||||
<string name="manga_info_status_label">Statut</string>
|
<string name="manga_info_status_label">Statut</string>
|
||||||
<string name="manga_info_source_label">Source</string>
|
<string name="manga_info_source_label">Source</string>
|
||||||
<string name="manga_info_genres_label">Genres</string>
|
<string name="manga_info_genres_label">Genres</string>
|
||||||
<string name="share_text">Regarde %1$s ! sur %2$s</string>
|
|
||||||
<string name="circular_icon">Icône circulaire</string>
|
<string name="circular_icon">Icône circulaire</string>
|
||||||
<string name="square_icon">Icône carrée</string>
|
<string name="square_icon">Icône carrée</string>
|
||||||
<string name="star_icon">Icône étoile</string>
|
<string name="star_icon">Icône étoile</string>
|
||||||
|
@ -290,7 +290,6 @@
|
|||||||
<string name="manga_info_status_label">स्थिति</string>
|
<string name="manga_info_status_label">स्थिति</string>
|
||||||
<string name="manga_info_source_label">स्रोत</string>
|
<string name="manga_info_source_label">स्रोत</string>
|
||||||
<string name="manga_info_genres_label">शैलियां</string>
|
<string name="manga_info_genres_label">शैलियां</string>
|
||||||
<string name="share_text">%1$s देखें! %2$s पर</string>
|
|
||||||
<string name="circular_icon">परिपत्र आइकन</string>
|
<string name="circular_icon">परिपत्र आइकन</string>
|
||||||
<string name="rounded_icon">गोल आइकन</string>
|
<string name="rounded_icon">गोल आइकन</string>
|
||||||
<string name="square_icon">स्क्वायर आइकन</string>
|
<string name="square_icon">स्क्वायर आइकन</string>
|
||||||
|
@ -279,7 +279,6 @@
|
|||||||
<string name="manga_info_status_label">Status</string>
|
<string name="manga_info_status_label">Status</string>
|
||||||
<string name="manga_info_source_label">Sumber</string>
|
<string name="manga_info_source_label">Sumber</string>
|
||||||
<string name="manga_info_genres_label">Genre</string>
|
<string name="manga_info_genres_label">Genre</string>
|
||||||
<string name="share_text">Lihat %1$s! pada %2$s</string>
|
|
||||||
<string name="circular_icon">Ikon melingkar</string>
|
<string name="circular_icon">Ikon melingkar</string>
|
||||||
<string name="rounded_icon">Ikon dibulatkan</string>
|
<string name="rounded_icon">Ikon dibulatkan</string>
|
||||||
<string name="square_icon">Ikon persegi</string>
|
<string name="square_icon">Ikon persegi</string>
|
||||||
|
@ -235,7 +235,6 @@
|
|||||||
<string name="manga_info_status_label">Stato</string>
|
<string name="manga_info_status_label">Stato</string>
|
||||||
<string name="manga_info_source_label">Fonte</string>
|
<string name="manga_info_source_label">Fonte</string>
|
||||||
<string name="manga_info_genres_label">Generi</string>
|
<string name="manga_info_genres_label">Generi</string>
|
||||||
<string name="share_text">Dai un\'occhiata a %1$s! %2$s</string>
|
|
||||||
<string name="circular_icon">Icona circolare</string>
|
<string name="circular_icon">Icona circolare</string>
|
||||||
<string name="rounded_icon">Icona arrotondata</string>
|
<string name="rounded_icon">Icona arrotondata</string>
|
||||||
<string name="square_icon">Icona quadrata</string>
|
<string name="square_icon">Icona quadrata</string>
|
||||||
|
@ -291,7 +291,6 @@
|
|||||||
<string name="manga_info_status_label">Status</string>
|
<string name="manga_info_status_label">Status</string>
|
||||||
<string name="manga_info_source_label">Sumber</string>
|
<string name="manga_info_source_label">Sumber</string>
|
||||||
<string name="manga_info_genres_label">Genre</string>
|
<string name="manga_info_genres_label">Genre</string>
|
||||||
<string name="share_text">Lihat %1$s! pada %2$s</string>
|
|
||||||
<string name="circular_icon">Ikon melingkar</string>
|
<string name="circular_icon">Ikon melingkar</string>
|
||||||
<string name="rounded_icon">Ikon berbulat</string>
|
<string name="rounded_icon">Ikon berbulat</string>
|
||||||
<string name="square_icon">Ikon bersegi</string>
|
<string name="square_icon">Ikon bersegi</string>
|
||||||
|
@ -394,7 +394,6 @@ Zorg ook dat je ingelogd bent voor bronnen die dit vereisen alvorens je het teru
|
|||||||
<string name="choices_reset">Keuzes gereset</string>
|
<string name="choices_reset">Keuzes gereset</string>
|
||||||
<string name="login_success">Login geslaagd</string>
|
<string name="login_success">Login geslaagd</string>
|
||||||
<string name="invalid_login">Login error</string>
|
<string name="invalid_login">Login error</string>
|
||||||
<string name="share_text">Bekijk %1$s! op %2$s</string>
|
|
||||||
<string name="shortcut_title">Titel van de snelkoppeling</string>
|
<string name="shortcut_title">Titel van de snelkoppeling</string>
|
||||||
<string name="confirm_update_manga_sync">Update het laatst gelezen hoofdstuk in de ingeschakelde services op %1$d?</string>
|
<string name="confirm_update_manga_sync">Update het laatst gelezen hoofdstuk in de ingeschakelde services op %1$d?</string>
|
||||||
<string name="licensed">Gelicenseerd</string>
|
<string name="licensed">Gelicenseerd</string>
|
||||||
|
@ -341,7 +341,6 @@ Nie znaleziono źródła %1$s</string>
|
|||||||
<string name="manga_info_chapters_label">Rozdziały</string>
|
<string name="manga_info_chapters_label">Rozdziały</string>
|
||||||
<string name="manga_info_last_chapter_label">Ostatni rozdział</string>
|
<string name="manga_info_last_chapter_label">Ostatni rozdział</string>
|
||||||
<string name="manga_info_status_label">Status</string>
|
<string name="manga_info_status_label">Status</string>
|
||||||
<string name="share_text">Zobacz %1$s! na %2$s</string>
|
|
||||||
<string name="circular_icon">Okrągła ikonka</string>
|
<string name="circular_icon">Okrągła ikonka</string>
|
||||||
<string name="rounded_icon">Zaokrąglona ikonka</string>
|
<string name="rounded_icon">Zaokrąglona ikonka</string>
|
||||||
<string name="square_icon">Kwadratowa ikonka</string>
|
<string name="square_icon">Kwadratowa ikonka</string>
|
||||||
|
@ -278,7 +278,6 @@ Além disso, verifique se as fontes que requerem uma conta foram configuradas co
|
|||||||
<string name="manga_info_status_label">Situação</string>
|
<string name="manga_info_status_label">Situação</string>
|
||||||
<string name="manga_info_source_label">Fonte</string>
|
<string name="manga_info_source_label">Fonte</string>
|
||||||
<string name="manga_info_genres_label">Gêneros</string>
|
<string name="manga_info_genres_label">Gêneros</string>
|
||||||
<string name="share_text">Confira %1$s! em %2$s</string>
|
|
||||||
<string name="circular_icon">Ícone circular</string>
|
<string name="circular_icon">Ícone circular</string>
|
||||||
<string name="rounded_icon">Ícone redondo</string>
|
<string name="rounded_icon">Ícone redondo</string>
|
||||||
<string name="square_icon">Ícone quadrado</string>
|
<string name="square_icon">Ícone quadrado</string>
|
||||||
|
@ -253,7 +253,6 @@
|
|||||||
<string name="select_source">Выберите каталог</string>
|
<string name="select_source">Выберите каталог</string>
|
||||||
<string name="services">Сервисы</string>
|
<string name="services">Сервисы</string>
|
||||||
<string name="set_as_cover">Установить обложку</string>
|
<string name="set_as_cover">Установить обложку</string>
|
||||||
<string name="share_text">Проверьте %1$s! в %2$s</string>
|
|
||||||
<string name="shortcut_title">Название ярлыка</string>
|
<string name="shortcut_title">Название ярлыка</string>
|
||||||
<string name="show_chapter_number">Показывать номер главы</string>
|
<string name="show_chapter_number">Показывать номер главы</string>
|
||||||
<string name="show_password">Показывать пароль</string>
|
<string name="show_password">Показывать пароль</string>
|
||||||
|
@ -240,7 +240,6 @@
|
|||||||
<string name="manga_info_status_label">Trạng thái</string>
|
<string name="manga_info_status_label">Trạng thái</string>
|
||||||
<string name="manga_info_source_label">Nguồn truyện</string>
|
<string name="manga_info_source_label">Nguồn truyện</string>
|
||||||
<string name="manga_info_genres_label">Thể loại</string>
|
<string name="manga_info_genres_label">Thể loại</string>
|
||||||
<string name="share_text">Kiểm tra %1$s! tại %2$s</string>
|
|
||||||
<string name="circular_icon">Biểu tượng tròn</string>
|
<string name="circular_icon">Biểu tượng tròn</string>
|
||||||
<string name="rounded_icon">Biểu tượng hình chữ nhật</string>
|
<string name="rounded_icon">Biểu tượng hình chữ nhật</string>
|
||||||
<string name="square_icon">Biểu tượng vuông</string>
|
<string name="square_icon">Biểu tượng vuông</string>
|
||||||
|
@ -338,7 +338,6 @@
|
|||||||
<string name="manga_info_status_label">Status</string>
|
<string name="manga_info_status_label">Status</string>
|
||||||
<string name="manga_info_source_label">Source</string>
|
<string name="manga_info_source_label">Source</string>
|
||||||
<string name="manga_info_genres_label">Genres</string>
|
<string name="manga_info_genres_label">Genres</string>
|
||||||
<string name="share_text">Check out %1$s! at %2$s</string>
|
|
||||||
<string name="circular_icon">Circular icon</string>
|
<string name="circular_icon">Circular icon</string>
|
||||||
<string name="rounded_icon">Rounded icon</string>
|
<string name="rounded_icon">Rounded icon</string>
|
||||||
<string name="square_icon">Square icon</string>
|
<string name="square_icon">Square icon</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user