volmer/bootsy

View on GitHub
app/assets/javascripts/bootsy/locales/en.js

Summary

Maintainability
C
1 day
Test Coverage
/**
 * English translations for bootstrap-wysihtml5 and Bootsy
 */
(function($){
  $.fn.wysihtml5.locale['en'] = {
    font_styles: {
      normal: 'Normal text',
      h1: 'Heading 1',
      h2: 'Heading 2',
      h3: 'Heading 3'
    },
    emphasis: {
      bold: 'Bold',
      italic: 'Italic',
      underline: 'Underline',
      small: 'Small'
    },
    lists: {
      unordered: 'Unordered list',
      ordered: 'Ordered list',
      outdent: 'Outdent',
      indent: 'Indent'
    },
    link: {
      insert: 'Insert link',
      cancel: 'Cancel',
      target: 'Open link in new window'
    },
    image: {
      insert: 'Insert image',
      cancel: 'Cancel'
    },
    html: {
      edit: 'Edit HTML'
    },
    colours: {
      black: 'Black',
      silver: 'Silver',
      gray: 'Grey',
      maroon: 'Maroon',
      red: 'Red',
      purple: 'Purple',
      green: 'Green',
      olive: 'Olive',
      navy: 'Navy',
      blue: 'Blue',
      orange: 'Orange'
    },
    bootsy: {
      alertUnsaved: 'You have unsaved changes.',
      error: 'Something went wrong. Please try again later.'
    }
  };
}(jQuery));