Commit 35e035d0 authored by Konstantin Lesnyak's avatar Konstantin Lesnyak
Browse files

Resolution options wrapped by t() function.

parent 38f07003
Loading
Loading
Loading
Loading
+30 −30
Original line number Diff line number Diff line
@@ -366,14 +366,14 @@ function ziggeo_field_widget_settings_form($field, $instance) {
    '#type' => 'select',
    '#default_value' => $settings['embedding_size_fieldset']['embedding_size'],
    '#options' => array(
      '240x180' => '240x180 - SD (4:3)',
      '320x240' => '320x240 - SD (4:3)',
      '480x360' => '480x360 - SD (4:3)',
      '640x480' => '640x480 - SD (4:3)',
      '240x135' => '240x135 - HD (16:9)',
      '320x180' => '320x180 - HD (16:9)',
      '480x270' => '480x270 - HD (16:9)',
      '720x405' => '720x405 - HD (16:9)',
      '240x180' => t('240x180 - SD (4:3)'),
      '320x240' => t('320x240 - SD (4:3)'),
      '480x360' => t('480x360 - SD (4:3)'),
      '640x480' => t('640x480 - SD (4:3)'),
      '240x135' => t('240x135 - HD (16:9)'),
      '320x180' => t('320x180 - HD (16:9)'),
      '480x270' => t('480x270 - HD (16:9)'),
      '720x405' => t('720x405 - HD (16:9)'),
      'custom' => t('Custom size'),
      'responsive' => t('Embedding maximizes to the size of the bounding box'),
    ),
@@ -429,12 +429,12 @@ function ziggeo_field_widget_settings_form($field, $instance) {
    '#type' => 'select',
    '#default_value' => $settings['recording_resolution_fieldset']['video_resolution'],
    '#options' => array(
      '320x240' => '320x240 - SD ' . t('Medium Quality') . ' (4:3)',
      '640x480' => '640x480 - SD ' . t('Good Quality') . ' (4:3)',
      '960x720' => '960x720 - SD ' . t('High Quality') . ' (4:3)',
      '320x180' => '320x180 - HD ' . t('Medium Quality') . ' (16:9)',
      '720x405' => '720x405 - HD ' . t('Good Quality') . ' (16:9)',
      '1280x720' => '1280x720 - HD ' . t('High Quality') . ' (16:9)',
      '320x240' => t('320x240 - SD Medium Quality (4:3)'),
      '640x480' => t('640x480 - SD Good Quality (4:3)'),
      '960x720' => t('960x720 - SD High Quality (4:3)'),
      '320x180' => t('320x180 - HD Medium Quality (16:9)'),
      '720x405' => t('720x405 - HD Good Quality (16:9)'),
      '1280x720' => t('1280x720 - HD High Quality (16:9)'),
      'custom' => t('Custom resolution'),
    ),
    '#ajax' => array(
@@ -1012,14 +1012,14 @@ function ziggeo_field_formatter_settings_form($field, $instance, $view_mode, $fo
        '#type' => 'select',
        '#default_value' => $settings['embedding_size'],
        '#options' => array(
          '240x180' => '240x180 - SD (4:3)',
          '320x240' => '320x240 - SD (4:3)',
          '480x360' => '480x360 - SD (4:3)',
          '640x480' => '640x480 - SD (4:3)',
          '240x135' => '240x135 - HD (16:9)',
          '320x180' => '320x180 - HD (16:9)',
          '480x270' => '480x270 - HD (16:9)',
          '720x405' => '720x405 - HD (16:9)',
          '240x180' => t('240x180 - SD (4:3)'),
          '320x240' => t('320x240 - SD (4:3)'),
          '480x360' => t('480x360 - SD (4:3)'),
          '640x480' => t('640x480 - SD (4:3)'),
          '240x135' => t('240x135 - HD (16:9)'),
          '320x180' => t('320x180 - HD (16:9)'),
          '480x270' => t('480x270 - HD (16:9)'),
          '720x405' => t('720x405 - HD (16:9)'),
          'custom' => t('Custom size'),
          'responsive' => t('Embedding maximizes to the size of the bounding box'),
        ),
@@ -1075,14 +1075,14 @@ function ziggeo_field_formatter_settings_form($field, $instance, $view_mode, $fo
        '#type' => 'select',
        '#default_value' => $settings['popup_size'],
        '#options' => array(
          '480x360' => '480x360 - SD (4:3)',
          '640x480' => '640x480 - SD (4:3)',
          '800x600' => '800x600 - SD (4:3)',
          '1024x768' => '1024x768 - SD (4:3)',
          '480x270' => '480x270 - HD (16:9)',
          '720x405' => '720x405 - HD (16:9)',
          '960x540' => '960x540 - HD (16:9)',
          '1280x720' => '1280x720 - HD (16:9)',
          '480x360' => t('480x360 - SD (4:3)'),
          '640x480' => t('640x480 - SD (4:3)'),
          '800x600' => t('800x600 - SD (4:3)'),
          '1024x768' => t('1024x768 - SD (4:3)'),
          '480x270' => t('480x270 - HD (16:9)'),
          '720x405' => t('720x405 - HD (16:9)'),
          '960x540' => t('960x540 - HD (16:9)'),
          '1280x720' => t('1280x720 - HD (16:9)'),
          'custom' => t('Custom size'),
          'optimal' => t('Optimal size'),
        ),