<%#encoding: UTF-8 %>
wymeditor_boot_options.toolsItems.push({'name': 'AddVideo', 'title': 'Add_Video', 'css': 'wym_tools_add_video'});

<% locales = %w(en es sk pt-BR zh-CN ru)%>
<% locales.each do |locale| %>
  if (WYMeditor.STRINGS['<%=locale%>']) WYMeditor.STRINGS['<%=locale%>']['Video'] = WYMeditor.STRINGS['<%=locale%>']['Add_Video'] = '<%= I18n.t 'refinery.videos.admin.videos.records.title' %>';
<% end %>

onCloseDialog = function(){
   $('iframe#dialog_iframe').attr('src', '');
};

WYMeditor.editor.prototype.exec_without_video = WYMeditor.editor.prototype.exec;
WYMeditor.editor.prototype.exec = function(cmd) {
	if (cmd == 'AddVideo') {
		this.dialog('Video');
	} else this.exec_without_video(cmd);
}

<%#encoding: UTF-8 %>
wymeditor_boot_options.toolsItems.push({'name': 'AddVideo', 'title': 'Add_Video', 'css': 'wym_tools_add_video'});

<% locales = %w(en es sk pt-BR zh-CN ru fr)%>
<% locales.each do |locale| %>
  if (WYMeditor.STRINGS['<%=locale%>']) WYMeditor.STRINGS['<%=locale%>']['Video'] = WYMeditor.STRINGS['<%=locale%>']['Add_Video'] = '<%= I18n.t 'refinery.videos.admin.videos.records.title' %>';
<% end %>

onCloseDialog = function(){
   $('iframe#dialog_iframe').attr('src', '');
};

WYMeditor.editor.prototype.exec_without_video = WYMeditor.editor.prototype.exec;
WYMeditor.editor.prototype.exec = function(cmd) {
	if (cmd == 'AddVideo') {
		this.dialog('Video');
	} else this.exec_without_video(cmd);
}

Add french translations in wymeditor_monkeypatch
Add french translations in wymeditor_monkeypatch