Skip to content

Commit c8decf2

Browse files
authored
Merge pull request #386 from EhPanda-Team/develop
Bugfixes
2 parents 75e020f + 3c47d1f commit c8decf2

File tree

25 files changed

+635
-293
lines changed

25 files changed

+635
-293
lines changed

.github/workflows/dependencies.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ permissions:
88
pull-requests: write
99
jobs:
1010
dependencies:
11-
runs-on: macos-14
11+
runs-on: macos-15
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
forceResolution: true
2121
failWhenOutdated: false
22-
xcodePath: '/Applications/Xcode_15.4.app'
22+
xcodePath: '/Applications/Xcode_16.0.app'
2323
- name: Create Pull Request
2424
if: steps.resolution.outputs.dependenciesChanged == 'true'
25-
uses: peter-evans/create-pull-request@v6
25+
uses: peter-evans/create-pull-request@v7
2626
with:
2727
branch: 'update-dependencies'
2828
delete-branch: true

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
- main
66
types: [closed]
77
env:
8-
DEVELOPER_DIR: /Applications/Xcode_15.4.app
9-
APP_VERSION: '2.7.5'
8+
DEVELOPER_DIR: /Applications/Xcode_16.0.app
9+
APP_VERSION: '2.7.6'
1010
SCHEME_NAME: 'EhPanda'
1111
ALTSTORE_JSON_PATH: './AltStore.json'
1212
BUILDS_PATH: '/tmp/action-builds'
@@ -19,7 +19,7 @@ env:
1919

2020
jobs:
2121
Deploy:
22-
runs-on: macos-14
22+
runs-on: macos-15
2323
if: github.event.pull_request.merged == true && github.event.pull_request.user.login == 'chihchy'
2424
steps:
2525
- name: Checkout
@@ -34,7 +34,7 @@ jobs:
3434
run: xcodebuild clean test
3535
-skipMacroValidation
3636
-scheme ${{ env.SCHEME_NAME }}
37-
-destination 'platform=iOS Simulator,name=iPhone 15 Pro'
37+
-destination 'platform=iOS Simulator,name=iPhone 16 Pro'
3838
- name: Bump version
3939
id: bump-version
4040
uses: yanamura/ios-bump-version@v1
@@ -77,7 +77,7 @@ jobs:
7777
[[ ! -z "${{ steps.bump-version.outputs.version }}" ]] || exit 1
7878
[[ ! -z "${{ steps.retrieve-data.outputs.version_date }}" ]] || exit 1
7979
- name: Release to GitHub
80-
uses: softprops/action-gh-release@v1
80+
uses: softprops/action-gh-release@v2
8181
with:
8282
fail_on_unmatched_files: true
8383
files: ${{ env.IPA_OUTPUT_PATH }}

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Test
22
on: [push, workflow_dispatch]
33
env:
44
SCHEME_NAME: 'EhPanda'
5-
DEVELOPER_DIR: /Applications/Xcode_15.4.app
5+
DEVELOPER_DIR: /Applications/Xcode_16.0.app
66
jobs:
77
Test:
8-
runs-on: macos-14
8+
runs-on: macos-15
99
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
1010
steps:
1111
- name: Checkout
@@ -16,4 +16,4 @@ jobs:
1616
run: xcodebuild clean test
1717
-skipMacroValidation
1818
-scheme ${{ env.SCHEME_NAME }}
19-
-destination 'platform=iOS Simulator,name=iPhone 15 Pro'
19+
-destination 'platform=iOS Simulator,name=iPhone 16 Pro'

EhPanda/App/Generated/Strings.swift

Lines changed: 40 additions & 8 deletions
Large diffs are not rendered by default.

EhPanda/App/Tools/Parser.swift

Lines changed: 95 additions & 18 deletions
Large diffs are not rendered by default.

EhPanda/App/de.lproj/Localizable.strings

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@
453453
"enum.eh_setting.display_mode.value.minimal" = "Minimal";
454454
"enum.eh_setting.display_mode.value.minimalPlus" = "Minimal+";
455455

456+
"eh_setting_view.section.title.optional_UI_elements" = "Optional UI Elements";
457+
"eh_setting_view.description.optional_UI_elements" = "Some historic UI elements are now disabled by default. You can enable those here.";
458+
"eh_setting_view.title.enable_gallery_thumbnail_selector" = "Enable thumbnail selector on gallery screen";
459+
456460
"eh_setting_view.section.title.favorites" = "Favorites";
457461
"eh_setting_view.description.favorite_categories" = "Here you can choose and rename your favorite categories.";
458462
"eh_setting_view.title.favorites_sort_order" = "Favorites sort order";
@@ -507,10 +511,14 @@
507511
// EhSetting.ThumbnailSize
508512
"enum.eh_setting.thumbnail_size.value.normal" = "Normal";
509513
"enum.eh_setting.thumbnail_size.value.large" = "Large";
514+
"enum.eh_setting.thumbnail_size.value.small" = "Small";
515+
"enum.eh_setting.thumbnail_size.value.auto" = "Auto";
510516

511517
"eh_setting_view.section.title.thumbnail_scaling" = "Thumbnail Scaling";
518+
"eh_setting_view.section.title.cover_scaling" = "Cover Scaling";
512519
"eh_setting_view.title.scale_factor" = "Scale factor";
513-
"eh_setting_view.description.scale_factor" = "Thumbnails on the thumbnail and extended gallery list views can be scaled to a custom value between 75%% and 150%%.";
520+
"eh_setting_view.description.thumbnail_scale_factor" = "Thumbnails on the thumbnail and extended gallery list views can be scaled to a custom value between 75%% and 150%%.";
521+
"eh_setting_view.description.cover_scale_factor" = "The cover size in gallery list views can be scaled to between 75%% and 150%% when using the Thumbnail or Extended display modes.";
514522

515523
"eh_setting_view.section.title.viewport_override" = "Viewport Override";
516524
"eh_setting_view.title.virtual_width" = "Virtual width";
@@ -534,13 +542,15 @@
534542
"enum.eh_setting.tags_sort_order.value.tag_power" = "By tag power";
535543

536544
"eh_setting_view.section.title.gallery_page_numbering" = "Gallery Page Numbering";
545+
"eh_setting_view.section.title.gallery_page_thumbnail_labeling" = "Gallery Page Thumbnail Labeling";
537546
"eh_setting_view.title.show_gallery_page_numbers" = "Show gallery page numbers";
547+
"eh_setting_view.title.show_label_below_gallery_thumbnails" = "Show label below gallery thumbnails";
538548

539549
"eh_setting_view.section.title.hath_local_network_host" = "Hath Local Network Host";
540550
"eh_setting_view.title.ip_address_port" = "IP address:Port";
541551
"eh_setting_view.description.ip_address_port" = "This setting can be used if you have a H@H client running on your local network with the same public IP you browse the site with. Some routers are buggy and cannot route requests back to its own IP; this allows you to work around this problem.\nIf you are running the client on the same device you browse from, use the loopback address (127.0.0.1:port). If the client is running on another device on your network, use its local network IP. Some browser configurations prevent external web sites from accessing URLs with local network IPs, the site must then be whitelisted for this to work.";
542552

543-
"eh_setting_view.section.title.original_images" = "Original Images";
553+
"eh_setting_view.section.title.original_images" = "Use original images instead of the resampled versions? Resampled images will still be used if you select a horizontal resolution different than \"Auto\" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year).";
544554
"eh_setting_view.title.use_original_images" = "Use original images";
545555

546556
"eh_setting_view.section.title.multi_page_viewer" = "Multi-Page Viewer";
@@ -551,6 +561,12 @@
551561
"enum.eh_setting.multiple_page_viewer_style.value.align_left_scale_if_over_width" = "Align left, scale if overwidth";
552562
"enum.eh_setting.multiple_page_viewer_style.value.align_center_scale_if_over_width" = "Align center, scale if overwidth";
553563
"enum.eh_setting.multiple_page_viewer_style.value.align_center_always_scale" = "Align center, always scale";
564+
// EhSetting.GalleryPageNumbering
565+
"enum.eh_setting.gallery_page_numbering.value.none" = "None";
566+
"enum.eh_setting.gallery_page_numbering.value.page_number_only" = "Page Number Only";
567+
"enum.eh_setting.gallery_page_numbering.value.page_number_and_name" = "Page Number + Name";
568+
"enum.eh_setting.gallery_page_numbering.value.yes" = "Yes";
569+
"enum.eh_setting.gallery_page_numbering.value.no" = "No";
554570

555571
// MARK: Category
556572
"enum.category.value.doujinshi" = "Doujinshi";

EhPanda/App/en.lproj/Constant.strings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"app.code_level_contributor.link.chihchy" = "https://github.com/chihchy";
4141
"app.code_level_contributor.link.Jimmy-Prime" = "https://github.com/Jimmy-Prime";
4242
"app.code_level_contributor.link.xioxin" = "https://github.com/xioxin";
43-
"app.code_level_contributor.link.remlostime" = "https://github.com/remlostime";
43+
"app.code_level_contributor.link.vvbbnn00" = "https://github.com/vvbbnn00";
4444
"app.code_level_contributor.text.tatsuz0u" = "Tatsuzo Araki";
4545
"app.code_level_contributor.text.chihchy" = "Chihchy";
4646
"app.code_level_contributor.text.Jimmy-Prime" = "Jimmy Prime";
4747
"app.code_level_contributor.text.xioxin" = "xioxin";
48-
"app.code_level_contributor.text.remlostime" = "Kai Chen";
48+
"app.code_level_contributor.text.vvbbnn00" = "vvbbnn00";
4949

5050
// Translation contributor
5151
"app.translation_contributor.link.tatsuz0u" = "https://github.com/tatsuz0u";

EhPanda/App/en.lproj/Localizable.strings

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@
453453
"enum.eh_setting.display_mode.value.minimal" = "Minimal";
454454
"enum.eh_setting.display_mode.value.minimalPlus" = "Minimal+";
455455

456+
"eh_setting_view.section.title.optional_UI_elements" = "Optional UI Elements";
457+
"eh_setting_view.description.optional_UI_elements" = "Some historic UI elements are now disabled by default. You can enable those here.";
458+
"eh_setting_view.title.enable_gallery_thumbnail_selector" = "Enable thumbnail selector on gallery screen";
459+
456460
"eh_setting_view.section.title.favorites" = "Favorites";
457461
"eh_setting_view.description.favorite_categories" = "Here you can choose and rename your favorite categories.";
458462
"eh_setting_view.title.favorites_sort_order" = "Favorites sort order";
@@ -507,10 +511,14 @@
507511
// EhSetting.ThumbnailSize
508512
"enum.eh_setting.thumbnail_size.value.normal" = "Normal";
509513
"enum.eh_setting.thumbnail_size.value.large" = "Large";
514+
"enum.eh_setting.thumbnail_size.value.small" = "Small";
515+
"enum.eh_setting.thumbnail_size.value.auto" = "Auto";
510516

511517
"eh_setting_view.section.title.thumbnail_scaling" = "Thumbnail Scaling";
518+
"eh_setting_view.section.title.cover_scaling" = "Cover Scaling";
512519
"eh_setting_view.title.scale_factor" = "Scale factor";
513-
"eh_setting_view.description.scale_factor" = "Thumbnails on the thumbnail and extended gallery list views can be scaled to a custom value between 75%% and 150%%.";
520+
"eh_setting_view.description.thumbnail_scale_factor" = "Thumbnails on the thumbnail and extended gallery list views can be scaled to a custom value between 75%% and 150%%.";
521+
"eh_setting_view.description.cover_scale_factor" = "The cover size in gallery list views can be scaled to between 75%% and 150%% when using the Thumbnail or Extended display modes.";
514522

515523
"eh_setting_view.section.title.viewport_override" = "Viewport Override";
516524
"eh_setting_view.title.virtual_width" = "Virtual width";
@@ -534,13 +542,15 @@
534542
"enum.eh_setting.tags_sort_order.value.tag_power" = "By tag power";
535543

536544
"eh_setting_view.section.title.gallery_page_numbering" = "Gallery Page Numbering";
545+
"eh_setting_view.section.title.gallery_page_thumbnail_labeling" = "Gallery Page Thumbnail Labeling";
537546
"eh_setting_view.title.show_gallery_page_numbers" = "Show gallery page numbers";
547+
"eh_setting_view.title.show_label_below_gallery_thumbnails" = "Show label below gallery thumbnails";
538548

539549
"eh_setting_view.section.title.hath_local_network_host" = "Hath Local Network Host";
540550
"eh_setting_view.title.ip_address_port" = "IP address:Port";
541551
"eh_setting_view.description.ip_address_port" = "This setting can be used if you have a H@H client running on your local network with the same public IP you browse the site with. Some routers are buggy and cannot route requests back to its own IP; this allows you to work around this problem.\nIf you are running the client on the same device you browse from, use the loopback address (127.0.0.1:port). If the client is running on another device on your network, use its local network IP. Some browser configurations prevent external web sites from accessing URLs with local network IPs, the site must then be whitelisted for this to work.";
542552

543-
"eh_setting_view.section.title.original_images" = "Original Images";
553+
"eh_setting_view.section.title.original_images" = "Use original images instead of the resampled versions? Resampled images will still be used if you select a horizontal resolution different than \"Auto\" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year).";
544554
"eh_setting_view.title.use_original_images" = "Use original images";
545555

546556
"eh_setting_view.section.title.multi_page_viewer" = "Multi-Page Viewer";
@@ -551,6 +561,12 @@
551561
"enum.eh_setting.multiple_page_viewer_style.value.align_left_scale_if_over_width" = "Align left, scale if overwidth";
552562
"enum.eh_setting.multiple_page_viewer_style.value.align_center_scale_if_over_width" = "Align center, scale if overwidth";
553563
"enum.eh_setting.multiple_page_viewer_style.value.align_center_always_scale" = "Align center, always scale";
564+
// EhSetting.GalleryPageNumbering
565+
"enum.eh_setting.gallery_page_numbering.value.none" = "None";
566+
"enum.eh_setting.gallery_page_numbering.value.page_number_only" = "Page Number Only";
567+
"enum.eh_setting.gallery_page_numbering.value.page_number_and_name" = "Page Number + Name";
568+
"enum.eh_setting.gallery_page_numbering.value.yes" = "Yes";
569+
"enum.eh_setting.gallery_page_numbering.value.no" = "No";
554570

555571
// MARK: Category
556572
"enum.category.value.doujinshi" = "Doujinshi";

EhPanda/App/ja.lproj/Localizable.strings

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@
453453
"enum.eh_setting.display_mode.value.minimal" = "最小化";
454454
"enum.eh_setting.display_mode.value.minimalPlus" = "最小化+";
455455

456+
"eh_setting_view.section.title.optional_UI_elements" = "UI の表示制御";
457+
"eh_setting_view.description.optional_UI_elements" = "一部の従来の UI はデフォルトで無効になっています。ここで有効にすることができます。";
458+
"eh_setting_view.title.enable_gallery_thumbnail_selector" = "ギャラリーのサムネイルセレクタ";
459+
456460
"eh_setting_view.section.title.favorites" = "お気に入り";
457461
"eh_setting_view.description.favorite_categories" = "ここではお気に入りカテゴリー名の変更ができます。";
458462
"eh_setting_view.title.favorites_sort_order" = "お気に入りの並び替え";
@@ -507,10 +511,14 @@
507511
// EhSetting.ThumbnailSize
508512
"enum.eh_setting.thumbnail_size.value.normal" = "普通";
509513
"enum.eh_setting.thumbnail_size.value.large" = "大きめ";
514+
"enum.eh_setting.thumbnail_size.value.small" = "小さめ";
515+
"enum.eh_setting.thumbnail_size.value.auto" = "自動";
510516

511517
"eh_setting_view.section.title.thumbnail_scaling" = "サムネイルスケーリング";
518+
"eh_setting_view.section.title.cover_scaling" = "カバースケーリング";
512519
"eh_setting_view.title.scale_factor" = "スケール係数";
513-
"eh_setting_view.description.scale_factor" = "サムネイル・拡張表示モードでのサムネイルを 75%% ~ 150%% のカスタム値にスケールすることができます。";
520+
"eh_setting_view.description.thumbnail_scale_factor" = "サムネイル・拡張表示モードでのサムネイルを 75%% ~ 150%% のカスタム値にスケールすることができます。";
521+
"eh_setting_view.description.cover_scale_factor" = "サムネイル・拡張表示モードでのカバーを 75%% ~ 150%% にスケールすることができます。";
514522

515523
"eh_setting_view.section.title.viewport_override" = "表示領域オーバーライド";
516524
"eh_setting_view.title.virtual_width" = "仮想幅";
@@ -534,13 +542,15 @@
534542
"enum.eh_setting.tags_sort_order.value.tag_power" = "タグパワーの高い順";
535543

536544
"eh_setting_view.section.title.gallery_page_numbering" = "ギャラリーページ数";
545+
"eh_setting_view.section.title.gallery_page_thumbnail_labeling" = "ギャラリーサムネイルのラベル";
537546
"eh_setting_view.title.show_gallery_page_numbers" = "ギャラリーページ数を表示";
547+
"eh_setting_view.title.show_label_below_gallery_thumbnails" = "ギャラリーサムネイルの下にラベルを表示";
538548

539549
"eh_setting_view.section.title.hath_local_network_host" = "Hath ローカルネットワークホスト";
540550
"eh_setting_view.title.ip_address_port" = "IP アドレス:ポート";
541551
"eh_setting_view.description.ip_address_port" = "ローカルネットワークで今と同じパブリック IP を使う H@H クライアントがお持ちの場合、この設定が役立ちます。ルーターがバグが多くてリクエストを自分の IP にルートすることができないこともあります、それをこの設定で回避できます。\nH@H クライアントが今と同じデバイスで運行している場合はループバックアドレス(127.0.0.1:ポート)を使ってください。別のデバイスの場合はそのローカル IP を使ってください。かなりのブラウザの構成では外部サイトがローカル IP にアクセスすることをブロックしています、この設定を有効にするには本サイトをホワイトリストに入れてください。";
542552

543-
"eh_setting_view.section.title.original_images" = "オリジナル画像";
553+
"eh_setting_view.section.title.original_images" = "オリジナル画像を使いますか?リサンプリングされた画像は、上記の解像度で「自動」以外を選択し、該当する画像の方が幅が広い場合、またはオリジナル画像が 10 MiB(一年以上前のギャラリーの場合は 4 MiB)より大きい場合に使用されます。";
544554
"eh_setting_view.title.use_original_images" = "オリジナル画像を使う";
545555

546556
"eh_setting_view.section.title.multi_page_viewer" = "マルチページビューア";
@@ -551,6 +561,12 @@
551561
"enum.eh_setting.multiple_page_viewer_style.value.align_left_scale_if_over_width" = "左寄せ、幅によってスケール";
552562
"enum.eh_setting.multiple_page_viewer_style.value.align_center_scale_if_over_width" = "中央揃え、幅によってスケール";
553563
"enum.eh_setting.multiple_page_viewer_style.value.align_center_always_scale" = "中央揃え、常時スケール";
564+
// EhSetting.GalleryPageNumbering
565+
"enum.eh_setting.gallery_page_numbering.value.none" = "表示しない";
566+
"enum.eh_setting.gallery_page_numbering.value.page_number_only" = "ページ番号のみ表示";
567+
"enum.eh_setting.gallery_page_numbering.value.page_number_and_name" = "ページ番号と名前を表示";
568+
"enum.eh_setting.gallery_page_numbering.value.yes" = "表示する";
569+
"enum.eh_setting.gallery_page_numbering.value.no" = "表示しない";
554570

555571
// MARK: Category
556572
"enum.category.value.doujinshi" = "同人誌";

0 commit comments

Comments
 (0)