From 74b053d56723551e98e6a7cb95cf5bc05f51d3d3 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 9 May 2022 20:46:10 +0800 Subject: [PATCH] chore: rename app and update translate --- TMessagesProj/build.gradle | 6 +-- TMessagesProj/google-services.json | 45 ++++++++++++++---- TMessagesProj/pagergram.jks | Bin 0 -> 2475 bytes .../java/org/telegram/ui/ProfileActivity.java | 2 +- .../tw/nekomimi/nekogram/InternalUpdater.java | 8 ++-- .../tw/nekomimi/nekogram/NekoXConfig.java | 19 +++----- .../main/res/values-zh-rCN/strings_nekox.xml | 2 +- .../src/main/res/values/strings_neko.xml | 2 +- .../src/main/res/values/strings_nekox.xml | 4 +- TMessagesProj/src/main/res/xml/auth.xml | 2 +- TMessagesProj/src/main/res/xml/auth_menu.xml | 2 +- .../src/main/res/xml/sync_contacts.xml | 2 +- metadata/en-US/name.txt | 2 +- 13 files changed, 60 insertions(+), 36 deletions(-) create mode 100644 TMessagesProj/pagergram.jks diff --git a/TMessagesProj/build.gradle b/TMessagesProj/build.gradle index d3dbda88a..979bf6d80 100644 --- a/TMessagesProj/build.gradle +++ b/TMessagesProj/build.gradle @@ -57,7 +57,7 @@ android { buildToolsVersion "32.0.0" ndkVersion rootProject.ext.ndkVersion - defaultConfig.applicationId = "xyz.nextalone.nagram" + defaultConfig.applicationId = 'com.xtaolabs.pagergram' splits { @@ -156,7 +156,7 @@ android { signingConfigs { release { - storeFile project.file("release.keystore") + storeFile project.file("pagergram.jks") storePassword keystorePwd keyAlias alias keyPassword pwd @@ -301,7 +301,7 @@ android { applicationVariants.all { variant -> variant.outputs.all { output -> - outputFileName = outputFileName.replace("TMessagesProj", "Nagram-v" + versionName + "(" + versionCode + ")").replace("-release", "") + outputFileName = outputFileName.replace("TMessagesProj", "PagerGram-v" + versionName + "(" + versionCode + ")").replace("-release", "") } } diff --git a/TMessagesProj/google-services.json b/TMessagesProj/google-services.json index 014d5c138..e50419472 100644 --- a/TMessagesProj/google-services.json +++ b/TMessagesProj/google-services.json @@ -1,33 +1,62 @@ { "project_info": { - "project_number": "454087305870", - "project_id": "nekogram-2753b", - "storage_bucket": "nekogram-2753b.appspot.com" + "project_number": "232704888307", + "project_id": "pagergram-modify", + "storage_bucket": "pagergram-modify.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:454087305870:android:5c8d8e9f3a9a0e37eb37df", + "mobilesdk_app_id": "1:232704888307:android:8e09b08e589b92c4349686", "android_client_info": { - "package_name": "xyz.nextalone.nagram" + "package_name": "com.xtaolabs.pagergram" } }, "oauth_client": [ { - "client_id": "454087305870-i68bog5e0h2uq2553friqpl7ullqnuuo.apps.googleusercontent.com", + "client_id": "232704888307-vl4ilatm6g5n4t6e57oc6e1mumg61ga1.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyCPNxXY201baapXdQZCpdhLYVJ8LYN1bK8" + "current_key": "AIzaSyDUY6Lvo-VAy3nA8Y5PaimnDMz_fT_tXOw" } ], "services": { "appinvite_service": { "other_platform_oauth_client": [ { - "client_id": "454087305870-i68bog5e0h2uq2553friqpl7ullqnuuo.apps.googleusercontent.com", + "client_id": "232704888307-vl4ilatm6g5n4t6e57oc6e1mumg61ga1.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:232704888307:android:f67ba58246cddef2349686", + "android_client_info": { + "package_name": "com.xtaolabs.pagergram.beta" + } + }, + "oauth_client": [ + { + "client_id": "232704888307-vl4ilatm6g5n4t6e57oc6e1mumg61ga1.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDUY6Lvo-VAy3nA8Y5PaimnDMz_fT_tXOw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "232704888307-vl4ilatm6g5n4t6e57oc6e1mumg61ga1.apps.googleusercontent.com", "client_type": 3 } ] diff --git a/TMessagesProj/pagergram.jks b/TMessagesProj/pagergram.jks new file mode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WD|PT^^`l>eAxx+XsyC)lT4WFFE9@^ z64G6DjxRYiVtOoR=Jtwld{4$QNa7*7R=p2PvcMTm@HO8fKem~sN*4DVXX($;#gcW7 zeQmC1L>)I(#G9WhtS>EnG^BWwwT#EoB1 zY+_#h4i!;MVT{c|xeYs--1fF`jyf(koj)O$q(;v6AxdX*@_2u2xiir6pe4jD8$H4s zSKZnCmwvtQ>l~4EE4*Ui7hWE(r|oWYr4OhGcX=}{k|G!iBZ=9}AFyTTe1=zU z#WCg7)@xLS{JErhxh|khvTniQVpyPhBWC58wj%MGvQ~vTgeGCBvuY)KN=b!Y9(2$t zvo?{g+Nwt)GtUI+Gi8ExZf3O83Y^`xXLFTev34nQJB{|?T|@qoE3F@7EwPBVOGSgKZfGn8X^&n)-9c8$Y=@H4C_ z`+v^z318?6O=RJ|8QY1A3r%gmaUA4HRFWC~x~9IFziVX_%HE=9*uwKPL1g^L<5L-- zeor@d-1HeABIl6`|J7;`dx|^rR|s1ApxmUw!NVJKz8SQu@>V%(tx7z^P_T|GsMyK) z-uxj@+VOMHwF7r)VH?q`U5G*L6JIxzm+kw}$6BA{>#ge+O~sF~+dEnxFTbW(DX}+1 z@bhMHdzS{vlTl-!l}+&hm5JHx+k={IP6RuPO_FkY)nnc<*U(diKRe&CrA?0?Yu$7f zbI!+Gl`6*#@64ra_%xO>h7(>)PDE-u1*CqP<`9_o3D1G|YnH``u~mE|H598RTVL7% z;AMYYKPPuROJU1kOy48V*|PRn`Yg5o4C=Ioty4LhEKOjoyTk7nOkFl@eWq|$zox^+ zV8#$`(55>{bXZfL?7V9?L5|;*<&)MVCJV>7qRCoZh@T%FMqiL&+}ZJ0Zo#83I!0!1 zucwiS{0XaA))27(H)(Coc)4iJ*Soa^5!M+FF3sQtMFls|2u4udn3lz-Yg{^PDjd3f z7+vpVX}vJ6C~G记住所有点击的回复 分享 预览版(不稳定) - 更新 Nagram + 更新 PagerGram 长按以翻译更新日志 频道别名 标记频道匿名身份别名 diff --git a/TMessagesProj/src/main/res/values/strings_neko.xml b/TMessagesProj/src/main/res/values/strings_neko.xml index b6191025e..41783c15d 100644 --- a/TMessagesProj/src/main/res/values/strings_neko.xml +++ b/TMessagesProj/src/main/res/values/strings_neko.xml @@ -141,7 +141,7 @@ Custom Storage Path Leave blank to save directly Show bottom actions when selecting - channel + 📢 Force enable Chat Blur Chat Blur Alpha Disable premium sticker animation diff --git a/TMessagesProj/src/main/res/values/strings_nekox.xml b/TMessagesProj/src/main/res/values/strings_nekox.xml index 463db6ce6..dc83a4382 100644 --- a/TMessagesProj/src/main/res/values/strings_nekox.xml +++ b/TMessagesProj/src/main/res/values/strings_nekox.xml @@ -1,6 +1,6 @@ - Nagram + PagerGram Locked Chat input menu Record Video @@ -265,7 +265,7 @@ Remember all clicked replies Disable instant camera Show timestamp in seconds - Update Nagram + Update PagerGram Press to translate the change log Name Channel alias diff --git a/TMessagesProj/src/main/res/xml/auth.xml b/TMessagesProj/src/main/res/xml/auth.xml index d4d651421..31b1b9e1a 100644 --- a/TMessagesProj/src/main/res/xml/auth.xml +++ b/TMessagesProj/src/main/res/xml/auth.xml @@ -1,7 +1,7 @@ diff --git a/TMessagesProj/src/main/res/xml/sync_contacts.xml b/TMessagesProj/src/main/res/xml/sync_contacts.xml index e843c8cd8..7befd2237 100644 --- a/TMessagesProj/src/main/res/xml/sync_contacts.xml +++ b/TMessagesProj/src/main/res/xml/sync_contacts.xml @@ -1,3 +1,3 @@ \ No newline at end of file + android:accountType="com.xtaolabs.pagergram"/> \ No newline at end of file diff --git a/metadata/en-US/name.txt b/metadata/en-US/name.txt index d74383a92..9424ebeb8 100644 --- a/metadata/en-US/name.txt +++ b/metadata/en-US/name.txt @@ -1 +1 @@ -Nagram \ No newline at end of file +PagerGram \ No newline at end of file