public virtual ILocalizedText getLocalizedText(System.Globalization.CultureInfo locale, String id)
        {
            // We hard-code our package name in here, so that callers can use
            // a short string
            ILocalizedText localizedText = null;

            foreach (ILocalizer localizer in s_Localizers.Values)
            {
                localizedText = localizer.getLocalizedText(locale, m_prefix + id);

                if (localizedText != null)
                {
                    break;
                }
            }

            // If still no ILocalizedText was found, create a default one
            if (localizedText == null)
            {
                localizedText = new DefaultILocalizedText(id);
            }

            // If the current platform's newline sequence is something other
            // than "\n", then replace all occurrences of "\n" with this platform's
            // newline sequence.
            if (DebuggerLocalizer.s_newline.Equals("\n"))             //$NON-NLS-1$
            {
                return(localizedText);
            }
            else
            {
                return(new FinalILocalizedText(localizedText));
            }
        }
 public FinalILocalizedText(ILocalizedText localizedText)
 {
     finalLocalizedText = localizedText;
 }
 public FinalILocalizedText(ILocalizedText localizedText)
 {
     finalLocalizedText = localizedText;
 }