Skip to content

Commit

Permalink
Migration now includes Default Theme Name
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed Nov 9, 2019
1 parent 725371f commit 74dad85
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions public_html/admin/install/classes/installer.class.php
Expand Up @@ -3663,6 +3663,10 @@ private function migrateStep1()

$this->env['alert_message2'] = $alertMessage2;

// Update migration warning language about outdated custom theme with default theme
// Use env to overwrite Language Variable with updated info
$this->env['LANG']['MIGRATE'][5] = sprintf($LANG_MIGRATE[5], self::DEFAULT_THEME);

return MicroTemplate::quick(PATH_LAYOUT, 'step1-migrate', $this->env);
}

Expand Down
Expand Up @@ -214,7 +214,7 @@
2 => 'Be sure any previously installed plugins have been copied to your new server.',
3 => 'Be sure any images from <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, and <code>public_html/images/userphotos/</code>, have been copied to your new server.',
4 => 'If you\'re upgrading from a Geeklog version older than <strong>1.5.0</strong>, then make sure to copy over all your old <code>config.php</code> files so that the migration can pick up your settings.',
5 => 'If you\'re upgrading to a new Geeklog version, then don\'t upload your theme just yet. Use the included default theme until you can be sure your migrated site works properly.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Select an existing backup',
7 => 'Choose file...',
8 => 'From the server\'s backups directory',
Expand Down
Expand Up @@ -214,7 +214,7 @@
2 => 'Be sure any previously installed plugins have been copied to your new server.',
3 => 'Be sure any images from <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, and <code>public_html/images/userphotos/</code>, have been copied to your new server.',
4 => 'If you\'re upgrading from a Geeklog version older than <strong>1.5.0</strong>, then make sure to copy over all your old <code>config.php</code> files so that the migration can pick up your settings.',
5 => 'If you\'re upgrading to a new Geeklog version, then don\'t upload your theme just yet. Use the included default theme until you can be sure your migrated site works properly.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Select an existing backup',
7 => 'Choose file...',
8 => 'From the server\'s backups directory',
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/install/language/english.php
Expand Up @@ -218,7 +218,7 @@
2 => 'Be sure any previously installed plugins have been copied to your new server.',
3 => 'Be sure any images from <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, and <code>public_html/images/userphotos/</code>, have been copied to your new server.',
4 => 'If you\'re upgrading from a Geeklog version older than <strong>1.5.0</strong>, then make sure to copy over all your old <code>config.php</code> files so that the migration can pick up your settings.',
5 => 'If you\'re upgrading to a new Geeklog version, then don\'t upload your theme just yet. Use the included default theme "denim" until you can be sure your migrated site works properly.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Select an existing backup',
7 => 'Choose file...',
8 => 'From the server\'s backups directory',
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/install/language/english_utf-8.php
Expand Up @@ -218,7 +218,7 @@
2 => 'Be sure any previously installed plugins have been copied to your new server.',
3 => 'Be sure any images from <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, and <code>public_html/images/userphotos/</code>, have been copied to your new server.',
4 => 'If you\'re upgrading from a Geeklog version older than <strong>1.5.0</strong>, then make sure to copy over all your old <code>config.php</code> files so that the migration can pick up your settings.',
5 => 'If you\'re upgrading to a new Geeklog version, then don\'t upload your theme just yet. Use the included default theme "denim" until you can be sure your migrated site works properly.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Select an existing backup',
7 => 'Choose file...',
8 => 'From the server\'s backups directory',
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/install/language/german_utf-8.php
Expand Up @@ -213,7 +213,7 @@
2 => 'Stelle sicher, dass alle bereits installierten Plugins auf den neuen Server kopiert wurden.',
3 => 'Stelle sicher, dass alle Bilder aus <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, und <code>public_html/images/userphotos/</code> auf den neuen Server kopiert wurden.',
4 => 'Wenn Du von einer Geeklog-Version &auml;lter als <strong>1.5.0</strong> aktualisierst solltest Du sicherstellen, dass alle alten <code>config.php</code>-Dateien (von Geeklog und von den Plugins) auf den neuen Server kopiert wurden, damit die alten Einstellungen &uuml;bernommen werden k&ouml;nnen.',
5 => 'Wenn Du von einer &auml;lteren Geeklog-Version aktualisierst, dann solltest Du Dein Theme noch <em>nicht</em> hochladen. Benutze zuerst das mitgelieferte Theme bis sicher ist, dass die Migration erfolgreich war.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Backup ausw&auml;hlen',
7 => 'Datei ausw&auml;hlen...',
8 => 'Vom backups-Verzeichnis des Webservers',
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/install/language/japanese_utf-8.php
Expand Up @@ -215,7 +215,7 @@
2 => '以前のプラグインが新しいサーバーにコピーされていることを確認してください。',
3 => '画像ディレクトリ:<br><code>public_html/images/articles/</code><br><code>public_html/images/topics/</code><br><code>public_html/images/userphotos/</code><br>が、新しいサーバーに移行されていることを確認してください。',
4 => '<strong>1.5.0</strong>以前のバージョンからアップグレードする場合は、<code>config.php</code>もコピーしてください。移行後、これを参照して設定できます。',
5 => 'アップグレードの場合、テーマをそのままアップロードしないでください。テーマを完全に移行するまでは、付属のデフォルトテーマを活用してください。',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'バックアップファイルを選択',
7 => 'ファイル選択...',
8 => 'サーバーのbackupsディレクトリから',
Expand Down
2 changes: 1 addition & 1 deletion public_html/admin/install/language/polish_utf-8.php
Expand Up @@ -213,7 +213,7 @@
2 => 'Be sure any previously installed plugins have been copied to your new server.',
3 => 'Be sure any images from <code>public_html/images/articles/</code>, <code>public_html/images/topics/</code>, and <code>public_html/images/userphotos/</code>, have been copied to your new server.',
4 => 'If you\'re upgrading from a Geeklog version older than <strong>1.5.0</strong>, then make sure to copy over all your old <code>config.php</code> files so that the migration can pick up your settings.',
5 => 'If you\'re upgrading to a new Geeklog version, then don\'t upload your theme just yet. Use the included default theme until you can be sure your migrated site works properly.',
5 => 'If you\'re upgrading to a new Geeklog version during your migration and your current theme is not packaged with Geeklog, <em>then don\'t upload your theme just yet unless you are sure it supports this version of Geeklog</em>. Use the included default theme "%s" until you can be sure your migrated site works properly.',
6 => 'Select an existing backup',
7 => 'Choose file...',
8 => 'From the server\'s backups directory',
Expand Down

0 comments on commit 74dad85

Please sign in to comment.