Bloom.Book.RuntimeInformationInjector.AddHtmlUiStrings C# (CSharp) Method

AddHtmlUiStrings() private static method

For Bloom 2.0 this list is hard-coded
private static AddHtmlUiStrings ( string>.Dictionary d ) : void
d string>.Dictionary
return void
        private static void AddHtmlUiStrings(Dictionary<string, string> d)
        {
            // ATTENTION: Currently, the english here must exactly match whats in the html.
            // See comment in AddTranslationToDictionaryUsingEnglishAsKey

            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FontSizeTip",
                "Changes the text size for all boxes carrying the style '{0}' and language '{1}'.\nCurrent size is {2}pt.");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.BookTitlePrompt",
                "Book title in {lang}");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.AuthorIllustratorPrompt",
                "You may use this space for author/illustrator, or anything else.");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.OriginalContributorsPrompt",
                "The contributions made by writers, illustrators, editors, etc., in {lang}");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.TranslatedAcknowledgmentsPrompt",
                "Acknowledgments for translated version, in {lang}");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.NameofTranslatorPrompt",
                "Name of Translator, in {lang}");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.FundingAgenciesPrompt",
                "Use this to acknowledge any funding agencies.");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.CopyrightPrompt",
                "Click to Edit Copyright and License");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.OriginalAcknowledgmentsPrompt",
                "Original (or Shell) Acknowledgments in {lang}");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.TopicPrompt",
                "Click to choose topic");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.ISBNPrompt",
                "International Standard Book Number. Leave blank if you don't have one of these.");

            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.BigBook.Contributions",
                "When you are making an original book, use this box to record contributions made by writers, illustrators, editors, etc.");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.BigBook.Translator",
                "When you make a book from a shell, use this box to tell who did the translation.");

            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.BackMatter.InsideBackCoverTextPrompt",
                "If you need somewhere to put more information about the book, you can use this page, which is the inside of the back cover.");
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.BackMatter.OutsideBackCoverTextPrompt",
                "If you need somewhere to put more information about the book, you can use this page, which is the outside of the back cover.");
            // Used in Traditional Front matter
            AddTranslationToDictionaryUsingEnglishAsKey(d, "EditTab.FrontMatter.InsideFrontCoverTextPrompt",
                "If you need somewhere to put more information about the book, you can use this page, which is the inside of the front cover.");

            AddTranslationToDictionaryUsingKey(d, "EditTab.Image.PasteImage", "Paste Image");
            AddTranslationToDictionaryUsingKey(d, "EditTab.Image.ChangeImage", "Change Image");
            AddTranslationToDictionaryUsingKey(d, "EditTab.Image.EditMetadata",
                "Edit Image Credits, Copyright, & License");
            AddTranslationToDictionaryUsingKey(d, "EditTab.Image.CopyImage", "Copy Image");
            AddTranslationToDictionaryUsingKey(d, "EditTab.Image.CutImage", "Cut Image");

            // tool tips for style editor
            AddTranslationToDictionaryUsingKey(d, "BookEditor.FontSizeTip",
                "Changes the text size for all boxes carrying the style '{0}' and language '{1}'.\nCurrent size is {2}pt.");
            //No longer used. See BL-799 AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialogTip", "Adjust formatting for style");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.WordSpacingNormal", "Normal");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.WordSpacingWide", "Wide");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.WordSpacingExtraWide", "Extra Wide");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.FontFaceToolTip", "Change the font face");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.FontSizeToolTip", "Change the font size");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.LineSpacingToolTip", "Change the spacing between lines of text");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.WordSpacingToolTip", "Change the spacing between words");
            AddTranslationToDictionaryUsingKey(d, "EditTab.FormatDialog.BorderToolTip", "Change the border and background");

            // "No Topic" localization for Topic Chooser
            AddTranslationToDictionaryUsingKey(d, "Topics.NoTopic", "No Topic");
        }