Skip to content

Commit

Permalink
Add default localization for accessible carousels to support Air-bloc…
Browse files Browse the repository at this point in the history
…ks 1.1.2
  • Loading branch information
ronilaukkarinen committed Jun 9, 2022
1 parent bfc851a commit fd30667
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 9.0.4: 2022-06-09

* Add default localization for accessible carousels to support Air-blocks 1.1.2

### 9.0.3: 2022-06-08

* Remove leftover %screen-reader-text from editor styles
Expand Down
2 changes: 1 addition & 1 deletion bin/tasks/additions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chmod 777 ${PROJECT_PATH}/media

echo "${YELLOW}Generating default README.md...${TXTRESET}"

NEWEST_AIR_VERSION="9.0.3"
NEWEST_AIR_VERSION="9.0.4"
NEWEST_WORDPRESS_VERSION="6.0.0"
NEWEST_PHP_VERSION="7.4"
CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_');
Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @Date: 2019-10-15 12:30:02
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-06-08 15:14:06
* @Last Modified time: 2022-06-09 12:04:51
*
* @package air-light
*/
Expand All @@ -17,7 +17,7 @@
/**
* The current version of the theme.
*/
define( 'AIR_LIGHT_VERSION', '9.0.3' );
define( 'AIR_LIGHT_VERSION', '9.0.4' );

// We need to have some defaults as comments or empties so let's allow this:
// phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray
Expand Down
5 changes: 3 additions & 2 deletions inc/hooks/scripts-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* @Author: Niku Hietanen
* @Date: 2020-02-20 13:46:50
* @Last Modified by: Timi Wahalahti
* @Last Modified time: 2022-04-08 13:04:00
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-06-09 12:03:40
*
* @package air-light
*/
Expand Down Expand Up @@ -61,6 +61,7 @@ function enqueue_theme_scripts() {
'previous_slide' => get_default_localization( 'Previous slide' ),
'next_slide' => get_default_localization( 'Next slide' ),
'last_slide' => get_default_localization( 'Last slide' ),
'skip_slider' => get_default_localization( 'Skip over the carousel element' ),
] );

// Add domains/hosts to disable external link indicators
Expand Down
4 changes: 3 additions & 1 deletion inc/includes/localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @Author: Timi Wahalahti
* @Date: 2019-12-03 11:03:31
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-02-08 17:08:22
* @Last Modified time: 2022-06-09 12:04:05
*
* @package air-light
*/
Expand Down Expand Up @@ -39,6 +39,7 @@ function get_default_localization_strings( $language = 'en' ) {
'Close child menu' => __( 'Close child menu', 'air-light' ),
'Close child menu for' => __( 'Close child menu for', 'air-light' ),
'Skip to content' => __( 'Skip to content', 'air-light' ),
'Skip over the carousel element' => __( 'Skip over the carousel element', 'air-light' ),
'External site' => __( 'External site', 'air-light' ),
'opens in a new window' => __( 'opens in a new window', 'air-light' ),
'Page not found.' => __( 'Page not found.', 'air-light' ),
Expand All @@ -63,6 +64,7 @@ function get_default_localization_strings( $language = 'en' ) {
'Close child menu' => 'Sulje alavalikko',
'Close child menu for' => 'Sulje alavalikko kohteelle',
'Skip to content' => 'Siirry suoraan sisältöön',
'Skip over the carousel element' => 'Hyppää karusellisisällön yli seuraavaan sisältöön',
'External site' => 'Ulkoinen sivusto',
'opens in a new window' => 'avautuu uuteen ikkunaan',
'Page not found.' => 'Hups. Näyttää, ettei sivua löydy.',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-light",
"version": "9.0.3",
"version": "9.0.4",
"description": "A minimalist WordPress starter theme.",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Tags: one-column, accessibility-ready, translation-ready

Requires at least: 5.0
Tested up to: 6.0.0
Stable tag: 9.0.3
Stable tag: 9.0.4
License: MIT License
License URI: https://opensource.org/licenses/MIT

Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/digitoimistodude/air-light
Author: Digitoimisto Dude Oy
Author URI: https://www.dude.fi
Description: Hi. I'm a starter theme called <code>Air-light</code>, or <em>air</em>, if you like. I'm a theme based on Automattic's underscores and I'm meant for hacking so don't use me as a <em>Parent Theme</em> as-is. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.
Version: 9.0.3
Version: 9.0.4
------8<----------
Please do this before your actual theme is ready to go live:
Expand All @@ -20,7 +20,7 @@ If you see this, contact the site admin.
/*---------------------------------------------------------------
>>> Air-light theme version information, only for AIR developers
-----------------------------------------------------------------
@version 2022-06-08
@version 2022-06-09
@since 2016-01-28
Tested up to: 5.9.3
Expand Down

0 comments on commit fd30667

Please sign in to comment.