Skip to content

Commit

Permalink
Merge pull request #54 from sayontan/translations-1
Browse files Browse the repository at this point in the history
Update translation files
  • Loading branch information
marcissimus authored Nov 23, 2023
2 parents 5decf56 + 6a6f5c7 commit 42c01fc
Show file tree
Hide file tree
Showing 7 changed files with 4,988 additions and 620 deletions.
4 changes: 4 additions & 0 deletions code/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ function suffusion_theme_setup() {
if(is_admin() && isset($_GET['activated']) && $pagenow = 'themes.php') {
header('Location: '.admin_url().'themes.php?page=suffusion-options-manager&now-active=true');
}

// Get any translations
// https://developer.wordpress.org/themes/functionality/internationalization/
load_theme_textdomain( 'suffusion', get_template_directory() . '/translation' );
}

/**
Expand Down
1 change: 1 addition & 0 deletions code/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: theme-options, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-header, custom-background, custom-menu, threaded-comments, sticky-post, rtl-language-support, microformats, featured-images, post-formats
* Text Domain: suffusion
* Domain Path: /translation
*
* Copyright (c) 2009 - 2019 Sayontan Sinha. All rights reserved.
*
Expand Down
Binary file added code/translation/de_DE.mo
Binary file not shown.
Loading

0 comments on commit 42c01fc

Please sign in to comment.