Skip to content

Commit

Permalink
Nya!
Browse files Browse the repository at this point in the history
  • Loading branch information
NekoInverter authored and satouriko committed Jan 11, 2020
1 parent d5c978d commit 23761f6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,12 @@ private boolean handleIntent(Intent intent, boolean isNew, boolean restore, bool
} else if (url.contains("devices")) {
open_settings = 3;
}
} else if (url.startsWith("tg:meow") || url.startsWith("tg://meow") || url.startsWith("tg:nya") || url.startsWith("tg://nya") || url.startsWith("tg:miao") || url.startsWith("tg://miao")) {
try {
Toast.makeText(LaunchActivity.this, LocaleController.getString("Nya", R.string.Nya), Toast.LENGTH_SHORT).show();
} catch (Exception e) {
FileLog.e(e);
}
} else {
unsupportedUrl = url.replace("tg://", "").replace("tg:", "");
int index;
Expand Down
1 change: 1 addition & 0 deletions TMessagesProj/src/main/res/values-it/strings_neko.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
<string name="TestBackendOff">Questo account si connetterà al server principale.</string>
<string name="HideProxySponsorChannel">Nascondi canale sponsor proxy</string>
<string name="ViewHistory">Visualizza la cronologia</string>
<string name="Nya">Miao!</string>
</resources>
1 change: 1 addition & 0 deletions TMessagesProj/src/main/res/values-ja/strings_neko.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
<string name="TestBackendOff">このアカウントは、本番バックエンドに接続します。</string>
<string name="HideProxySponsorChannel">Proxy sponsor channel を非表示</string>
<string name="ViewHistory">履歴を見る</string>
<string name="Nya">にゃ!</string>
</resources>
1 change: 1 addition & 0 deletions TMessagesProj/src/main/res/values-zh-rCN/strings_neko.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
<string name="TestBackendOff">此账户将连接至生产后端服务器。</string>
<string name="HideProxySponsorChannel">隐藏代理赞助商频道</string>
<string name="ViewHistory">显示历史消息</string>
<string name="Nya">喵!</string>
</resources>
1 change: 1 addition & 0 deletions TMessagesProj/src/main/res/values-zh-rTW/strings_neko.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
<string name="TestBackendOff">此賬戶將連接至生產後端伺服器。</string>
<string name="HideProxySponsorChannel">隱藏代理贊助商頻道</string>
<string name="ViewHistory">顯示歷史消息</string>
<string name="Nya">喵!</string>
</resources>
1 change: 1 addition & 0 deletions TMessagesProj/src/main/res/values/strings_neko.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@
<string name="TestBackendOff">This account will connect to the production backend.</string>
<string name="HideProxySponsorChannel">Hide proxy sponsor channel</string>
<string name="ViewHistory">View history</string>
<string name="Nya">Meow!</string>
</resources>

0 comments on commit 23761f6

Please sign in to comment.