Compare commits

...

3 commits

Author SHA1 Message Date
4e5bb5b11e retire Android.mk to prevent AOSP from complaining
we don't use Android.mk for AOSP, but we do for the NDK JNI build. Let's
rename it so that the latest AOSP 15 QPR 1 stops complaining.
2024-12-07 21:25:10 -05:00
68cc6adc9b chore: reduce translatable strings (#93)
Co-authored-by: Peter Cai <peter@typeblog.net>
Reviewed-on: PeterCxy/OpenEUICC#93
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2024-12-08 03:11:44 +01:00
9e637f766d fix: profile class always display (#92)
Reviewed-on: PeterCxy/OpenEUICC#92
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2024-12-08 03:10:53 +01:00
11 changed files with 11 additions and 15 deletions

View file

View file

@ -367,10 +367,6 @@ open class EuiccManagementFragment : Fragment(), EuiccProfilesChangedListener,
private lateinit var profile: LocalProfileInfo
fun setProfile(profile: LocalProfileInfo) {
if (unfilteredProfileListFlow.value) {
profileClassLabel.isVisible = true
profileClass.isVisible = true
}
this.profile = profile
name.text = profile.displayName
@ -382,7 +378,9 @@ open class EuiccManagementFragment : Fragment(), EuiccProfilesChangedListener,
}
)
provider.text = profile.providerName
if (profileClass.isVisible) profileClass.setText(
profileClassLabel.isVisible = unfilteredProfileListFlow.value
profileClass.isVisible = unfilteredProfileListFlow.value
profileClass.setText(
when (profile.profileClass) {
LocalProfileInfo.Clazz.Testing -> R.string.profile_class_testing
LocalProfileInfo.Clazz.Provisioning -> R.string.profile_class_provisioning

View file

@ -85,6 +85,7 @@
android:textSize="14sp"
android:textStyle="bold"
android:singleLine="true"
android:visibility="gone"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/provider_label"
app:layout_constraintBottom_toTopOf="@+id/iccid_label"/>
@ -97,6 +98,7 @@
android:layout_marginStart="7dp"
android:textSize="14sp"
android:singleLine="true"
android:visibility="gone"
app:layout_constraintLeft_toRightOf="@id/profile_class_label"
app:layout_constraintTop_toBottomOf="@id/provider"
app:layout_constraintBottom_toTopOf="@+id/iccid"/>

View file

@ -6,8 +6,6 @@
<string name="help">ヘルプ</string>
<string name="reload">スロットを再読み込み</string>
<string name="channel_name_format">論理スロット %d</string>
<string name="usb">USB</string>
<string name="omapi">OpenMobile API (OMAPI)</string>
<string name="enabled">有効済み</string>
<string name="disabled">無効済み</string>
<string name="provider">プロバイダー:</string>

View file

@ -7,8 +7,8 @@
<string name="reload">Reload Slots</string>
<string name="channel_name_format">Logical Slot %d</string>
<string name="usb">USB</string>
<string name="omapi">OpenMobile API (OMAPI)</string>
<string name="usb" translatable="false">USB</string>
<string name="omapi" translatable="false">OpenMobile API (OMAPI)</string>
<string name="enabled">Enabled</string>
<string name="disabled">Disabled</string>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="channel_name_format">SIM %d</string>
<string name="compatibility_check">互換性のチェック</string>
<string name="open_sim_toolkit">SIM ツールキットを開く</string>
<!-- Compatibility Check Descriptions -->
@ -18,7 +17,7 @@
<string name="compatibility_check_isdr_channel_desc_partial_fail">ISD-R への OMAPI アクセスは、次のスロットでのみ可能です: <b>SIM%s</b>.</string>
<string name="compatibility_check_known_broken">既知の破損リストに掲載されていない</string>
<string name="compatibility_check_known_broken_desc">取り外し可能な eSIM に関連するバグがデバイスに存在しないかを確認します。</string>
<string name="compatibility_check_known_broken_fail">おっと...使用しているデバイスには、取り外し可能な eSIM へのアクセス時にバグが存在します。これは必ずしも全く機能しないことを意味するわけではありませんが、注意して進める必要があります。</string>
<string name="compatibility_check_known_broken_fail">おっと使用しているデバイスには、取り外し可能な eSIM へのアクセス時にバグが存在します。これは必ずしも全く機能しないことを意味するわけではありませんが、注意して進める必要があります。</string>
<string name="compatibility_check_usb">USB カードリーダーのサポート</string>
<string name="compatibility_check_usb_desc">使用しているデバイスは、USB カードリーダー経由の eSIM の管理をサポートしていますか?</string>
<string name="compatibility_check_usb_ok">このデバイスの標準 USB CCID リーダーを介して eSIM を管理できます (ここで他のチェック項目に失敗した場合でも)。カードリーダーを挿入し、このアプリを開いてこの方法で eSIM を管理できます。</string>

View file

@ -1,6 +1,6 @@
<resources>
<string name="app_name" translatable="false">EasyEUICC</string>
<string name="channel_name_format">SIM %d</string>
<string name="channel_name_format" translatable="false">SIM %d</string>
<string name="compatibility_check">Compatibility Check</string>
<string name="open_sim_toolkit">Open SIM Toolkit</string>

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">OpenEUICC</string>
<string name="no_euicc">このデバイスで eUICC が見つかりません。\nデバイスによってはアプリのメニューからデュアル SIM を有効化する必要があります。</string>
<string name="telephony_manager">TelephonyManager (特権)</string>
<string name="dsds">デュアル SIM</string>

View file

@ -1,5 +1,5 @@
<resources>
<string name="app_name">OpenEUICC</string>
<string name="app_name" translatable="false">OpenEUICC</string>
<string name="no_euicc">No eUICC found on this device.\nOn some devices, you may need to enable dual SIM first in the menu of this app.</string>
<string name="telephony_manager">TelephonyManager (Privileged)</string>

View file

@ -32,7 +32,7 @@ android {
}
externalNativeBuild {
ndkBuild {
path("src/main/jni/Android.mk")
path("src/main/jni/lpac-jni.mk")
}
}
compileOptions {