Plugin Directory

Changeset 2458473


Ignore:
Timestamp:
01/18/2021 07:07:32 PM (5 years ago)
Author:
kees-brandenburg
Message:

Added: Active/Sold categories to living/bog objects
Added: option in recent objects widget to only show objects in a specific category
Changed: better translation of several stuff to english

Location:
yes-co-ores-wordpress-plugin/trunk
Files:
1 added
14 edited
1 moved

Legend:

Unmodified
Added
Removed
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_cron.php

    r2458472 r2458473  
    11<?php
    2 add_action('yog_cron_open_houses', 'yog_cronUpdateOpenHouses');
     2class YogCron
     3{
     4  /**
     5  * @desc Update open house categories for open house dates in the past
     6  */
     7  public static function updateOpenHouses()
     8  {
     9    // Retrieve all objects with open house category
     10    $objecten = get_posts(array('post_type'     => YOG_POST_TYPE_WONEN,
     11                                'category_name' => 'open-huis',
     12                                'numberposts'   => -1));
    313
    4 /**
    5 * @desc Update open house categories for open house dates in the past
    6 */
    7 function yog_cronUpdateOpenHouses()
    8 {
    9   // Retrieve all objects with open house category
    10   $objecten = get_posts(array('post_type'     => YOG_POST_TYPE_WONEN,
    11                               'category_name' => 'open-huis',
    12                               'numberposts'   => -1));
     14    $taxName  = (get_option('yog_cat_custom') ? 'yog_category' : 'category');
    1315
    14   $taxName  = (get_option('yog_cat_custom') ? 'yog_category' : 'category');
     16    foreach ($objecten as $object)
     17    {
     18      $openHouseStart = get_post_meta($object->ID,'huis_OpenHuisTot', true);
     19      $openHouseEnd   = get_post_meta($object->ID,'huis_OpenHuisTot',true);
    1520
    16   foreach ($objecten as $object)
    17   {
    18     $openHouseStart = get_post_meta($object->ID,'huis_OpenHuisTot', true);
    19     $openHouseEnd   = get_post_meta($object->ID,'huis_OpenHuisTot',true);
    20        
    21         $openHouseStartTimestamp    = null;
    22         $openHouseEndTimestamp      = null;
    23         $currentTimestamp                   = current_time('timestamp');
    24        
    25         if (!empty($openHouseStart))
    26         {
    27             $dateTime                                   = new \DateTime($openHouseStart);
    28             $openHouseStartTimestamp    = $dateTime->format('U');
    29         }
    30        
    31         if (!empty($openHouseEnd))
    32         {
    33             $dateTime                                   = new \DateTime($openHouseEnd);
    34             $openHouseEndTimestamp      = $dateTime->format('U');
    35         }
     21      $openHouseStartTimestamp  = null;
     22      $openHouseEndTimestamp        = null;
     23      $currentTimestamp                 = current_time('timestamp');
    3624
    37     // Update categories if open house date is old
    38     if ((is_null($openHouseStartTimestamp) || $openHouseStartTimestamp < $currentTimestamp) && (is_null($openHouseEndTimestamp) || $openHouseEndTimestamp < $currentTimestamp))
    39     {
    40       $categories     = wp_get_object_terms( $object->ID, $taxName);
    41       $categorySlugs  = array();
    42 
    43       foreach ($categories as $category)
     25      if (!empty($openHouseStart))
    4426      {
    45         if ($category->slug != 'open-huis')
    46           $categorySlugs[] = $category->slug;
     27        $dateTime                                   = new \DateTime($openHouseStart);
     28        $openHouseStartTimestamp    = $dateTime->format('U');
    4729      }
    4830
    49       wp_set_object_terms( $object->ID, $categorySlugs, $taxName, false);
     31      if (!empty($openHouseEnd))
     32      {
     33        $dateTime                                   = new \DateTime($openHouseEnd);
     34        $openHouseEndTimestamp      = $dateTime->format('U');
     35      }
     36
     37      // Update categories if open house date is old
     38      if ((is_null($openHouseStartTimestamp) || $openHouseStartTimestamp < $currentTimestamp) && (is_null($openHouseEndTimestamp) || $openHouseEndTimestamp < $currentTimestamp))
     39      {
     40        $categories     = wp_get_object_terms( $object->ID, $taxName);
     41        $categorySlugs  = array();
     42
     43        foreach ($categories as $category)
     44        {
     45          if ($category->slug != 'open-huis')
     46            $categorySlugs[] = $category->slug;
     47        }
     48
     49        wp_set_object_terms( $object->ID, $categorySlugs, $taxName, false);
     50      }
    5051    }
    5152  }
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_fields_settings.php

    r2383796 r2458473  
    167167                'huis_OnderhoudBinnen'      => array( 'title' => 'Onderhoud binnen'),
    168168                'huis_OnderhoudBuiten'      => array( 'title' => 'Onderhoud buiten'),
    169         'huis_Ligging'            => array(),
    170         'huis_GarageType'         => array( 'title' => 'Garage'),
     169        'huis_Ligging'            => array('multipleSplitByComma' => true),
     170        'huis_GarageType'         => array( 'title' => 'Garage', 'multipleSplitByComma' => true),
    171171                'huis_GarageCapaciteit'     => array( 'title' => 'Garage capactiteit'),
    172         'huis_TuinType'           => array( 'title' => 'Tuin'),
     172        'huis_TuinType'           => array( 'title' => 'Tuin', 'multipleSplitByComma' => true),
    173173                'huis_TuinTotaleOppervlakte'    => array( 'title' => 'Tuin oppervlakte'),
    174174                'huis_HoofdTuinType'      => array( 'title' => 'Hoofd tuin'),
    175175        'huis_HoofdTuinTotaleOppervlakte' => array( 'title' => 'Hoofd tuin opp.',
    176176                                                     'type' => 'oppervlakte'),
    177                 'huis_TuinLigging'              => array( 'title' => 'Tuin ligging'),
     177                'huis_TuinLigging'              => array( 'title' => 'Tuin ligging', 'multipleSplitByComma' => true),
    178178        'huis_PraktijkruimteType' => array( 'title' => 'Praktijkruimte'),
    179179        'huis_EnergielabelKlasse' => array( 'title' => 'Energie label',
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_plugin.php

    r2386217 r2458473  
    33  require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_object_search_manager.php');
    44  require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_system_link_manager.php');
     5  require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_cron.php');
    56
    67  /**
     
    9293      add_filter('post_rewrite_rules', array($this, 'insertCustomRewriteRules'));
    9394      add_filter('post_type_link', array($this, 'fixPermalinks'), 1, 3);
     95
     96      add_action('yog_cron_open_houses',        array('YogCron', 'updateOpenHouses'));
    9497
    9598      register_deactivation_hook(YOG_PLUGIN_DIR . '/yesco-og.php', array($this, 'onDeactivation'));
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_project_bog_translation.php

    r2383796 r2458473  
    261261
    262262          // State
    263       if (in_array(strtolower($this->determineState()), array('verkocht', 'verhuurd')))
     263      $state = strtolower($this->determineState());
     264      if (in_array($state, array('verkocht', 'verhuurd')))
     265      {
    264266              $categories[] = 'bog-verkochtverhuurd';
     267
     268        if ($state === 'verhuurd')
     269          $categories[] = 'bog-verhuurd';
     270        else
     271          $categories[] = 'bog-verkocht';
     272      }
     273      else
     274      {
     275        $categories[] = 'bog-actief';
     276      }
    265277
    266278            // Belegging
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_project_wonen_translation.php

    r2311622 r2458473  
    185185    public function getCategories()
    186186    {
     187      $state      = strtolower($this->determineState());
     188      $sold       = in_array($state, array('verkocht', 'verhuurd'));
    187189        $categories = array('consument');
    188190
     
    206208            $categories[] = 'open-huis';
    207209
     210          if ($sold === false)
     211            $categories[] = 'woonruimte-actief';
     212
    208213          break;
    209214        // Other
    210215        default:
    211216          $categories[] = strtolower($this->mcp3Project->getType());
     217
     218          if ($sold === false)
     219            $categories[] = strtolower($this->mcp3Project->getType()) . '-actief';
    212220          break;
    213221      }
     
    219227
    220228      // Verhuur
    221       $koopPrijs = $this->mcp3Project->getStringByPath('//project:Details/project:Huur/project:Prijs');
    222       if (!empty($koopPrijs))
     229      $huurPrijs = $this->mcp3Project->getStringByPath('//project:Details/project:Huur/project:Prijs');
     230      if (!empty($huurPrijs))
    223231        $categories[] = 'verhuur';
    224232
    225233          // State
    226       if (in_array(strtolower($this->determineState()), array('verkocht', 'verhuurd')))
     234      if ($sold === true)
     235      {
    227236              $categories[] = 'verkochtverhuurd';
     237
     238        if ($state === 'verhuurd')
     239          $categories[] = 'verhuurd';
     240        else
     241          $categories[] = 'verkocht';
     242      }
    228243
    229244      // Allow the theme to add custom categories
  • yes-co-ores-wordpress-plugin/trunk/includes/classes/yog_synchronization_manager.php

    r2394300 r2458473  
    77  require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_dossier_translation.php');
    88    require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_api.php');
     9  require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_cron.php');
    910    require_once(YOG_PLUGIN_DIR . '/includes/yog_private_functions.php');
    1011
     
    586587
    587588      // Check if there are project's with open house category that shouldn't have it anymore
    588       yog_cronUpdateOpenHouses();
     589      YogCron::updateOpenHouses();
    589590
    590591            // Clear cache of external wordpress plugins (currently only Cache Enabler is supported)
     
    13561357                                                      'verhuur'             => 'Verhuur',
    13571358                                                      'verkoop'             => 'Verkoop',
    1358                                                       'verkochtverhuurd'    => 'Verkocht/verhuurd'),
     1359                                                      'verkochtverhuurd'    => 'Verkocht/verhuurd',
     1360                                                      'verkocht'            => 'Verkocht',
     1361                                                      'verhuurd'            => 'Verhuurd',
     1362                                                      'woonruimte-actief'         => 'Actieve woningen',
     1363                                                      'bouwgrond-actief'          => 'Actieve bouwgronden',
     1364                                                      'parkeergelegenheid-actief' => 'Actieve parkeergelegenheden',
     1365                                                      'berging-actief'            => 'Actieve bergingen',
     1366                                                                                                            'onderstuk-actief'          => 'Actieve onderstukken',
     1367                                                                                                            'opslagruimte-actief'               => 'Actieve opslagruimtes',
     1368                                                      'standplaats-actief'        => 'Actieve standplaatsen',
     1369                                                      'ligplaats-actief'          => 'Actieve ligplaatsen'),
    13591370                              $woonruimteId => array( 'appartement'         => 'Appartement',
    13601371                                                      'woonhuis'            => 'Woonhuis'),
     
    13641375                                                      'bog-verhuur'           => 'Verhuur',
    13651376                                                      'bog-verkochtverhuurd'  => 'Verkocht/verhuurd',
     1377                                                      'bog-verkocht'          => 'Verkocht',
     1378                                                      'bog-verhuurd'          => 'Verhuurd',
     1379                                                      'bog-actief'            => 'Actieve BOG objecten',
    13661380                                                      'bedrijfsruimte'        => 'Bedrijfsruimte',
    13671381                                                      'bog-bouwgrond'         => 'Bouwgrond',
  • yes-co-ores-wordpress-plugin/trunk/includes/config/config.php

    r2426603 r2458473  
    2121  define('YOG_POST_TYPE_ATTACHMENT',    'attachment');
    2222
    23   define('YOG_PLUGIN_VERSION',      '1.3.72');
     23  define('YOG_PLUGIN_VERSION',      '1.3.73');
    2424  define('YOG_PLUGIN_DOJO_VERSION', '1.12.2'); // Old 1.9.3
    2525?>
  • yes-co-ores-wordpress-plugin/trunk/includes/widgets/yog_recent_objects_widget.php

    r2138965 r2458473  
    104104        else
    105105        {
     106      // Add filter on category
     107      if (!empty($instance['only_cat']))
     108        $baseSql .= 'AND EXISTS (SELECT true FROM ' . $wpdb->term_relationships . ' AS termLink WHERE termLink.object_id=' . $wpdb->posts . '.ID AND termLink.term_taxonomy_id = ' . (int) $instance['only_cat'] . ')';
     109
    106110            $sqls[] = array('sql' => $baseSql . 'ORDER BY post_date DESC LIMIT ' . $limit);
    107111        }
     
    302306            $storedCounter  = 0;
    303307            $limit                  = 0;
     308      $onlyCategory   = null;
    304309
    305310            while ($counter < self::MAX_CATEGORY_SETTINGS)
     
    342347            // Set limit
    343348            $limit  = (!empty($new_instance['limit']) && ctype_digit($new_instance['limit'])) ? (int) $new_instance['limit'] : self::DEFAULT_LIMIT;
     349
     350      // Set only category
     351      $onlyCategory = !empty($new_instance['only_cat']) ? $new_instance['only_cat'] : null;
    344352        }
    345353
    346354        $instance['limit']          = $limit;
    347355        $instance['post_types'] = implode(',', $postTypes);
     356    $instance['only_cat']   = $onlyCategory;
    348357
    349358    // Widget settings storage is extendible by a theme or other plugin
     
    368377        $groupByCategory                = (!empty($instance['group_by']) && $instance['group_by'] === 'category');
    369378        $groupByNone                        = !$groupByCategory;
     379    $onlyCategory           = ($groupByNone === true && !empty($instance['only_cat'])) ? $instance['only_cat'] : null;
    370380        $groupByCategoryOptions = empty($instance['group_by_category_options']) ? array() : $instance['group_by_category_options'];
    371381
     
    396406                        }
    397407                    echo '</p>';
    398 
    399                     echo '<label for="' . esc_attr($this->get_field_id('limit')) . '"><i>' . __('Aantal te tonen objecten') . '</i>: </label>';
    400                     echo '<input id="' . esc_attr($this->get_field_id('limit')) . '" name="' . esc_attr($this->get_field_name('limit')) . '" type="number" min="0" max="9" step="1" value="' . esc_attr($limit) . '" size="3" />';
     408          echo '<p>';
     409            echo '<label for="' . esc_attr($this->get_field_id('limit')) . '"><i>Aantal te tonen objecten</i>: </label>';
     410            echo '<input id="' . esc_attr($this->get_field_id('limit')) . '" name="' . esc_attr($this->get_field_name('limit')) . '" type="number" min="0" max="9" step="1" value="' . esc_attr($limit) . '" size="3" />';
     411          echo '</p>';
     412          echo '<p>';
     413            echo '<label for="' . esc_attr($this->get_field_id('only_cat')) . '"><i>Alleen objecten uit bepaalde category tonen</i>: </label>';
     414            wp_dropdown_categories(array('taxonomy' => $categoryTaxanomy, 'hierarchical' => true, 'orderby' => 'name', 'hide_empty' => false, 'show_option_none' => ' ', 'option_none_value' => '', 'name' => $this->get_field_name('only_cat'), 'selected' => $onlyCategory));
     415          echo '</p>';
    401416                echo '</div>';
    402417            echo '</div>';
  • yes-co-ores-wordpress-plugin/trunk/includes/widgets/yog_search_form_widget_abstract.php

    r2158510 r2458473  
    328328        foreach ($values as $key => $value)
    329329        {
    330           $html .= '<option value="' . esc_attr($key) . '"' . (($key == $selected) ? ' selected="selected"' : '') . '>' . esc_html($value) . '</option>';
     330          $html .= '<option value="' . esc_attr($key) . '"' . (($key == $selected) ? ' selected="selected"' : '') . '>' . esc_html(__($value, YOG_TRANSLATION_TEXT_DOMAIN)) . '</option>';
    331331        }
    332332
  • yes-co-ores-wordpress-plugin/trunk/includes/yog_public_functions.php

    r2383796 r2458473  
    136136                    }
    137137
    138                     $values[$spec] = $value;
     138                    $values[$spec] = __($value, YOG_TRANSLATION_TEXT_DOMAIN);
    139139                }
    140140        else
     
    144144          if (!empty($value) && strlen(trim($value)) > 0)
    145145          {
     146            $translatable = true;
     147
    146148            // Transform value
    147149            if ($fieldsSettings->containsField($postMetaName))
     
    160162              if (!empty($settings['type']))
    161163              {
     164                // Most setting types do not need to be translated
     165                $translatable = false;
     166
    162167                switch ($settings['type'])
    163168                {
     
    202207              }
    203208
     209              // Some fields can contain multiple values split by a comma
     210              if ($translatable === true && isset($settings['multipleSplitByComma']) && $settings['multipleSplitByComma'] === true && strpos($value, ',') !== false)
     211              {
     212                $translatedValues = [];
     213
     214                foreach (explode(',', $value) as $currentValue)
     215                {
     216                  $translatedValues[] = __(trim($currentValue), YOG_TRANSLATION_TEXT_DOMAIN);
     217                }
     218
     219                $value = implode(', ', $translatedValues);
     220              }
     221
     222              // When an addition is set, the value also does not need to be translated
    204223              if (!empty($settings['addition']))
    205                 $value .= $settings['addition'];
     224              {
     225                $translatable = false;
     226                $value .= __($settings['addition'], YOG_TRANSLATION_TEXT_DOMAIN);
     227              }
    206228
    207229              if (!empty($settings['title']) && $returnTitle !== false)
     
    209231            }
    210232
    211             $values[$spec] = $value;
     233            if ($translatable === true)
     234             $values[$spec] = __($value, YOG_TRANSLATION_TEXT_DOMAIN);
     235            else
     236              $values[$spec] = $value;
    212237          }
    213238        }
     
    327352          {
    328353            $priceCondition = yog_retrieveSpec($field . 'Conditie', $postId);
    329             $value = $labelElemStart . esc_html($priceType) . ': ' . $labelElemEnd . $valueElemStart . esc_html($price) . (empty($priceCondition) ? '' : ' <span class="' . esc_attr($priceConditionClass) . '">' . esc_html($priceCondition) . '</span>');
     354            $value = $labelElemStart . esc_html(__($priceType, YOG_TRANSLATION_TEXT_DOMAIN)) . ': ' . $labelElemEnd . $valueElemStart . esc_html($price) . (empty($priceCondition) ? '' : ' <span class="' . esc_attr($priceConditionClass) . '">' . esc_html($priceCondition) . '</span>');
    330355
    331356            if ($postType == YOG_POST_TYPE_BOG)
     
    341366        else
    342367        {
    343           $values[] = $labelElemStart . $priceType . ': ' . $labelElemEnd . $valueElemStart . $replace . $valueElemEnd;
     368          $values[] = $labelElemStart . esc_html(__($priceType, YOG_TRANSLATION_TEXT_DOMAIN)) . ': ' . $labelElemEnd . $valueElemStart . $replace . $valueElemEnd;
    344369        }
    345370      }
     
    374399                            $value .= ' <span class="' . esc_attr($priceConditionClass) . '">' . esc_html($priceCondition) . '</span>';
    375400
    376                         $values[] = $labelElemStart . $label . ': ' . $labelElemEnd . $valueElemStart . $value . $valueElemEnd;
     401                        $values[] = $labelElemStart . __($label, 'yes-co-ores-wordpress-plugin') . ': ' . $labelElemEnd . $valueElemStart . $value . $valueElemEnd;
    377402                    }
    378403                }
    379404                else
    380405                {
    381                     $values[] = $labelElemStart . $label . ': ' . $labelElemEnd . $valueElemStart . $replace . $valueElemEnd;
     406                    $values[] = $labelElemStart . __($label, 'yes-co-ores-wordpress-plugin') . ': ' . $labelElemEnd . $valueElemStart . $replace . $valueElemEnd;
    382407                }
    383408      }
  • yes-co-ores-wordpress-plugin/trunk/languages/yes-co-ores-wordpress-plugin-en_US.po

    r2174989 r2458473  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2019-10-17 16:38+0200\n"
    5 "PO-Revision-Date: 2019-10-17 16:38+0200\n"
     4"POT-Creation-Date: 2020-12-08 13:08+0100\n"
     5"PO-Revision-Date: 2020-12-08 13:11+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 2.2.4\n"
     12"X-Generator: Poedit 2.0.6\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    15 "X-Poedit-KeywordsList: __\n"
     15"X-Poedit-KeywordsList: __;_e\n"
    1616"X-Poedit-SearchPath-0: .\n"
    1717
    18 #: includes/classes/yog_plugin.php:248 includes/classes/yog_plugin.php:272
    19 #: includes/classes/yog_plugin.php:296 includes/classes/yog_plugin.php:320
    20 #: includes/classes/yog_plugin.php:366 includes/classes/yog_plugin.php:390
    21 #: includes/classes/yog_plugin.php:1217
    22 #: includes/classes/yog_wp_admin_object_ui.php:698
     18#: includes/classes/yog_plugin.php:250 includes/classes/yog_plugin.php:274
     19#: includes/classes/yog_plugin.php:298 includes/classes/yog_plugin.php:322
     20#: includes/classes/yog_plugin.php:368 includes/classes/yog_plugin.php:392
     21#: includes/classes/yog_plugin.php:1258
     22#: includes/classes/yog_wp_admin_object_ui.php:688
    2323msgid "View"
    2424msgstr ""
    2525
    26 #: includes/classes/yog_plugin.php:471
     26#: includes/classes/yog_plugin.php:473
    2727msgid "Yes-co"
    2828msgstr ""
    2929
    30 #: includes/classes/yog_plugin.php:1215
    31 #: includes/classes/yog_wp_admin_object_ui.php:689
     30#: includes/classes/yog_plugin.php:1256
     31#: includes/classes/yog_wp_admin_object_ui.php:679
    3232msgid "Edit"
    3333msgstr ""
    3434
    35 #: includes/classes/yog_plugin.php:1274
     35#: includes/classes/yog_plugin.php:1315
    3636msgid "Categories"
    3737msgstr ""
    3838
    39 #: includes/classes/yog_wp_admin_object_ui.php:677
     39#: includes/classes/yog_wp_admin_object_ui.php:667
    4040msgid "Published"
    4141msgstr ""
    4242
    43 #: includes/classes/yog_wp_admin_object_ui.php:693
     43#: includes/classes/yog_wp_admin_object_ui.php:683
    4444msgid "Restore"
    4545msgstr ""
    4646
    47 #: includes/classes/yog_wp_admin_object_ui.php:694
     47#: includes/classes/yog_wp_admin_object_ui.php:684
    4848msgid "Delete Permanently"
    4949msgstr ""
    5050
    51 #: includes/pages/settings.php:244
     51#: includes/config/language_strings.php:7
     52msgid "Appartement"
     53msgstr "Apartment"
     54
     55#: includes/config/language_strings.php:8
     56msgid "Berging"
     57msgstr "Storeroom"
     58
     59#: includes/config/language_strings.php:9
     60msgid "Bouwgrond"
     61msgstr "Building plot"
     62
     63#: includes/config/language_strings.php:10
     64msgid "Garagebox"
     65msgstr "Garage box"
     66
     67#: includes/config/language_strings.php:11
     68msgid "Inpandige garage"
     69msgstr "Indoor garage"
     70
     71#: includes/config/language_strings.php:12
     72msgid "Ligplaats"
     73msgstr "Berth"
     74
     75#: includes/config/language_strings.php:13
     76msgid "Onderstuk"
     77msgstr ""
     78
     79#: includes/config/language_strings.php:14
     80msgid "Opslagruimte"
     81msgstr "Storage area"
     82
     83#: includes/config/language_strings.php:15
     84msgid "Parkeerkelder"
     85msgstr "Parking basement"
     86
     87#: includes/config/language_strings.php:16
     88msgid "Parkeerplaats"
     89msgstr "Parking spot"
     90
     91#: includes/config/language_strings.php:17
     92msgid "Stacaravanstandplaats"
     93msgstr "Mobile home pitch"
     94
     95#: includes/config/language_strings.php:18
     96msgid "Woonhuis"
     97msgstr "Residential building"
     98
     99#: includes/config/language_strings.php:19
     100msgid "Woonwagenstandplaats"
     101msgstr "Caravan site"
     102
     103#: includes/config/language_strings.php:22
     104msgid "bungalow"
     105msgstr ""
     106
     107#: includes/config/language_strings.php:23
     108msgid "eengezinswoning"
     109msgstr "single-family house"
     110
     111#: includes/config/language_strings.php:24
     112msgid "grachtenpand"
     113msgstr "canal house"
     114
     115#: includes/config/language_strings.php:25
     116msgid "herenhuis"
     117msgstr "mansion"
     118
     119#: includes/config/language_strings.php:26
     120msgid "landgoed"
     121msgstr "estate"
     122
     123#: includes/config/language_strings.php:27
     124msgid "landhuis"
     125msgstr "country house"
     126
     127#: includes/config/language_strings.php:28
     128msgid "stacaravan"
     129msgstr "mobile home"
     130
     131#: includes/config/language_strings.php:29
     132msgid "villa"
     133msgstr ""
     134
     135#: includes/config/language_strings.php:30
     136msgid "woonboerderij"
     137msgstr "farmhouse"
     138
     139#: includes/config/language_strings.php:31
     140msgid "woonboot"
     141msgstr "houseboat"
     142
     143#: includes/config/language_strings.php:32
     144msgid "woonwagen"
     145msgstr "caravan"
     146
     147#: includes/config/language_strings.php:35
     148msgid "2-onder-1-kapwoning"
     149msgstr "Semi-detached house"
     150
     151#: includes/config/language_strings.php:36
     152msgid "eindwoning"
     153msgstr "end house"
     154
     155#: includes/config/language_strings.php:37
     156msgid "geschakelde 2-onder-1-kapwoning"
     157msgstr "semi-detached house"
     158
     159#: includes/config/language_strings.php:38
     160msgid "geschakelde woning"
     161msgstr "semi-detached house"
     162
     163#: includes/config/language_strings.php:39
     164msgid "halfvrijstaande woning"
     165msgstr "semi-detached house"
     166
     167#: includes/config/language_strings.php:40
     168msgid "hoekwoning"
     169msgstr "corner house"
     170
     171#: includes/config/language_strings.php:41
     172msgid "tussenwoning"
     173msgstr "terraced house"
     174
     175#: includes/config/language_strings.php:42
     176msgid "verspringend"
     177msgstr "staggered"
     178
     179#: includes/config/language_strings.php:43
     180msgid "vrijstaande woning"
     181msgstr "detached house"
     182
     183#: includes/config/language_strings.php:46
     184msgid "bedrijfs- of dienstwoning"
     185msgstr "company or service residence"
     186
     187#: includes/config/language_strings.php:47
     188msgid "dijkwoning"
     189msgstr "dyke house"
     190
     191#: includes/config/language_strings.php:48
     192msgid "drive-in woning"
     193msgstr "drive-in house"
     194
     195#: includes/config/language_strings.php:49
     196msgid "hofjeswoning"
     197msgstr "courtyard house"
     198
     199#: includes/config/language_strings.php:50
     200msgid "kwadrantwoning"
     201msgstr "quadrant house"
     202
     203#: includes/config/language_strings.php:51
     204msgid "paalwoning"
     205msgstr "stilt house"
     206
     207#: includes/config/language_strings.php:52
     208msgid "patiowoning"
     209msgstr "patio house"
     210
     211#: includes/config/language_strings.php:53
     212msgid "semi-bungalow"
     213msgstr ""
     214
     215#: includes/config/language_strings.php:54
     216msgid "split-level woning"
     217msgstr "split-level house"
     218
     219#: includes/config/language_strings.php:55
     220msgid "waterwoning"
     221msgstr "water house"
     222
     223#: includes/config/language_strings.php:56
     224msgid "wind/watermolen"
     225msgstr "wind / watermill"
     226
     227#: includes/config/language_strings.php:59
     228msgid "beneden + bovenwoning"
     229msgstr "downstairs + upstairs apartment"
     230
     231#: includes/config/language_strings.php:60
     232msgid "benedenwoning"
     233msgstr "ground floor apartment"
     234
     235#: includes/config/language_strings.php:61
     236msgid "bovenwoning"
     237msgstr "upstairs apartment"
     238
     239#: includes/config/language_strings.php:62
     240msgid "dubbel benedenhuis"
     241msgstr "double lower house"
     242
     243#: includes/config/language_strings.php:63
     244msgid "gallerijflat"
     245msgstr "gallery flat"
     246
     247#: includes/config/language_strings.php:64
     248msgid "maisonnette"
     249msgstr ""
     250
     251#: includes/config/language_strings.php:65
     252msgid "penthouse"
     253msgstr ""
     254
     255#: includes/config/language_strings.php:66
     256msgid "portiekflat"
     257msgstr "porch flat"
     258
     259#: includes/config/language_strings.php:67
     260msgid "portiekwoning"
     261msgstr "porch house"
     262
     263#: includes/config/language_strings.php:68
     264msgid "studentenkamer"
     265msgstr "dorm room"
     266
     267#: includes/config/language_strings.php:69
     268msgid "tussenverdieping"
     269msgstr "mezzanine floor"
     270
     271#: includes/config/language_strings.php:72
     272msgid "appartement"
     273msgstr "apartment"
     274
     275#: includes/config/language_strings.php:73
     276msgid "bel-etage"
     277msgstr "main floor"
     278
     279#: includes/config/language_strings.php:74
     280msgid "corridorflat"
     281msgstr "corridor flat"
     282
     283#: includes/config/language_strings.php:75
     284msgid "dubbel bovenhuis"
     285msgstr "double upper house"
     286
     287#: includes/config/language_strings.php:76
     288msgid "service flat"
     289msgstr "service flat"
     290
     291#: includes/config/language_strings.php:77
     292#: includes/config/language_strings.php:123
     293msgid "souterrain"
     294msgstr "basement"
     295
     296#: includes/config/language_strings.php:78
     297msgid "verzogingsflat"
     298msgstr "nursing flat"
     299
     300#: includes/config/language_strings.php:81
     301msgid "beschikbaar"
     302msgstr "available"
     303
     304#: includes/config/language_strings.php:82
     305msgid "onder bod"
     306msgstr "under offer"
     307
     308#: includes/config/language_strings.php:83
     309msgid "onder optie"
     310msgstr "under option"
     311
     312#: includes/config/language_strings.php:84
     313msgid "verhuurd onder voorbehoud"
     314msgstr "rented subject to change"
     315
     316#: includes/config/language_strings.php:85
     317msgid "verkocht onder voorbehoud"
     318msgstr "sold subject to change"
     319
     320#: includes/config/language_strings.php:86
     321msgid "verhuurd"
     322msgstr "rented out"
     323
     324#: includes/config/language_strings.php:87
     325msgid "verkocht"
     326msgstr "sold"
     327
     328#: includes/config/language_strings.php:90
     329msgid "in overleg"
     330msgstr "in consultation"
     331
     332#: includes/config/language_strings.php:91
     333msgid "per datum"
     334msgstr "per date"
     335
     336#: includes/config/language_strings.php:92
     337msgid "direct"
     338msgstr ""
     339
     340#: includes/config/language_strings.php:95
     341msgid "aan bosrand"
     342msgstr "at the edge of the forest"
     343
     344#: includes/config/language_strings.php:96
     345msgid "aan drukke weg"
     346msgstr "on busy road"
     347
     348#: includes/config/language_strings.php:97
     349msgid "aan park"
     350msgstr "at a park"
     351
     352#: includes/config/language_strings.php:98
     353msgid "aan rustige weg"
     354msgstr "on a quiet road"
     355
     356#: includes/config/language_strings.php:99
     357msgid "aan vaarwater"
     358msgstr "at fairway"
     359
     360#: includes/config/language_strings.php:100
     361msgid "aan water"
     362msgstr "at water"
     363
     364#: includes/config/language_strings.php:101
     365msgid "bedrijventerrein"
     366msgstr "business park"
     367
     368#: includes/config/language_strings.php:102
     369msgid "beschutte ligging"
     370msgstr "sheltered location"
     371
     372#: includes/config/language_strings.php:103
     373msgid "buiten bebouwde kom"
     374msgstr "outside the built-up area"
     375
     376#: includes/config/language_strings.php:104
     377msgid "in bosrijke omgeving"
     378msgstr "in wooded area"
     379
     380#: includes/config/language_strings.php:105
     381msgid "in centrum"
     382msgstr "in center"
     383
     384#: includes/config/language_strings.php:106
     385msgid "in woonwijk"
     386msgstr "in residential area"
     387
     388#: includes/config/language_strings.php:107
     389msgid "landelijk gelegen"
     390msgstr "rural location"
     391
     392#: includes/config/language_strings.php:108
     393msgid "open ligging"
     394msgstr "open location"
     395
     396#: includes/config/language_strings.php:109
     397msgid "vrij uitzicht"
     398msgstr "unobstructed view"
     399
     400#: includes/config/language_strings.php:110
     401msgid "zeezicht"
     402msgstr "sea view"
     403
     404#: includes/config/language_strings.php:113
     405msgid "aangebouwd hout"
     406msgstr "lean-to wood"
     407
     408#: includes/config/language_strings.php:114
     409msgid "aangebouwd steen"
     410msgstr "lean-to stone"
     411
     412#: includes/config/language_strings.php:115
     413msgid "carport"
     414msgstr ""
     415
     416#: includes/config/language_strings.php:116
     417msgid "garage met carport"
     418msgstr "garage with carport"
     419
     420#: includes/config/language_strings.php:117
     421msgid "garage mogelijk"
     422msgstr "garage possible"
     423
     424#: includes/config/language_strings.php:118
     425msgid "garagebox"
     426msgstr "Garage box"
     427
     428#: includes/config/language_strings.php:119
     429msgid "geen garage"
     430msgstr "no garage"
     431
     432#: includes/config/language_strings.php:120
     433msgid "inpandig"
     434msgstr "indoor"
     435
     436#: includes/config/language_strings.php:121
     437msgid "parkeerkelder"
     438msgstr "parking basement"
     439
     440#: includes/config/language_strings.php:122
     441msgid "parkeerplaats"
     442msgstr "parking spot"
     443
     444#: includes/config/language_strings.php:124
     445msgid "vrijstaand hout"
     446msgstr "freestanding wood"
     447
     448#: includes/config/language_strings.php:125
     449msgid "vrijstaand steen"
     450msgstr "freestanding stone"
     451
     452#: includes/config/language_strings.php:128
     453msgid "achtertuin"
     454msgstr "backyard"
     455
     456#: includes/config/language_strings.php:129
     457msgid "patio/atrium"
     458msgstr ""
     459
     460#: includes/config/language_strings.php:130
     461msgid "plaats"
     462msgstr "city"
     463
     464#: includes/config/language_strings.php:131
     465msgid "tuin rondom"
     466msgstr "garden around"
     467
     468#: includes/config/language_strings.php:132
     469msgid "voortuin"
     470msgstr "front yard"
     471
     472#: includes/config/language_strings.php:133
     473msgid "zijtuin"
     474msgstr "side yard"
     475
     476#: includes/config/language_strings.php:134
     477msgid "zonneterras"
     478msgstr "sun terrace"
     479
     480#: includes/config/language_strings.php:137
     481msgid "aan te leggen"
     482msgstr "to be build"
     483
     484#: includes/config/language_strings.php:138
     485msgid "verwaarloosd"
     486msgstr "neglected"
     487
     488#: includes/config/language_strings.php:139
     489msgid "normaal"
     490msgstr "normal"
     491
     492#: includes/config/language_strings.php:140
     493msgid "fraai aangelegd"
     494msgstr "beautifully landscaped"
     495
     496#: includes/config/language_strings.php:141
     497msgid "verzorgd"
     498msgstr "catered"
     499
     500#: includes/config/language_strings.php:142
     501msgid "aangelegd onder architectuur"
     502msgstr "laid out under architecture"
     503
     504#: includes/config/language_strings.php:145
     505msgid "noord"
     506msgstr "north"
     507
     508#: includes/config/language_strings.php:146
     509msgid "oost"
     510msgstr "east"
     511
     512#: includes/config/language_strings.php:147
     513msgid "zuid"
     514msgstr "south"
     515
     516#: includes/config/language_strings.php:148
     517msgid "west"
     518msgstr "west"
     519
     520#: includes/config/language_strings.php:151
     521msgid "slecht"
     522msgstr "bad"
     523
     524#: includes/config/language_strings.php:152
     525msgid "matig"
     526msgstr "mediocre"
     527
     528#: includes/config/language_strings.php:153
     529msgid "redelijk"
     530msgstr "reasonable"
     531
     532#: includes/config/language_strings.php:154
     533msgid "goed"
     534msgstr "good"
     535
     536#: includes/config/language_strings.php:155
     537msgid "uitstekend"
     538msgstr "excellent"
     539
     540#: includes/config/language_strings.php:158
     541msgid "k.k."
     542msgstr "+ costs"
     543
     544#: includes/config/language_strings.php:159
     545msgid "v.o.n."
     546msgstr " "
     547
     548#: includes/config/language_strings.php:160
     549msgid "p.m."
     550msgstr "p.m."
     551
     552#: includes/config/language_strings.php:161
     553msgid "p.j."
     554msgstr "p.y."
     555
     556#: includes/config/language_strings.php:164
     557msgid "Vraagprijs"
     558msgstr "Asking price"
     559
     560#: includes/config/language_strings.php:165
     561msgid "Koopsom"
     562msgstr "Purchase price"
     563
     564#: includes/config/language_strings.php:166
     565msgid "Koopprijs"
     566msgstr "Purchase price"
     567
     568#: includes/config/language_strings.php:167
     569msgid "Vaste prijs"
     570msgstr "Fixed price"
     571
     572#: includes/config/language_strings.php:168
     573msgid "Huurprijs"
     574msgstr "Rental price"
     575
     576#: includes/config/language_strings.php:171
     577msgid "op aanvraag"
     578msgstr "upon request"
     579
     580#: includes/config/language_strings.php:172
     581msgid "nader overeen te komen"
     582msgstr "to be agreed"
     583
     584#: includes/config/language_strings.php:173
     585msgid "veilingobject"
     586msgstr "auction object"
     587
     588#: includes/config/language_strings.php:174
     589msgid "prijs op aanvraag"
     590msgstr "price on request"
     591
     592#: includes/config/language_strings.php:177
     593msgid "auto"
     594msgstr "car"
     595
     596#: includes/config/language_strings.php:178
     597msgid "Bouwjaar"
     598msgstr "Construction year"
     599
     600#: includes/config/language_strings.php:179
     601msgid "Capaciteit"
     602msgstr "Capacity"
     603
     604#: includes/config/language_strings.php:180
     605msgid "Hoofd tuin"
     606msgstr "Main garden"
     607
     608#: includes/config/language_strings.php:181
     609msgid "Kamers"
     610msgstr "Rooms"
     611
     612#: includes/config/language_strings.php:182
     613msgid "Kenmerk"
     614msgstr "Characteristic"
     615
     616#: includes/config/language_strings.php:183
     617msgid "Ligging"
     618msgstr "Location"
     619
     620#: includes/config/language_strings.php:184
     621msgid "Onderhoud binnen"
     622msgstr "Maintenance indoor"
     623
     624#: includes/config/language_strings.php:185
     625msgid "Onderhoud buiten"
     626msgstr "Maintenance outside"
     627
     628#: includes/config/language_strings.php:186
     629msgid "Oppervlakte"
     630msgstr "Surface"
     631
     632#: includes/config/language_strings.php:187
     633msgid "Slaapkamers"
     634msgstr "Bedrooms"
     635
     636#: includes/config/language_strings.php:188
     637msgid "Soort"
     638msgstr "Kind"
     639
     640#: includes/config/language_strings.php:189
     641msgid "Type woonhuis"
     642msgstr "Type of house"
     643
     644#: includes/config/language_strings.php:190
     645msgid "Verdiepingen"
     646msgstr "Floors"
     647
     648#: includes/config/language_strings.php:191
     649msgid "Woonopp."
     650msgstr "Living surface"
     651
     652#: includes/pages/synchronisation.php:255
     653msgid "Naam"
     654msgstr ""
     655
     656#: includes/pages/synchronisation.php:259
     657msgid "Naam aanpassen"
     658msgstr ""
     659
     660#: includes/pages/synchronisation.php:270
    52661msgid "Gebruikersnaam"
    53662msgstr ""
    54663
    55 #: includes/pages/settings.php:248
     664#: includes/pages/synchronisation.php:274
    56665msgid "Wachtwoord"
    57666msgstr ""
    58667
    59 #: includes/pages/settings.php:252
     668#: includes/pages/synchronisation.php:278
    60669msgid "Gebruikersnaam / wachtwoord aanpassen"
    61670msgstr ""
    62671
    63 #: includes/widgets/yog_address_search_form_widget.php:97
    64 #: includes/widgets/yog_contact_form_widget.php:595
     672#: includes/widgets/yog_address_search_form_widget.php:106
     673#: includes/widgets/yog_contact_form_widget.php:591
    65674#: includes/widgets/yog_linked_objects_widget.php:144
    66675#: includes/widgets/yog_linked_relations_widget.php:216
    67676#: includes/widgets/yog_object_attachments_widget.php:175
    68677#: includes/widgets/yog_recent_objects_widget.php:376
     678#: includes/widgets/yog_search_form_bbpr_widget.php:252
     679#: includes/widgets/yog_search_form_bog_widget.php:379
     680#: includes/widgets/yog_search_form_nbpr_widget.php:253
     681#: includes/widgets/yog_search_form_nbty_widget.php:267
     682#: includes/widgets/yog_search_form_widget.php:341
    69683msgid "Titel"
    70684msgstr ""
     
    113727#: includes/widgets/yog_contact_form_widget.php:315
    114728msgid "Plaats"
    115 msgstr "Plaats"
     729msgstr "City"
    116730
    117731#: includes/widgets/yog_contact_form_widget.php:340
    118732#: includes/widgets/yog_contact_form_widget.php:345
    119 #: includes/widgets/yog_contact_form_widget.php:644
     733#: includes/widgets/yog_contact_form_widget.php:628
    120734msgid "Acties"
    121735msgstr "Actions"
     
    139753msgstr "Send"
    140754
    141 #: includes/widgets/yog_contact_form_widget.php:601
     755#: includes/widgets/yog_contact_form_widget.php:597
    142756msgid "Standaard yes-co key overschrijven"
    143757msgstr ""
    144758
    145 #: includes/widgets/yog_contact_form_widget.php:603
     759#: includes/widgets/yog_contact_form_widget.php:599
    146760msgid "Te achterhalen in Yes-co App Market"
    147761msgstr ""
    148762
    149 #: includes/widgets/yog_contact_form_widget.php:625
     763#: includes/widgets/yog_contact_form_widget.php:609
    150764msgid "Toon labels in velden"
    151765msgstr ""
    152766
    153 #: includes/widgets/yog_contact_form_widget.php:650
     767#: includes/widgets/yog_contact_form_widget.php:634
    154768msgid "Formulier verstuurd boodschap"
    155769msgstr ""
     
    172786msgstr ""
    173787
    174 #: includes/widgets/yog_map_widget.php:468
     788#: includes/widgets/yog_map_widget.php:446
    175789msgid "Shortcode"
    176 msgstr ""
     790msgstr "Shortcode"
    177791
    178792#: includes/widgets/yog_object_attachments_widget.php:182
     
    198812#: includes/widgets/yog_recent_objects_widget.php:390
    199813msgid "Ondersteunde objecten"
    200 msgstr ""
     814msgstr "Supported objects"
    201815
    202816#: includes/widgets/yog_recent_objects_widget.php:399
    203817msgid "Aantal te tonen objecten"
    204 msgstr ""
     818msgstr "Number of objects to show"
    205819
    206820#: includes/widgets/yog_search_form_bbpr_widget.php:258
     
    242856#: includes/widgets/yog_search_form_widget.php:382
    243857msgid "Plaats tonen"
    244 msgstr ""
     858msgstr "Show city"
    245859
    246860#: includes/widgets/yog_search_form_bbpr_widget.php:285
     
    248862#: includes/widgets/yog_search_form_nbty_widget.php:312
    249863msgid "Woon oppervlakte tonen"
    250 msgstr ""
     864msgstr "Show living surface"
    251865
    252866#: includes/widgets/yog_search_form_bbpr_widget.php:290
     
    299913#: includes/widgets/yog_search_form_widget.php:397
    300914msgid "Kamers tonen"
    301 msgstr ""
     915msgstr "Show rooms"
    302916
    303917#: includes/widgets/yog_search_form_widget.php:402
    304918msgid "Woonopp. tonen"
    305 msgstr ""
     919msgstr "Show living surface"
    306920
    307921#~ msgid "Stad"
  • yes-co-ores-wordpress-plugin/trunk/package.json

    r2426603 r2458473  
    11{
    22    "name": "yesco-ores",
    3     "version": "1.3.72",
     3    "version": "1.3.73",
    44    "devDependencies": {
    55        "grunt": "~1.0.3",
  • yes-co-ores-wordpress-plugin/trunk/readme.txt

    r2426603 r2458473  
    44Requires at least: 3.1
    55Tested up to: 5.5
    6 Stable tag: 1.3.72
     6Stable tag: 1.3.73
    77
    88Directly post real estate objects from your Yes-co system to your wordpress blog with the Yes-co Open Real Estate System (Yes-co ORES) Plugin.
     
    9090
    9191== Changelog ==
     92= 1.3.73 =
     93* Added: Active/Sold categories to living/bog objects
     94* Added: option in recent objects widget to only show objects in a specific category
     95* Changed: better translation of several stuff to english
    9296= 1.3.72 =
    9397* Added: .htaccess to disallow access to includes folder
  • yes-co-ores-wordpress-plugin/trunk/yesco-og.php

    r2426603 r2458473  
    55  Text Domain: yes-co-ores-wordpress-plugin
    66  Description: Publiceert uw onroerend goed op uw Wordpress Blog
    7   Version: 1.3.72
     7  Version: 1.3.73
    88  Author: Yes-co
    99  Author URI: https://www.yes-co.nl
     
    6363        require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_synchronization_manager.php');
    6464        require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_plugin.php');
    65         require_once(YOG_PLUGIN_DIR . '/includes/yog_cron.php');
    6665
    6766        set_time_limit(900);
     
    9998      default:
    10099        require_once(YOG_PLUGIN_DIR . '/includes/yog_public_functions.php');
    101         require_once(YOG_PLUGIN_DIR . '/includes/yog_cron.php');
    102100        require_once(YOG_PLUGIN_DIR . '/includes/classes/yog_plugin.php');
    103101
Note: See TracChangeset for help on using the changeset viewer.