From 2c3ecce5badc6de2724d9952ed1760c17d84ca00 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Tue, 3 Oct 2023 15:14:56 +0200 Subject: [PATCH] chore: removing old Appc strings (#13927) --- .../src/java/ti/modules/titanium/network/TiHTTPClient.java | 2 +- apidoc/Titanium/UI/AttributedString.yml | 4 ++-- apidoc/Titanium/UI/EmailDialog.yml | 2 +- build/scons-xcode-project-build.js | 2 +- iphone/cli/commands/_build.js | 2 +- tests/Resources/es6.async.await.test.js | 2 +- tests/Resources/ti.android.actionbar.test.js | 2 +- tests/Resources/ti.android.notificationmanager.test.js | 2 +- tests/Resources/ti.android.service.interval.js | 2 +- tests/Resources/ti.android.service.normal.js | 2 +- tests/Resources/ti.android.service.test.js | 2 +- tests/Resources/ti.bootstrap.test.js | 2 +- tests/Resources/ti.ui.webview.script.tag.js | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java index abcee3d0c1b..933bd75a0f7 100644 --- a/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java +++ b/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java @@ -89,7 +89,7 @@ public class TiHTTPClient private static final int PROTOCOL_DEFAULT_PORT = -1; private static final String TITANIUM_ID_HEADER = "X-Titanium-Id"; private static final String TITANIUM_USER_AGENT = - "Appcelerator Titanium/" + TiApplication.getInstance().getTiBuildVersion() + " (" + Build.MODEL + "Titanium SDK/" + TiApplication.getInstance().getTiBuildVersion() + " (" + Build.MODEL + "; Android API Level: " + Integer.toString(Build.VERSION.SDK_INT) + "; " + TiPlatformHelper.getInstance().getLocale() + ";)"; private static final String[] FALLBACK_CHARSETS = { "UTF_8", "ISO_8859_1" }; diff --git a/apidoc/Titanium/UI/AttributedString.yml b/apidoc/Titanium/UI/AttributedString.yml index 6265234dfa2..f7d18b0e188 100644 --- a/apidoc/Titanium/UI/AttributedString.yml +++ b/apidoc/Titanium/UI/AttributedString.yml @@ -52,7 +52,7 @@ examples: win.open(); - var text = 'Bacon ipsum dolor Appcelerator Titanium rocks! sit amet fatback leberkas salami sausage tongue strip steak.'; + var text = 'Bacon ipsum dolor Titanium SDK rocks! sit amet fatback leberkas salami sausage tongue strip steak.'; var attr = Titanium.UI.createAttributedString({ text: text, @@ -112,7 +112,7 @@ examples: win.open(); - var text = 'Bacon ipsum dolor Appcelerator Titanium rocks! sit amet fatback leberkas salami sausage tongue strip steak.'; + var text = 'Bacon ipsum dolor Titanium SDK rocks! sit amet fatback leberkas salami sausage tongue strip steak.'; var attr = Titanium.UI.createAttributedString({ text: text diff --git a/apidoc/Titanium/UI/EmailDialog.yml b/apidoc/Titanium/UI/EmailDialog.yml index 6bfba1ecb61..bb4bb80fe65 100644 --- a/apidoc/Titanium/UI/EmailDialog.yml +++ b/apidoc/Titanium/UI/EmailDialog.yml @@ -165,7 +165,7 @@ examples: var emailDialog = Ti.UI.createEmailDialog() emailDialog.subject = "Hello from Titanium"; emailDialog.toRecipients = ['foo@yahoo.com']; - emailDialog.messageBody = 'Appcelerator Titanium Rocks!'; + emailDialog.messageBody = 'Titanium SDK Rocks!'; var f = Ti.Filesystem.getFile('cricket.wav'); emailDialog.addAttachment(f); emailDialog.open(); diff --git a/build/scons-xcode-project-build.js b/build/scons-xcode-project-build.js index f7cdb3839b8..cf838655df0 100644 --- a/build/scons-xcode-project-build.js +++ b/build/scons-xcode-project-build.js @@ -74,7 +74,7 @@ async function generateI18n () { const project = path.join(projectDir, '..'); const i18nData = i18n.load(project); - const fileHeader = '/**\n * Appcelerator Titanium\n * this is a generated file - DO NOT EDIT\n */\n\n'; + const fileHeader = '/**\n * Titanium SDK\n * this is a generated file - DO NOT EDIT\n */\n\n'; for (const [ language, data ] of Object.entries(i18nData)) { const dir = path.join(appDir, `${language}.lproj`); await fs.ensureDir(dir); diff --git a/iphone/cli/commands/_build.js b/iphone/cli/commands/_build.js index 1a0496c114b..b9641650c75 100644 --- a/iphone/cli/commands/_build.js +++ b/iphone/cli/commands/_build.js @@ -6568,7 +6568,7 @@ iOSBuilder.prototype.writeI18NFiles = function writeI18NFiles() { const data = ti.i18n.load(this.projectDir, this.logger), header = '/**\n' - + ' * Appcelerator Titanium\n' + + ' * Titanium SDK\n' + ' * this is a generated file - DO NOT EDIT\n' + ' */\n\n'; diff --git a/tests/Resources/es6.async.await.test.js b/tests/Resources/es6.async.await.test.js index f534f77a28a..f3c685dabf5 100644 --- a/tests/Resources/es6.async.await.test.js +++ b/tests/Resources/es6.async.await.test.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.android.actionbar.test.js b/tests/Resources/ti.android.actionbar.test.js index 6830c5d8c9e..73ed22084a5 100644 --- a/tests/Resources/ti.android.actionbar.test.js +++ b/tests/Resources/ti.android.actionbar.test.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.android.notificationmanager.test.js b/tests/Resources/ti.android.notificationmanager.test.js index 433d44de006..c1b79cdbb64 100644 --- a/tests/Resources/ti.android.notificationmanager.test.js +++ b/tests/Resources/ti.android.notificationmanager.test.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.android.service.interval.js b/tests/Resources/ti.android.service.interval.js index f9399c5c7f6..e8aeb42a3b0 100644 --- a/tests/Resources/ti.android.service.interval.js +++ b/tests/Resources/ti.android.service.interval.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.android.service.normal.js b/tests/Resources/ti.android.service.normal.js index 461a0f1c72b..bf92356f5ec 100644 --- a/tests/Resources/ti.android.service.normal.js +++ b/tests/Resources/ti.android.service.normal.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.android.service.test.js b/tests/Resources/ti.android.service.test.js index 602f1b2c3e9..de38260adcd 100644 --- a/tests/Resources/ti.android.service.test.js +++ b/tests/Resources/ti.android.service.test.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.bootstrap.test.js b/tests/Resources/ti.bootstrap.test.js index 7994b2159bd..a8b47f22dae 100644 --- a/tests/Resources/ti.bootstrap.test.js +++ b/tests/Resources/ti.bootstrap.test.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. diff --git a/tests/Resources/ti.ui.webview.script.tag.js b/tests/Resources/ti.ui.webview.script.tag.js index 39d381448f0..0a29988fa36 100644 --- a/tests/Resources/ti.ui.webview.script.tag.js +++ b/tests/Resources/ti.ui.webview.script.tag.js @@ -1,5 +1,5 @@ /* - * Axway Appcelerator Titanium Mobile + * Titanium SDK * Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details.