Compatibility improvement,Virtual Keyboard update for new SInputState feature.
This commit is contained in:
parent
e5ff82e0e3
commit
3611bfe27e
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": 3,
|
||||
"version": 4,
|
||||
"contents": [
|
||||
{
|
||||
"type": "COMPAT",
|
||||
|
@ -11,10 +11,10 @@
|
|||
},
|
||||
{
|
||||
"type": "LOCALE",
|
||||
"name": "中文汉化v2.5",
|
||||
"name": "中文汉化v2.5.1",
|
||||
"description": "简体中文语言包,感谢Wabi-Sabi提供",
|
||||
"url": "http://zaneyork.cn/download/locale/locale_pack_zh_2.5.zip",
|
||||
"hash": "64eb016f22ecb7ba54318e55e11ddeb9fc3d634187d90fad1df5501113881382"
|
||||
"url": "http://zaneyork.cn/download/locale/locale_pack_zh_2.5.1.zip",
|
||||
"hash": "4924ba7022c5604e7bc46ee2aad27d4f285c299a3939f3d2817afc10e2e73d77"
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"warn.invalid-content-removed": "Érvénytelen elemek kerültek eltávolításra, hogy a játék ne omoljon össze (további információk a SMAPI konzolon)."
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"warn.invalid-content-removed": "Contenuto non valido rimosso per prevenire un crash (Guarda la console di SMAPI per maggiori informazioni)."
|
||||
}
|
|
@ -144,6 +144,16 @@
|
|||
"assetPath": "smapi/i18n/fr.json",
|
||||
"origin": 0
|
||||
},
|
||||
{
|
||||
"targetPath": "smapi-internal/i18n/hu.json",
|
||||
"assetPath": "smapi/i18n/hu.json",
|
||||
"origin": 0
|
||||
},
|
||||
{
|
||||
"targetPath": "smapi-internal/i18n/it.json",
|
||||
"assetPath": "smapi/i18n/it.json",
|
||||
"origin": 0
|
||||
},
|
||||
{
|
||||
"targetPath": "smapi-internal/i18n/ja.json",
|
||||
"assetPath": "smapi/i18n/ja.json",
|
||||
|
|
|
@ -77,8 +77,8 @@ public class MainActivity extends AppCompatActivity {
|
|||
// Passing each menu ID as a set of Ids because each
|
||||
// menu should be considered as top level destinations.
|
||||
mAppBarConfiguration = new AppBarConfiguration.Builder(
|
||||
R.id.nav_install, R.id.nav_config, R.id.nav_help)
|
||||
.setDrawerLayout(drawer)
|
||||
R.id.nav_install, R.id.nav_config, R.id.nav_help, R.id.nav_download, R.id.nav_about)
|
||||
.setOpenableLayout(drawer)
|
||||
.build();
|
||||
final NavController navController = Navigation.findNavController(this, R.id.nav_host_fragment);
|
||||
NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration);
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package com.zane.smapiinstaller.ui.about;
|
||||
|
||||
import android.content.ActivityNotFoundException;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.didikee.donate.AlipayDonate;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
@ -35,6 +37,26 @@ public class AboutFragment extends Fragment {
|
|||
@OnClick(R.id.button_release) void release() {
|
||||
CommonLogic.openUrl(this.getContext(), "https://github.com/ZaneYork/SMAPI-Android-Installer/releases");
|
||||
}
|
||||
@OnClick(R.id.button_gplay) void gplay() {
|
||||
try
|
||||
{
|
||||
this.OpenPlayStore("market://details?id=" + this.getActivity().getPackageName());
|
||||
}
|
||||
catch (ActivityNotFoundException ex)
|
||||
{
|
||||
this.OpenPlayStore("https://play.google.com/store/apps/details?id=" + this.getActivity().getPackageName());
|
||||
}
|
||||
|
||||
}
|
||||
private void OpenPlayStore(String url)
|
||||
{
|
||||
Intent intent = new Intent("android.intent.action.VIEW");
|
||||
intent.setData(Uri.parse(url));
|
||||
intent.setPackage("com.android.vending");
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
this.getActivity().startActivity(intent);
|
||||
}
|
||||
|
||||
@OnClick({R.id.button_qq_group_1, R.id.button_qq_group_2}) void joinQQ(Button which) {
|
||||
String baseUrl = "mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3D";
|
||||
if(which.getId() == R.id.button_qq_group_1) {
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/img_test"
|
||||
android:id="@+id/img_release"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
@ -80,7 +80,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/img_test"
|
||||
app:layout_constraintStart_toEndOf="@id/img_release"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:gravity="center"
|
||||
|
@ -88,6 +88,32 @@
|
|||
android:text="@string/button_release" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/img_gplay"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:srcCompat="@drawable/ic_menu_share"
|
||||
android:contentDescription="@string/icon_desc" />
|
||||
<Button
|
||||
android:id="@+id/button_gplay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/img_gplay"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
style="@style/Widget.AppCompat.Button.Borderless"
|
||||
android:gravity="center"
|
||||
android:textSize="24sp"
|
||||
android:text="@string/button_gplay" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
|
|
@ -54,4 +54,5 @@
|
|||
<string name="button_qq_group_1_text">QQ群①: 860453392</string>
|
||||
<string name="button_donation_text">捐贈</string>
|
||||
<string name="button_qq_group_2_text">QQ群②: 1078428449</string>
|
||||
<string name="button_gplay" >谷歌商店详情</string>
|
||||
</resources>
|
||||
|
|
|
@ -54,4 +54,5 @@
|
|||
<string name="button_qq_group_1_text">QQ群①: 860453392</string>
|
||||
<string name="button_donation_text">捐贈</string>
|
||||
<string name="button_qq_group_2_text">QQ群②: 1078428449</string>
|
||||
<string name="button_gplay" >谷歌商店详情</string>
|
||||
</resources>
|
||||
|
|
|
@ -54,4 +54,5 @@
|
|||
<string name="button_donation_text">捐赠</string>
|
||||
<string name="button_qq_group_2_text">QQ群②: 1078428449</string>
|
||||
<string name="error_depends_on_mod_version">%1$s依赖%2$s %3$s版本,请先更新它</string>
|
||||
<string name="button_gplay">谷歌商店详情</string>
|
||||
</resources>
|
||||
|
|
|
@ -58,4 +58,5 @@
|
|||
<string name="icon_desc" translatable="false">icon</string>
|
||||
<string name="button_donation_text">Donation</string>
|
||||
<string name="toast_redpacket_message" translatable="false">红包码已复制\n支付宝首页搜索“9188262” 立即领红包</string>
|
||||
<string name="button_gplay">View in Play Store</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue