Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
99716cb
Fixed a typo.
Dec 4, 2014
d70cd67
Corrected some grammar. (- :
Dec 4, 2014
aef7dfb
Made comment easier to read.
Dec 4, 2014
c64ca81
Corrected PhoneGap branding in plugin description.
Dec 4, 2014
f2b89aa
Corrected PhoneGap branding in build.php
Dec 4, 2014
40a4913
Changed to capital 'T'; looks more professional now like other plugins.
Dec 4, 2014
3f0eb98
Fixed another PhoneGap branding mention and begun to capitalize meta …
Dec 4, 2014
9556e56
Removed unnecessary exclamation mark.
Dec 4, 2014
df81f81
Corrected PhoneGap branding mention in apps.php
Dec 4, 2014
d7ed8d6
Corrected another mention of PhoneGap branding
Dec 4, 2014
286b230
Fixed another mention of the PhoneGap brand
Dec 4, 2014
424a036
Corrected mention of JavaScript brand
Dec 4, 2014
76a51a5
Changed 'id' to caps for better aesthetics
Dec 4, 2014
c4b9f27
Fixed a mention of the PhoneGap brand in apps.php
Dec 4, 2014
7ec88db
Fixed more PhoneGap brand mentions
Dec 4, 2014
99bbeb6
Capitalized 'c' for better aesthetics and readability
Dec 4, 2014
cb995a6
Capitalized the 'p' for better aesthetics and readability
Dec 4, 2014
5205146
Capitalized the 'p' for better aesthetics and readability in apps.php
Dec 4, 2014
319a0fb
Capitalized 'a' in title for better aesthetics and readability
Dec 4, 2014
8972a9e
Corrected another mention of the PhoneGap branding in apps.php
Dec 4, 2014
6108e91
Corrected stray exclamation mark
Dec 4, 2014
7fe7575
Fixed web services synchronization formatting bug
Dec 4, 2014
d531a6e
Removing unnecessary code after merge into line below to fix formatti…
Dec 4, 2014
22f4d62
Capitalized 'T' to improve aesthetic and readability
Dec 4, 2014
9b23c28
Further bug fixing on formatting issue for web services synchronization
Dec 4, 2014
77a887b
Fixing web services synchronization formatting bug in build.php
Dec 4, 2014
eda06cc
Fixed colon formatting for web services synchronization label
Dec 4, 2014
1edd103
Revert "Further bug fixing on formatting issue for web services synch…
Dec 18, 2014
937fe71
Bringing my version up to date and undoing my mistake so that my pull…
Dec 18, 2014
cadf6a4
Merge branch 'master' of https://github.com/uncatcrea/wp-app-kit
Dec 18, 2014
325e2f2
Changed from 'backward' GLYPHICON to 'glyphicon-chevron-left' that is…
Dec 18, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wp-app-kit/app/core/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ define(function (require) {
};

//--------------------------------------------------------------------------
//Network : handle network state if the Network phonegap plugin is available
//Network : handle network state if the Network PhoneGap plugin is available

app.onOnline = function(){
vent.trigger('network:online');
Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/app/lang/theme-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ define( function ( require ) {

return {
error_remote_connexion_failed : 'Remote connection to website failed',
error_occured_undefined : 'Oops, an error occured...',
error_occured_undefined : 'Oops, an error occurred...',
info_no_content : "The application couldn't retrieve any content, please check your internet connection!",
info_network_online : "Internet connection ok",
info_network_offline : "Internet connection lost",
Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/app/themes/bootstrap/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</button>
<span class="navbar-brand refresh-button-wrapper">
<a href="#" id="refresh-button" class="navbar-brand"><span class="glyphicon glyphicon-refresh"></span></a>
<a href="#" id="go-back" class="navbar-brand" style="display:none"><span class="glyphicon glyphicon-backward"></span></a>
<a href="#" id="go-back" class="navbar-brand" style="display:none"><span class="glyphicon glyphicon-chevron-left"></span></a>
</span>
<span class="navbar-brand"><a href="#"><%= app_title %></a></span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions wp-app-kit/lang/wp-app-kit-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ msgstr "Email de l'auteur"

# @ wp-app-kit
#: ../lib/apps/apps.php:164
msgid "Phonegap plugins"
msgid "Phonegap Plugins"
msgstr "Plugins Phonegap"

# @ wp-app-kit
Expand Down Expand Up @@ -929,7 +929,7 @@ msgid "Application title (displayed in app top bar)"
msgstr "Titre de l'application (affiché dans la top bar)"

#: ../lib/themes/upload-themes.php:18
msgid "Upload themes"
msgid "Upload Themes"
msgstr "Télécharger des thèmes"

#: ../lib/themes/upload-themes.php:26
Expand Down
14 changes: 7 additions & 7 deletions wp-app-kit/lang/wp-app-kit-fr_FR.pot
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ msgstr ""
#: ../lib/apps/apps.php:131
msgid ""
"PhoneGap config.xml informations that are going to be displayed on App "
"Stores.<br/>They are required when exporting the App to Phonegap, but are "
"Stores.<br/>They are required when exporting the App to PhoneGap, but are "
"not used for App debug and simulation in browsers."
msgstr ""

Expand Down Expand Up @@ -114,7 +114,7 @@ msgstr ""

# @ wp-app-kit
#: ../lib/apps/apps.php:148
msgid "Phonegap version"
msgid "PhoneGap version"
msgstr ""

# @ wp-app-kit
Expand All @@ -134,14 +134,14 @@ msgstr ""

# @ wp-app-kit
#: ../lib/apps/apps.php:160
msgid "Phonegap plugins"
msgid "PhoneGap plugins"
msgstr ""

# @ wp-app-kit
#: ../lib/apps/apps.php:162
msgid ""
"Write the phonegap plugins tags as defined in the PhoneGap documentation.<br/"
">Example : to include the \"In App Browser\" plugin for a Phonegap Build "
"Write the PhoneGap plugins tags as defined in the PhoneGap documentation.<br/"
">Example : to include the \"In App Browser\" plugin for a PhoneGap Build "
"compilation, enter &lt;gap:plugin name=\"org.apache.cordova.inappbrowser\" "
"version=\"0.3.3\" /&gt; directly in the textarea."
msgstr ""
Expand Down Expand Up @@ -212,7 +212,7 @@ msgstr ""

# @ wp-app-kit
#: ../lib/apps/build.php:28
msgid "Phonegap ready App export"
msgid "PhoneGap ready App export"
msgstr ""

# @ wp-app-kit
Expand Down Expand Up @@ -270,7 +270,7 @@ msgstr ""
# @ wp-app-kit
#: ../lib/apps/build.php:72
msgid ""
"Phonegap exports are Zip files created in the WordPress uploads directory"
"PhoneGap exports are Zip files created in the WordPress uploads directory"
msgstr ""

# @ wp-app-kit
Expand Down
14 changes: 7 additions & 7 deletions wp-app-kit/lib/apps/apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function apps_custom_post_type() {
'add_new' => __( 'Add', WpAppKit::i18n_domain ),
'add_new_item' => __( 'Add an application', WpAppKit::i18n_domain ),
'edit' => __( 'Edit', WpAppKit::i18n_domain ),
'edit_item' => __( 'Edit application', WpAppKit::i18n_domain ),
'edit_item' => __( 'Edit Application', WpAppKit::i18n_domain ),
'new_item' => __( 'New application', WpAppKit::i18n_domain ),
'not_found' => __( 'No application found', WpAppKit::i18n_domain ),
)
Expand Down Expand Up @@ -91,7 +91,7 @@ public static function add_phonegap_meta_box() {

add_meta_box(
'wpak_app_phonegap_data',
__( 'Phonegap config.xml data', WpAppKit::i18n_domain ),
__( 'PhoneGap config.xml Data', WpAppKit::i18n_domain ),
array( __CLASS__, 'inner_phonegap_infos_box' ),
'wpak_apps',
'normal',
Expand Down Expand Up @@ -132,15 +132,15 @@ public static function inner_phonegap_infos_box( $post, $current_box ) {
$main_infos = self::get_app_main_infos( $post->ID );
?>
<div class="wpak_settings">
<span class="description"><?php _e( 'PhoneGap config.xml informations that are going to be displayed on App Stores.<br/>They are required when exporting the App to Phonegap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?></span>
<span class="description"><?php _e( 'PhoneGap config.xml information that is going to be displayed on App Stores.<br/>They are required when exporting the App to PhoneGap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?></span>
<br/><br/>
<label><?php _e( 'Application name', WpAppKit::i18n_domain ) ?></label> : <br/>
<input type="text" name="wpak_app_name" value="<?php echo $main_infos['name'] ?>" />
<br/><br/>
<label><?php _e( 'Application description', WpAppKit::i18n_domain ) ?></label> : <br/>
<textarea name="wpak_app_desc"><?php echo $main_infos['desc'] ?></textarea>
<br/><br/>
<label><?php _e( 'Application id', WpAppKit::i18n_domain ) ?></label> : <br/>
<label><?php _e( 'Application ID', WpAppKit::i18n_domain ) ?></label> : <br/>
<input type="text" name="wpak_app_phonegap_id" value="<?php echo $main_infos['app_phonegap_id'] ?>" />
<br/><br/>
<label><?php _e( 'Version', WpAppKit::i18n_domain ) ?></label> : <br/>
Expand All @@ -149,7 +149,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) {
<label><?php _e( 'Application versionCode (Android only)', WpAppKit::i18n_domain ) ?></label> : <br/>
<input type="text" name="wpak_app_version_code" value="<?php echo $main_infos['version_code'] ?>" />
<br/><br/>
<label><?php _e( 'Phonegap version', WpAppKit::i18n_domain ) ?></label> : <br/>
<label><?php _e( 'PhoneGap version', WpAppKit::i18n_domain ) ?></label> : <br/>
<input type="text" name="wpak_app_phonegap_version" value="<?php echo $main_infos['phonegap_version'] ?>" />
<br/><br/>
<label><?php _e( 'Application author', WpAppKit::i18n_domain ) ?></label> : <br/>
Expand All @@ -161,9 +161,9 @@ public static function inner_phonegap_infos_box( $post, $current_box ) {
<label><?php _e( 'Application author email', WpAppKit::i18n_domain ) ?></label> : <br/>
<input type="text" name="wpak_app_author_email" value="<?php echo $main_infos['author_email'] ?>" />
<br/><br/>
<label><?php _e( 'Phonegap plugins', WpAppKit::i18n_domain ) ?></label> : <br/>
<label><?php _e( 'PhoneGap Plugins', WpAppKit::i18n_domain ) ?></label> : <br/>
<textarea name="wpak_app_phonegap_plugins"><?php echo $main_infos['phonegap_plugins'] ?></textarea>
<span class="description"><?php _e( 'Write the phonegap plugins tags as defined in the PhoneGap documentation.<br/>Example : to include the "In App Browser" plugin for a Phonegap Build compilation, enter &lt;gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /&gt; directly in the textarea.', WpAppKit::i18n_domain ) ?></span>
<span class="description"><?php _e( 'Write the PhoneGap plugins tags as defined in the PhoneGap documentation.<br/>Example : to include the "In App Browser" plugin for a PhoneGap Build compilation, enter &lt;gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /&gt; directly in the textarea.', WpAppKit::i18n_domain ) ?></span>
<br/><br/>
<label><?php _e( 'Icons and splashscreens', WpAppKit::i18n_domain ) ?></label> : <br/>
<textarea name="wpak_app_icons"><?php echo $main_infos['icons'] ?></textarea>
Expand Down
13 changes: 6 additions & 7 deletions wp-app-kit/lib/apps/build.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function add_meta_boxes() {

add_meta_box(
'wpak_export_box',
__( 'Phonegap ready App export', WpAppKit::i18n_domain ),
__( 'PhoneGap ready App export', WpAppKit::i18n_domain ),
array( __CLASS__, 'inner_export_box' ),
'wpak_apps',
'side',
Expand All @@ -44,7 +44,7 @@ public static function inner_simulation_box( $post, $current_box ) {
<option value="off" <?php echo $debug_mode == 'off' ? 'selected="selected"' : '' ?>><?php _e( 'Off', WpAppKit::i18n_domain ) ?></option>
<option value="wp" <?php echo $debug_mode == 'wp' ? 'selected="selected"' : '' ?>><?php _e( 'Same as WordPress WP_DEBUG', WpAppKit::i18n_domain ) ?></option>
</select>
<br/><span class="description"><?php _e( 'If activated, echoes debug infos in the browser javascript console while simulating the app.', WpAppKit::i18n_domain ) ?></span>
<br/><span class="description"><?php _e( 'If activated, echoes debug infos in the browser JavaScript console while simulating the app.', WpAppKit::i18n_domain ) ?></span>
<br/>
<br/>
<a href="<?php echo WpakSimulator::get_simulator_url( $post->ID ) ?>" class="button button-large"><?php _e( 'View application in simulator', WpAppKit::i18n_domain ) ?></a>
Expand All @@ -57,8 +57,7 @@ public static function inner_simulation_box( $post, $current_box ) {
<br/>
<br/>
<div style="word-wrap: break-word;">
<label><?php _e( 'Web services', WpAppKit::i18n_domain ) ?> :</label><br/>
<?php _e( 'Synchronization', WpAppKit::i18n_domain ) ?> : <a href="<?php echo $wp_ws_url ?>"><?php echo $wp_ws_url ?></a>
<label><?php _e( 'Web Services Synchronization', WpAppKit::i18n_domain ) ?> : </label><a href="<?php echo $wp_ws_url ?>"><?php echo $wp_ws_url ?></a>
</div>
<?php wp_nonce_field( 'wpak-simulation-data-' . $post->ID, 'wpak-nonce-simulation-data' ) ?>
<?php
Expand All @@ -69,7 +68,7 @@ public static function inner_export_box( $post, $current_box ) {
$available_themes = WpakThemes::get_available_themes();
$current_theme = WpakThemesStorage::get_current_theme( $app_id );
?>
<span class="description wpak_export_infos"><?php _e( 'Phonegap exports are Zip files created in the WordPress uploads directory', WpAppKit::i18n_domain ) ?> : <br/><strong><?php echo str_replace( ABSPATH, '', self::get_export_files_path() ) ?></strong></span>
<span class="description wpak_export_infos"><?php _e( 'PhoneGap exports are Zip files created in the WordPress uploads directory', WpAppKit::i18n_domain ) ?> : <br/><strong><?php echo str_replace( ABSPATH, '', self::get_export_files_path() ) ?></strong></span>
<br/><span class="description"><?php echo sprintf( __( "The %s last App exports are memorized in this directory.", WpAppKit::i18n_domain ), self::export_file_memory ) ?></span>
<br/><br/>
<label><?php _e( 'Themes to include in app export', WpAppKit::i18n_domain ) ?> : </label><br/>
Expand All @@ -80,7 +79,7 @@ public static function inner_export_box( $post, $current_box ) {
<?php endforeach ?>
</select>
<label for="wpak_download_after_build"><?php _e( 'Download after export', WpAppKit::i18n_domain ) ?></label> <input type="checkbox" id="wpak_download_after_build" checked="checked" />
<a id="wpak_export_link" href="#" class="button button-primary button-large"><?php _e( 'Export as PhoneGap App sources', WpAppKit::i18n_domain ) ?>!</a>
<a id="wpak_export_link" href="#" class="button button-primary button-large"><?php _e( 'Export as PhoneGap App sources', WpAppKit::i18n_domain ) ?></a>
<div id="wpak_export_feedback"></div>

<?php $previous_exports = self::get_available_app_exports( $app_id ) ?>
Expand All @@ -91,7 +90,7 @@ public static function inner_export_box( $post, $current_box ) {
<option value="<?php echo str_replace( '.zip', '', $entry ) ?>"><?php echo get_date_from_gmt( date( 'Y-m-d H:i:s', $timestamp ), 'F j, Y H:i:s' ) ?></option>
<?php endforeach ?>
</select>
<a id="wpak_download_existing_link" href="#" class="button button-large"><?php _e( 'Download', WpAppKit::i18n_domain ) ?>!</a>
<a id="wpak_download_existing_link" href="#" class="button button-large"><?php _e( 'Download', WpAppKit::i18n_domain ) ?></a>
<?php endif ?>

<?php wp_nonce_field( 'wpak-export-data-' . $post->ID, 'wpak-nonce-export-data' ) ?>
Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/lib/components/components-bo-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function admin_enqueue_scripts() {
public static function add_meta_boxes() {
add_meta_box(
'wpak_app_components',
__( 'App components', WpAppKit::i18n_domain ),
__( 'App Components', WpAppKit::i18n_domain ),
array( __CLASS__, 'inner_components_box' ),
'wpak_apps',
'normal',
Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/lib/simulator/simulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function settings_panel() {
<h3><a href="<?php echo $appli_dir_url . '/config.js?wpak_app_id=' . $app_id ?>" target="_blank"><?php _e( 'View config.js', WpAppKit::i18n_domain ) ?></a></h3>

<br/><br/>
<h3><?php _e( 'Web services', WpAppKit::i18n_domain ) ?> :</h3>
<h3><?php _e( 'Web Services', WpAppKit::i18n_domain ) ?> :</h3>
<?php _e( 'Synchronization', WpAppKit::i18n_domain ) ?> : <a href="<?php echo $wp_ws_url ?>"><?php echo $wp_ws_url ?></a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/lib/themes/upload-themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static function hooks() {

public static function add_settings_panels() {
$capability_required = current_user_can( 'wpak_edit_apps' ) ? 'wpak_edit_apps' : 'manage_options';
add_submenu_page( WpakApps::menu_item, __( 'Upload themes', WpAppKit::i18n_domain ), __( 'Upload themes', WpAppKit::i18n_domain ), $capability_required, self::menu_item, array( __CLASS__, 'settings_panel' ) );
add_submenu_page( WpakApps::menu_item, __( 'Upload Themes', WpAppKit::i18n_domain ), __( 'Upload themes', WpAppKit::i18n_domain ), $capability_required, self::menu_item, array( __CLASS__, 'settings_panel' ) );
}

public static function settings_panel() {
Expand Down
2 changes: 1 addition & 1 deletion wp-app-kit/wp-app-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*
Plugin Name: WP App Kit
Description: Build Phonegap Mobile apps based on your WordPress contents
Description: Build PhoneGap Mobile apps based on your WordPress contents
Version: 0.1
*/

Expand Down