From 67d9c4c7d96cc0a7371afeaf0eaf3e2289bff948 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Mon, 8 Sep 2014 14:46:37 +0200 Subject: Fix typo, increase license box width. --- mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mediawiki.lrdevplugin') diff --git a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua index 90acf9e..26bce44 100755 --- a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua +++ b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua @@ -206,6 +206,7 @@ MediaWikiExportServiceProvider.sectionsForTopOfDialog = function(viewFactory, pr viewFactory:combo_box { value = bind 'info_license', immediate = true, + width_in_chars = 50, items = { '{{Cc-by-sa-4.0}}', '{{Cc-by-4.0}}', @@ -265,7 +266,7 @@ MediaWikiExportServiceProvider.sectionsForTopOfDialog = function(viewFactory, pr viewFactory:push_button { title = LOC '$$$/LrMediaWiki/Section/Licensing/Preview=Preview generated wikitext', action = function(button) - local wikitext = MediaWikiInterface.buildFileDescription('', propertyTable.info_source, '', propertyTable.info_author, propertyTable.info_license, '\n' . propertyTable.info_templates, propertyTable.info_other, propertyTable.info_categories, '') + local wikitext = MediaWikiInterface.buildFileDescription('', propertyTable.info_source, '', propertyTable.info_author, propertyTable.info_license, '\n' .. propertyTable.info_templates, propertyTable.info_other, propertyTable.info_categories, '') LrDialogs.message(LOC '$$$/LrMediaWiki/Section/Licensing/Preview=Preview generated wikitext', wikitext, 'info') end, }, -- cgit v1.2.3