This class handles converting the CmTranslation-style back translation to the interlinear.
コード例 #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Convert the CmTranslation version of the translation to the interlinear version.
        /// </summary>
        /// <param name="para">The paragraph.</param>
        /// <param name="wsBt">The writing system for which to do the conversion.</param>
        /// ------------------------------------------------------------------------------------
        public static void ConvertCmTransToInterlin(IStTxtPara para, int wsBt)
        {
            BtConverter converter = new BtConverter(para, wsBt);

            BackTranslationAndFreeTranslationUpdateHelper.Do(para,
                                                             converter.ConvertCmTransToInterlin);
        }
コード例 #2
0
ファイル: BtConverter.cs プロジェクト: sillsdev/FieldWorks
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Convert the CmTranslation version of the translation to the interlinear version.
		/// </summary>
		/// <param name="para">The paragraph.</param>
		/// <param name="wsBt">The writing system for which to do the conversion.</param>
		/// ------------------------------------------------------------------------------------
		public static void ConvertCmTransToInterlin(IStTxtPara para, int wsBt)
		{
			BtConverter converter = new BtConverter(para, wsBt);
			BackTranslationAndFreeTranslationUpdateHelper.Do(para,
				converter.ConvertCmTransToInterlin);
		}