Skip to content

Commit

Permalink
Class name change
Browse files Browse the repository at this point in the history
  • Loading branch information
techies23 committed Oct 2, 2024
1 parent 8cb9d4a commit 4c4d712
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: zoom video conference, video conference, web conferencing, online meetings
Donate link: https://www.paypal.com/donate?hosted_button_id=2UCQKR868M9WE
Requires at least: 5.0
Tested up to: 6.6
Stable tag: 4.6.0
Stable tag: 4.6.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -161,7 +161,10 @@ Yes, you should be registered in Zoom. Also, depending on the zoom account plan

== Changelog ==

= 4.6.0 September 26th, 2024
= 4.6.1 October 2nd, 2024 =
* Changed name of class from I18N => Locales.

= 4.6.0 September 26th, 2024 =
* Updated: WebSDK to version 3.8.10
* Optimized: Join via browser code.
* Fixed: Join via browser language change.
Expand Down
2 changes: 1 addition & 1 deletion includes/Helpers/i18n.php → includes/Helpers/Locales.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Codemanas\VczApi\Helpers;

class I18N {
class Locales {

public static function getSupportedTranslationsForWeb(): array {
return [
Expand Down
4 changes: 3 additions & 1 deletion includes/views/tabs/api-settings.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Codemanas\VczApi\Helpers\Locales;

// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
exit;
Expand Down Expand Up @@ -189,7 +191,7 @@ class="zoom_api_debugger_logs">
<select name="meeting-lang">
<option value="all" <?php ! empty( $default_jvb_lang ) ? selected( $default_jvb_lang, 'all' ) : false; ?>><?php _e( 'Show All', 'video-conferencing-with-zoom-api' ); ?></option>
<?php
$langs = \Codemanas\VczApi\Helpers\I18N::getSupportedTranslationsForWeb();
$langs = Locales::getSupportedTranslationsForWeb();
foreach ( $langs as $k => $lang ) {
?>
<option value="<?php echo $k; ?>" <?php echo ! empty( $default_jvb_lang ) && $default_jvb_lang == $k ? 'selected' : ''; ?>><?php echo $lang; ?></option>
Expand Down
4 changes: 2 additions & 2 deletions video-conferencing-with-zoom-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Plugin Name: Video Conferencing with Zoom
* Plugin URI: https://wordpress.org/plugins/video-conferencing-with-zoom-api/
* Description: Video Conferencing with Zoom Meetings and Webinars plugin provides you with great functionality of managing Zoom meetings, Webinar scheduling options, and users directly from your WordPress dashboard.
* Version: 4.6.0
* Version: 4.6.1
* Author: Deepen Bajracharya
* Author URI: https://www.imdpen.com
* License: GPL-2.0+
Expand All @@ -24,7 +24,7 @@

defined( 'ZVC_PLUGIN_FILE' ) || define( 'ZVC_PLUGIN_FILE', __FILE__ );
defined( 'ZVC_PLUGIN_SLUG' ) || define( 'ZVC_PLUGIN_SLUG', 'video-conferencing-zoom' );
defined( 'ZVC_PLUGIN_VERSION' ) || define( 'ZVC_PLUGIN_VERSION', '4.6.0' );
defined( 'ZVC_PLUGIN_VERSION' ) || define( 'ZVC_PLUGIN_VERSION', '4.6.1' );
defined( 'ZVC_ZOOM_WEBSDK_VERSION' ) || define( 'ZVC_ZOOM_WEBSDK_VERSION', '3.8.10' );
defined( 'ZVC_PLUGIN_DIR_PATH' ) || define( 'ZVC_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
defined( 'ZVC_PLUGIN_DIR_URL' ) || define( 'ZVC_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
Expand Down

0 comments on commit 4c4d712

Please sign in to comment.