WordPress.org

Plugin Directory


Ignore:
Timestamp:
03/10/12 12:28:40 (6 years ago)
Author:
MZAWeb
Message:
  • Added Spanish localization
  • Fixed some localization related issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • business-hours-plugin/trunk/widget.php

    r517192 r517200  
    1010        function WorkingHoursWidget() { 
    1111 
    12             $widget_ops = array( 'classname' => 'workinghourswidget', 'description' => 'Shows your business hours by day' ); 
     12            $widget_ops = array( 'classname' => 'workinghourswidget', 'description' => __('Shows your business hours by day',"business-hours") ); 
    1313 
    1414            $control_ops = array( 'width' => 200, 'height' => 350, 'id_base' => 'workinghourswidget' ); 
    1515 
    16             $this->WP_Widget( 'workinghourswidget', 'Business Hours by Day', $widget_ops, $control_ops ); 
     16            $this->WP_Widget( 'workinghourswidget', __('Business Hours by Day', "business-hours"), $widget_ops, $control_ops ); 
    1717 
    1818            if ( is_active_widget(false, false, $this->id_base) ){ 
Note: See TracChangeset for help on using the changeset viewer.