Skip to content

Commit

Permalink
[skp] adj: 移除 相册-解锁 AI 写真功能
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed Jan 25, 2025
1 parent 572fe66 commit e01bddd
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import com.sevtinge.hyperceiler.module.hook.gallery.EnableTextYanhua;
import com.sevtinge.hyperceiler.module.hook.gallery.EnableVideoPost;
import com.sevtinge.hyperceiler.module.hook.gallery.UnPrivacyWatermark;
import com.sevtinge.hyperceiler.module.hook.gallery.UnlockAIGallery;
import com.sevtinge.hyperceiler.module.hook.various.UnlockSuperClipboard;

@HookBase(targetPackage = "com.miui.gallery")
Expand All @@ -54,7 +53,6 @@ public void handleLoadPackage() {
initHook(new EnableOcr(), mPrefsMap.getBoolean("gallery_enable_ocr"));
initHook(new EnableOcrForm(), mPrefsMap.getBoolean("gallery_enable_ocr_form"));
initHook(new ChangeBackupServer(), mPrefsMap.getStringAsInt("gallery_backup_server", 0) != 0);
initHook(UnlockAIGallery.INSTANCE, mPrefsMap.getBoolean("gallery_enable_ai_gallery"));
initHook(UnlockSuperClipboard.INSTANCE, mPrefsMap.getStringAsInt("various_super_clipboard_e", 0) != 0);
}
}

This file was deleted.

1 change: 0 additions & 1 deletion app/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@
<string name="gallery_enable_pdf">فتح إنشاء PDF</string>
<string name="gallery_enable_ocr">فتح OCR</string>
<string name="gallery_enable_ocr_form">فتح مسح الجدول</string>
<string name="gallery_enable_ai_gallery">فتح المعرض الذكي</string>
<string name="gallery_enable_id_photo">فتح صورة الهوية</string>
<string name="gallery_enable_photo_movie">فتح مقطع الفيديو</string>
<string name="gallery_enable_video_post">فتح تأثيرات الفيديو</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,6 @@ aplicaciones del sistema</string>
<string name="gallery_enable_pdf">Desbloquear la generación de PDF</string>
<string name="gallery_enable_ocr">Desbloquear OCR</string>
<string name="gallery_enable_ocr_form">Desbloquear el escaneo de tabla</string>
<string name="gallery_enable_ai_gallery">Desbloquear IA de foto</string>
<string name="gallery_enable_id_photo">Desbloquear fotos de ID</string>
<string name="gallery_enable_photo_movie">Desbloquear película fotográfica</string>
<string name="gallery_enable_video_post">Desbloquear efectos cinematográficos</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-in-rID/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,6 @@
<string name="gallery_enable_pdf">Buka kunci menghasilkan PDF</string>
<string name="gallery_enable_ocr">Buka kunci OCR</string>
<string name="gallery_enable_ocr_form">Buka kunci tabel pemindaian</string>
<string name="gallery_enable_ai_gallery">Buka kunci foto AI</string>
<string name="gallery_enable_id_photo">Buka kunci ID</string>
<string name="gallery_enable_photo_movie">Buka Kunci Klip</string>
<string name="gallery_enable_video_post">Buka kunci efek Video</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,6 @@
<string name="gallery_enable_pdf">Sblocca genera PDF</string>
<string name="gallery_enable_ocr">Sblocca OCR</string>
<string name="gallery_enable_ocr_form">Sblocca tabella di scansione</string>
<string name="gallery_enable_ai_gallery">Sblocca foto AI</string>
<string name="gallery_enable_id_photo">Sblocca ID</string>
<string name="gallery_enable_photo_movie">Sblocca clip</string>
<string name="gallery_enable_video_post">Sblocca effetti video</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,6 @@
<string name="gallery_enable_pdf">PDF の生成をアンロック</string>
<string name="gallery_enable_ocr">OCR をアンロック</string>
<string name="gallery_enable_ocr_form">表のスキャンをアンロック</string>
<string name="gallery_enable_ai_gallery">AI 写真をアンロック</string>
<string name="gallery_enable_id_photo">ID をアンロック</string>
<string name="gallery_enable_photo_movie">クリップ機能をアンロック</string>
<string name="gallery_enable_video_post">ビデオエフェクトをアンロック</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-pl-rPL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@
<string name="gallery_enable_pdf">Odblokuj tworzenie PDF</string>
<string name="gallery_enable_ocr">Odblokuj OCR</string>
<string name="gallery_enable_ocr_form">Odblokuj skanowanie tabeli</string>
<string name="gallery_enable_ai_gallery">Odblokuj zdjęcia SI</string>
<string name="gallery_enable_id_photo">Odblokuj ID</string>
<string name="gallery_enable_photo_movie">Odblokuj klip</string>
<string name="gallery_enable_video_post">Odblokuj efekty wideo</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,6 @@
<string name="gallery_enable_pdf">Desbloquear Criar PDF</string>
<string name="gallery_enable_ocr">Desbloquear Reconhecer texto</string>
<string name="gallery_enable_ocr_form">Desbloquear tabela de digitalização</string>
<string name="gallery_enable_ai_gallery">Desbloquear foto IA</string>
<string name="gallery_enable_id_photo">Desbloquear Identificação</string>
<string name="gallery_enable_photo_movie">Desbloquear Clipe</string>
<string name="gallery_enable_video_post">Desbloquear Efeitos de vídeo</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-ru-rRU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@
<string name="gallery_enable_pdf">Создать PDF</string>
<string name="gallery_enable_ocr">Распознавание текста</string>
<string name="gallery_enable_ocr_form">Распознавание таблиц</string>
<string name="gallery_enable_ai_gallery">Разблокировать AI-фото</string>
<string name="gallery_enable_id_photo">Фото ID</string>
<string name="gallery_enable_photo_movie">Ролик из фото</string>
<string name="gallery_enable_video_post">Видеоэффекты</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-tr-rTR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,6 @@
<string name="gallery_enable_pdf">PDF oluşturmanın kilidini aç</string>
<string name="gallery_enable_ocr">OCR\'nin kilidini aç</string>
<string name="gallery_enable_ocr_form">Tarama tablosunun kilidini aç</string>
<string name="gallery_enable_ai_gallery">AI fotoğraf kilidini aç</string>
<string name="gallery_enable_id_photo">Kimliğin kilidini aç</string>
<string name="gallery_enable_photo_movie">Klibin kilidini aç</string>
<string name="gallery_enable_video_post">Video efektlerinin kilidini aç</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-vi-rVN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,6 @@ Chức năng này là chức năng thử nghiệm có độ ổn định cao</st
<string name="gallery_enable_pdf">Mở khóa tạo PDF</string>
<string name="gallery_enable_ocr">Mở khóa OCR</string>
<string name="gallery_enable_ocr_form">Mở khóa quét biểu mẫu</string>
<string name="gallery_enable_ai_gallery">Mở khóa ảnh AI</string>
<string name="gallery_enable_id_photo">Mở khóa ID</string>
<string name="gallery_enable_photo_movie">Mở khóa Clip</string>
<string name="gallery_enable_video_post">Mở khóa Hiệu ứng video</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,6 @@
<string name="gallery_enable_pdf">解锁生成 PDF</string>
<string name="gallery_enable_ocr">解锁提取文字</string>
<string name="gallery_enable_ocr_form">解锁提取表格</string>
<string name="gallery_enable_ai_gallery">解锁 AI 写真</string>
<string name="gallery_enable_id_photo">解锁证件照</string>
<string name="gallery_enable_photo_movie">解锁照片电影</string>
<string name="gallery_enable_video_post">解锁视频特效</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rHK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,6 @@
<string name="gallery_enable_pdf">解鎖生成 PDF</string>
<string name="gallery_enable_ocr">解鎖提取文字</string>
<string name="gallery_enable_ocr_form">解鎖提取表格</string>
<string name="gallery_enable_ai_gallery">解鎖 AI 寫真</string>
<string name="gallery_enable_id_photo">解鎖證件照</string>
<string name="gallery_enable_photo_movie">解鎖照片電影</string>
<string name="gallery_enable_video_post">解鎖影片特效</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rME/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@
<!--LPA-->
<!--Gallery-->
<string name="gallery">Apiano 店</string>
<string name="gallery_enable_ai_gallery">AI高清写真</string>
<!--System security components-->
<!--System launcher-->
<string name="home_recent_animation_speed">能... 能不能... 再快一点...</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,6 @@
<string name="gallery_enable_pdf">解鎖生成 PDF</string>
<string name="gallery_enable_ocr">解鎖提取文字</string>
<string name="gallery_enable_ocr_form">解鎖提取表格</string>
<string name="gallery_enable_ai_gallery">解鎖 AI 寫真</string>
<string name="gallery_enable_id_photo">解鎖證件照</string>
<string name="gallery_enable_photo_movie">解鎖照片電影</string>
<string name="gallery_enable_video_post">解鎖影片特效</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,6 @@
<string name="gallery_enable_pdf">Unlock Create PDF</string>
<string name="gallery_enable_ocr">Unlock OCR</string>
<string name="gallery_enable_ocr_form">Unlock scan table</string>
<string name="gallery_enable_ai_gallery">Unlock AI photo</string>
<string name="gallery_enable_id_photo">Unlock ID</string>
<string name="gallery_enable_photo_movie">Unlock Clip</string>
<string name="gallery_enable_video_post">Unlock Video effects</string>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/gallery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
</PreferenceCategory>

<PreferenceCategory android:title="@string/recommend">
<SwitchPreference
android:defaultValue="false"
android:key="prefs_key_gallery_enable_ai_gallery"
android:title="@string/gallery_enable_ai_gallery" />

<SwitchPreference
android:defaultValue="false"
android:key="prefs_key_gallery_enable_id_photo"
Expand Down

0 comments on commit e01bddd

Please sign in to comment.