Swedish localization

We have translated this plugin, attaching the .po file in the hope that it can be useful for someone else.

  • Niklas
    • The Incredible Code Injector

    Speaking of which, we discovered a bug, the plugin is looking for the translation files in a non-existing folder

    change the original:

    if ( defined( 'WPMU_PLUGIN_DIR' ) && file_exists( WPMU_PLUGIN_DIR . '/admin-footer-text.php' ) ) {
      load_muplugin_textdomain( 'admin_footer_text', 'admin-footer-text-files/languages' );
    } else {
      load_plugin_textdomain( 'admin_footer_text', false, dirname( plugin_basename( __FILE__ ) ) . '/admin-footer-text-files/languages' );
    }

    To this:

    if ( defined( 'WPMU_PLUGIN_DIR' ) && file_exists( WPMU_PLUGIN_DIR . '/admin-footer-text.php' ) ) {
      load_muplugin_textdomain( 'admin_footer_text', 'admin-footer-text/languages' );
    } else {
      load_plugin_textdomain( 'admin_footer_text', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    }
  • DavidM
    • DEV MAN’s Mascot

    Can't really say thanks enough for all your work here thus far! Besides being so kind as to share your translated works you appear to have found an issue in the plugin code. I'll notify the developer on this.

    Thanks though, for your most excellent shares here (I noticed the other threads as well), and also for your feedback on the plugin code.

    Rep points coming your way! :slight_smile:

    Cheers,
    David

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.