diff --git a/i18n/zh_cn.properties b/i18n/zh_cn.properties index 785a538..7a781eb 100644 --- a/i18n/zh_cn.properties +++ b/i18n/zh_cn.properties @@ -21,7 +21,6 @@ Dec-Dcm_Millisecond= 毫秒 Dec-Dcm_Test_Connection= 测试连接 Dec-Dcm_Copy= 复制 Dec-Dcm_Edit= 编辑 -Dec-Dcm_Save= 保存 Dec-Dcm_Yes= 是 Dec-Dcm_No= 否 Dec-Dcm_Search= 搜索 @@ -95,6 +94,7 @@ Dec-Dcm_Connection_Form_JNDI_Collapse-Attributes= 收起 Dec-Dcm_Connection_JNDI= JNDI数据连接 Dec-Dcm_Connection_JNDI_Warning= 注意:需要把包含INTIAL_CONTEXT_FACTORY类的.jar文件复制到软件安装目录下的/lib目录下 Dec-Dcm_Connection_Error= 接口访问错误 + BI-Multi_Date_Quarter_End= 季度末 BI-Multi_Date_Month_Begin= 月初 BI-Multi_Date_YMD= 年月日 diff --git a/i18n/zh_cn_unicode.properties b/i18n/zh_cn_unicode.properties new file mode 100644 index 0000000..394137a --- /dev/null +++ b/i18n/zh_cn_unicode.properties @@ -0,0 +1,283 @@ +Dec-Dcm_Connection_New= \u65b0\u5efa\u6570\u636e\u8fde\u63a5 +Dec-Dcm_Connection_Name= \u6570\u636e\u8fde\u63a5\u540d\u79f0 +Dec-Dcm_Connection_None= \u65e0\u53ef\u7528\u6570\u636e\u8fde\u63a5\uff0c\u8bf7\u70b9\u51fb\u6dfb\u52a0 +Dec-Dcm_Connection_Test= \u6d4b\u8bd5\u8fde\u63a5 +Dec-Dcm_Connection_Commonly= \u5e38\u7528 +Dec-Dcm_Connection_Type_Filter= \u7c7b\u578b\u7b5b\u9009\uff1a +Dec-Dcm_Connection_Support_Inner= \u5185\u7f6e\u652f\u6301 +Dec-Dcm_Connection_Support_Plugin= \u63d2\u4ef6\u652f\u6301 +Dec-Dcm_Connection_Filter_Tip= \u63d0\u793a\uff1a\u5f53\u524d\u4ec5\u652f\u6301\u90e8\u5206\u63d2\u4ef6\u7c7b\u578b\uff0c\u672a\u652f\u6301\u7c7b\u578b\u8bf7\u4f7f\u7528\u8bbe\u8ba1\u5668\u7684\u65e7\u7248\u672c\u6570\u636e\u8fde\u63a5\u8fdb\u884c\u521b\u5efa +Dec-Dcm_Connection_All= \u6240\u6709 +Dec-Dcm_Connection_Other= \u5176\u4ed6 +Dec-Dcm_Connection_Management= \u6570\u636e\u8fde\u63a5\u7ba1\u7406 +Dec-Dcm_Pool_Connection_Management= \u8fde\u63a5\u6c60\u72b6\u6001 +Dec-Dcm_Data_Connections= \u6570\u636e\u8fde\u63a5 +Dec-Dcm_Active_Connections_Number= \u6d3b\u52a8\u8fde\u63a5\u6570 +Dec-Dcm_Leisure_Connections_Number= \u7a7a\u95f2\u8fde\u63a5\u6570 +Dec-Dcm_Connections= \u8fde\u63a5 +Dec-Dcm_Default= \u9ed8\u8ba4 +Dec-Dcm_Delete= \u5220\u9664 +Dec-Dcm_Millisecond= \u6beb\u79d2 +Dec-Dcm_Test_Connection= \u6d4b\u8bd5\u8fde\u63a5 +Dec-Dcm_Copy= \u590d\u5236 +Dec-Dcm_Edit= \u7f16\u8f91 +Dec-Dcm_Yes= \u662f +Dec-Dcm_No= \u5426 +Dec-Dcm_Search= \u641c\u7d22 +Dec-Dcm_Type= \u7c7b\u578b\uff1a\u7b\u52\u31\u7d +Dec-Dcm_Other= \u5176\u4ed6 +Dec-Dcm_Tips= \u63d0\u793a +Dec-Dcm_Back= \u8fd4\u56de +Dec-Dcm_Creator= \u521b\u5efa\u8005\uff1a\u7b\u52\u31\u7d +Dec-Dcm_First_Step= \u7b2c\u4e00\u6b65 +Dec-Dcm_Second_Step= \u7b2c\u4e8c\u6b65 +Dec-Dcm_Third_Step= \u7b2c\u4e09\u6b65 +Dec-Dcm_Connection_ConnectionName_Cannt_Null= \u6570\u636e\u8fde\u63a5\u540d\u4e0d\u53ef\u4e3a\u7a7a +Dec-Dcm_Connection_Np_Registered= \u8be5\u7c7b\u578b\u6682\u4ec5\u652f\u6301\u5728\u8bbe\u8ba1\u5668\u4e2d\u4f7f\u7528\u65e7\u7248\u672c\u6570\u636e\u8fde\u63a5\u67e5\u770b +Dec-Dcm_Connection_Detailed_Information= \u8be6\u7ec6\u4fe1\u606f +Dec-Dcm_Connection_Handup_Information= \u6536\u8d77\u4fe1\u606f +Dec-Dcm_Connection_Testing= \u6b63\u5728\u6d4b\u8bd5\u8fde\u63a5\uff0c\u8bf7\u7a0d\u5019\u2e\u2e\u2e +Dec-Dcm_Connection_Test_Fail= \u7b\u52\u31\u7d\u6d4b\u8bd5\u8fde\u63a5\u5931\u8d25 +Dec-Dcm_Connection_Test_Success= \u8fde\u63a5\u6210\u529f +Dec-Dcm_Connection_Option_Cannot_Find= \u627e\u4e0d\u5230\u8be5\u8fde\u63a5\u7684\u914d\u7f6e\u4fe1\u606f +Dec-Dcm_Connection_Config_No_Save= \u5f53\u524d\u8bbe\u7f6e\u5c1a\u672a\u4fdd\u5b58\uff0c\u662f\u5426\u4fdd\u5b58\uff1f +Dec-Dcm_Connection_More= \u66f4\u591a\u6570\u636e\u8fde\u63a5\u2e\u2e\u2e +Dec-Dcm_Connection_More_Title= \u66f4\u591a\u6570\u636e\u8fde\u63a5 +Dec-Dcm_Connection_Plase_Add_One= \u8bf7\u9009\u62e9\u5de6\u4fa7\u6570\u636e\u8fde\u63a5\u6216\u70b9\u51fb\u65b0\u5efa\u6570\u636e\u8fde\u63a5 +Dec-Dcm_Connection_Is_Existence= \u6570\u636e\u8fde\u63a5\u540d\u5df2\u5b58\u5728 +Dec-Dcm_Connection_No_Search_Result= \u65e0\u641c\u7d22\u7ed3\u679c +Dec-Dcm_Connection_Form_ConnectionName= \u6570\u636e\u8fde\u63a5\u540d +Dec-Dcm_Connection_Form_ConnectionName-Change-Confirm= \u2a\u4fee\u6539\u6570\u636e\u8fde\u63a5\u540d\u4f1a\u5f71\u54cd\u76f8\u5173\u6570\u636e\u8868\u548c\u4eea\u8868\u677f +Dec-Dcm_Connection_Form_Driver= \u9a71\u52a8 +Dec-Dcm_Connection_Form_URL= \u55\u52\u4c +Dec-Dcm_Connection_Form_Database_URL= \u6570\u636e\u5e93\u55\u52\u4c +Dec-Dcm_Connection_Form_Place_Input= \u8bf7\u8f93\u5165 +Dec-Dcm_Connection_Form_OriginalCharsetName= \u7f16\u7801 +Dec-Dcm_Connection_Form_Auto= \u81ea\u52a8 +Dec-Dcm_Connection_Form_Host= \u4e3b\u673a +Dec-Dcm_Connection_Form_AuthType= \u8ba4\u8bc1\u65b9\u5f0f +Dec-Dcm_Connection_Form_UserName= \u7528\u6237\u540d +Dec-Dcm_Connection_Form_Password= \u5bc6\u7801 +Dec-Dcm_Connection_Form_Principal= \u5ba2\u6237\u7aef\u70\u72\u69\u6e\u63\u69\u70\u61\u6c +Dec-Dcm_Connection_Form_KeyPath= \u6b\u65\u79\u74\u61\u62\u5bc6\u94a5\u8def\u5f84 +Dec-Dcm_Connection_Form_Pool_Properties= \u8fde\u63a5\u6c60\u5c5e\u6027 +Dec-Dcm_Connection_Form_SQL_Validation_Query= \u53\u51\u4c\u9a8c\u8bc1\u67e5\u8be2 +Dec-Dcm_Connection_Form_Connection-Check= \u83b7\u53d6\u8fde\u63a5\u524d\u6821\u9a8c +Dec-Dcm_Connection_Form_Connection_Max_Number= \u6700\u5927\u6d3b\u52a8\u8fde\u63a5\u6570 +Dec-Dcm_Connection_Form_Place_Input-Number= \u8bf7\u8f93\u5165\u6709\u6548\u7684\u6b63\u6574\u6570 +Dec-Dcm_Connection_Form_Pattern= \u6a21\u5f0f +Dec-Dcm_Connection_Form_Database_Addr= \u6570\u636e\u5e93\u5730\u5740 +Dec-Dcm_Connection_Form_Database_Name= \u6570\u636e\u5e93\u540d\u79f0 +Dec-Dcm_Connection_Form_Database_Port= \u7aef\u53e3 +Dec-Dcm_Connection_Form_Database_Advanced_Setting= \u9ad8\u7ea7\u8bbe\u7f6e +Dec-Dcm_Connection_Form_Database_Initial_Size= \u521d\u59cb\u5316\u8fde\u63a5\u6570 +Dec-Dcm_Connection_Form_Database_Max_Active= \u6700\u5927\u6d3b\u52a8\u8fde\u63a5\u6570 +Dec-Dcm_Connection_Form_Database_Max_Idle= \u6700\u5927\u7a7a\u95f2\u8fde\u63a5\u6570 +Dec-Dcm_Connection_Form_Database_Max_Wait= \u6700\u5927\u7b49\u5f85\u65f6\u95f4 +Dec-Dcm_Connection_Form_Database_Validation_Query= \u53\u51\u4c\u9a8c\u8bc1\u67e5\u8be2 +Dec-Dcm_Connection_Form_Database_Test_On_Borrow= \u83b7\u53d6\u8fde\u63a5\u524d\u68c0\u9a8c +Dec-Dcm_Connection_Form_Database_Test_On_Return= \u5f52\u8fd8\u8fde\u63a5\u524d\u68c0\u9a8c +Dec-Dcm_Connection_Form_Database_Test_While_Idle= \u5f00\u542f\u7a7a\u95f2\u56de\u6536\u5668\u68c0\u9a8c +Dec-Dcm_Connection_Form_Database_Test_Between_Eviction_Millis= \u7a7a\u95f2\u8fde\u63a5\u56de\u6536\u5668\u4f11\u7720\u65f6\u95f4 +Dec-Dcm_Connection_Form_Database_Tests_PerEviction_Run_Num= \u7a7a\u95f2\u8fde\u63a5\u56de\u6536\u68c0\u67e5\u6570 +Dec-Dcm_Connection_Form_Database_Min_Evictable_Idle_Time_Millis= \u4fdd\u6301\u7a7a\u95f2\u6700\u5c0f\u65f6\u95f4\u503c +Dec-Dcm_Connection_Make_Sure_Delete= \u786e\u5b9a\u5220\u9664\u8be5\u6570\u636e\u8fde\u63a5\uff1f +Dec-Dcm_Connection_ReConnect= \u91cd\u65b0\u8fde\u63a5 +Dec-Dcm_Connection_JNDI_Form_ConnectionName= \u4a\u4e\u44\u49\u7684\u540d\u5b57 +Dec-Dcm_Connection_JNDI_Form_Connection= \u6570\u636e\u6765\u81ea\u6570\u636e\u8fde\u63a5 +Dec-Dcm_Connection_Form_JNDI_Context= \u4e0a\u4e0b\u6587 +Dec-Dcm_Connection_Form_JNDI_Advanced= \u9ad8\u7ea7 +Dec-Dcm_Connection_Form_JNDI_Other_Attributes= \u5176\u4ed6\u5c5e\u6027 +Dec-Dcm_Connection_Form_JNDI_Collapse-Attributes= \u6536\u8d77 +Dec-Dcm_Connection_JNDI= \u4a\u4e\u44\u49\u6570\u636e\u8fde\u63a5 +Dec-Dcm_Connection_JNDI_Warning= \u6ce8\u610f\uff1a\u9700\u8981\u628a\u5305\u542b\u49\u4e\u54\u49\u41\u4c\u5f\u43\u4f\u4e\u54\u45\u58\u54\u5f\u46\u41\u43\u54\u4f\u52\u59\u7c7b\u7684\u2e\u6a\u61\u72\u6587\u4ef6\u590d\u5236\u5230\u8f6f\u4ef6\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684\u2f\u6c\u69\u62\u76ee\u5f55\u4e0b +Dec-Dcm_Connection_Error= \u63a5\u53e3\u8bbf\u95ee\u9519\u8bef +BI-Multi_Date_Quarter_End= \u5b63\u5ea6\u672b +BI-Multi_Date_Month_Begin= \u6708\u521d +BI-Multi_Date_YMD= \u5e74\u6708\u65e5 +BI-Custom_Color= \u81ea\u5b9a\u4e49\u989c\u8272 +BI-Numerical_Interval_Input_Data= \u8bf7\u8f93\u5165\u6570\u503c +BI-Please_Input_Natural_Number= \u8bf7\u8f93\u5165\u975e\u8d1f\u6574\u6570 +BI-No_More_Data= \u65e0\u66f4\u591a\u6570\u636e +BI-Basic_Altogether= \u5171 +BI-Basic_Sunday= \u661f\u671f\u65e5 +BI-Widget_Background_Colour= \u7ec4\u4ef6\u80cc\u666f +BI-Color_Picker_Error_Text= \u8bf7\u8f93\u5165\u30\u7e\u32\u35\u35\u7684\u6b63\u6574\u6570 +BI-Multi_Date_Month= \u6708 +BI-No_Selected_Item= \u6ca1\u6709\u53ef\u9009\u9879 +BI-Multi_Date_Year_Begin= \u5e74\u521d +BI-Quarter_1= \u7b2c\u31\u5b63\u5ea6 +BI-Quarter_2= \u7b2c\u32\u5b63\u5ea6 +BI-Quarter_3= \u7b2c\u33\u5b63\u5ea6 +BI-Quarter_4= \u7b2c\u34\u5b63\u5ea6 +BI-Multi_Date_Year_Next= \u5e74\u540e +BI-Multi_Date_Month_Prev= \u4e2a\u6708\u524d +BI-Month_Trigger_Error_Text= \u8bf7\u8f93\u5165\u31\u7e\u31\u32\u7684\u6b63\u6574\u6570 +BI-Less_And_Equal= \u5c0f\u4e8e\u7b49\u4e8e +BI-Year_Trigger_Invalid_Text= \u8bf7\u8f93\u5165\u6709\u6548\u65f6\u95f4 +BI-Multi_Date_Week_Next= \u5468\u540e +BI-Font_Size= \u5b57\u53f7 +BI-Basic_Total= \u5171 +BI-Already_Selected= \u5df2\u9009\u62e9 +BI-Formula_Insert= \u63d2\u5165 +BI-Select_All= \u5168\u9009 +BI-Basic_Tuesday= \u661f\u671f\u4e8c +BI-Multi_Date_Month_End= \u6708\u672b +BI-Load_More= \u70b9\u51fb\u52a0\u8f7d\u66f4\u591a\u6570\u636e +BI-Basic_September= \u4e5d\u6708 +BI-Current_Is_Last_Page= \u5f53\u524d\u5df2\u662f\u6700\u540e\u4e00\u9875 +BI-Basic_Auto= \u81ea\u52a8 +BI-Basic_Count= \u4e2a +BI-Basic_Value= \u503c +BI-Basic_Unrestricted= \u65e0\u9650\u5236 +BI-Quarter_Trigger_Error_Text= \u8bf7\u8f93\u5165\u31\u7e\u34\u7684\u6b63\u6574\u6570 +BI-Basic_More= \u66f4\u591a +BI-Basic_Wednesday= \u661f\u671f\u4e09 +BI-Basic_Bold= \u52a0\u7c97 +BI-Basic_Simple_Saturday= \u516d +BI-Multi_Date_Month_Next= \u4e2a\u6708\u540e +BI-Basic_March= \u4e09\u6708 +BI-Current_Is_First_Page= \u5f53\u524d\u5df2\u662f\u7b2c\u4e00\u9875 +BI-Basic_Thursday= \u661f\u671f\u56db +BI-Basic_Prompt= \u63d0\u793a +BI-Multi_Date_Today= \u4eca\u5929 +BI-Multi_Date_Quarter_Prev= \u4e2a\u5b63\u5ea6\u524d +BI-Row_Header= \u884c\u8868\u5934 +BI-Date_Trigger_Error_Text= \u65e5\u671f\u683c\u5f0f\u793a\u4f8b\u3a\u32\u30\u31\u35\u2d\u33\u2d\u31\u31 +BI-Basic_Cancel= \u53d6\u6d88 +BI-Basic_January= \u4e00\u6708 +BI-Basic_June= \u516d\u6708 +BI-Basic_July= \u4e03\u6708 +BI-Basic_April= \u56db\u6708 +BI-Multi_Date_Quarter_Begin= \u5b63\u5ea6\u521d +BI-Multi_Date_Week= \u5468 +BI-Click_Blank_To_Select= \u70b9\u51fb\u5c\u5c\u7a7a\u683c\u952e\u5c\u5c\u9009\u4e2d\u5b8c\u5168\u5339\u914d\u9879 +BI-Basic_August= \u516b\u6708 +BI-Word_Align_Left= \u6587\u5b57\u5c45\u5de6 +BI-Basic_November= \u5341\u4e00\u6708 +BI-Font_Colour= \u5b57\u4f53\u989c\u8272 +BI-Multi_Date_Day_Prev= \u5929\u524d +BI-Select_Part= \u90e8\u5206\u9009\u62e9 +BI-Multi_Date_Day_Next= \u5929\u540e +BI-Less_Than= \u5c0f\u4e8e +BI-Basic_February= \u4e8c\u6708 +BI-Multi_Date_Year= \u5e74 +BI-Number_Index= \u5e8f\u53f7 +BI-Multi_Date_Week_Prev= \u5468\u524d +BI-Next_Page= \u4e0b\u4e00\u9875 +BI-Right_Page= \u5411\u53f3\u7ffb\u9875 +BI-Numerical_Interval_Signal_Value= \u524d\u540e\u503c\u76f8\u7b49\uff0c\u8bf7\u5c06\u64cd\u4f5c\u7b26\u6539\u4e3a\u201c\u2264\u201d +BI-Basic_December= \u5341\u4e8c\u6708 +BI-Basic_Saturday= \u661f\u671f\u516d +BI-Basic_Simple_Wednesday= \u4e09 +BI-Multi_Date_Quarter_Next= \u4e2a\u5b63\u5ea6\u540e +BI-Basic_October= \u5341\u6708 +BI-Basic_Simple_Friday= \u4e94 +BI-Basic_Save= \u4fdd\u5b58 +BI-Numerical_Interval_Number_Value= \u8bf7\u4fdd\u8bc1\u524d\u9762\u7684\u6570\u503c\u5c0f\u4e8e\u2f\u7b49\u4e8e\u540e\u9762\u7684\u6570\u503c +BI-Previous_Page= \u4e0a\u4e00\u9875 +BI-No_Select= \u641c\u7d22\u7ed3\u679c\u4e3a\u7a7a +BI-Basic_Clears= \u6e05\u7a7a +BI-Created_By_Me= \u6211\u521b\u5efa\u7684 +BI-Basic_Simple_Tuesday= \u4e8c +BI-Word_Align_Right= \u6587\u5b57\u5c45\u53f3 +BI-Summary_Values= \u6c47\u603b +BI-Basic_Clear= \u6e05\u9664 +BI-Upload_File_Size_Error= \u6587\u4ef6\u5927\u5c0f\u4e0d\u652f\u6301 +BI-Up_Page= \u5411\u4e0a\u7ffb\u9875 +BI-Basic_Simple_Sunday= \u65e5 +BI-Multi_Date_Relative_Current_Time= \u76f8\u5bf9\u5f53\u524d\u65f6\u95f4 +BI-Selected_Data= \u5df2\u9009\u6570\u636e\uff1a +BI-Multi_Date_Quarter= \u5b63\u5ea6 +BI-Check_Selected= \u67e5\u770b\u5df2\u9009 +BI-Basic_Search= \u641c\u7d22 +BI-Basic_May= \u4e94\u6708 +BI-Continue_Select= \u7ee7\u7eed\u9009\u62e9 +BI-Please_Input_Positive_Integer= \u8bf7\u8f93\u5165\u6b63\u6574\u6570 +BI-Upload_File_Type_Error= \u6587\u4ef6\u7c7b\u578b\u4e0d\u652f\u6301 +BI-Upload_File_Error= \u6587\u4ef6\u4e0a\u4f20\u5931\u8d25 +BI-Basic_Friday= \u661f\u671f\u4e94 +BI-Down_Page= \u5411\u4e0b\u7ffb\u9875 +BI-Basic_Monday= \u661f\u671f\u4e00 +BI-Left_Page= \u5411\u5de6\u7ffb\u9875 +BI-Transparent_Color= \u900f\u660e +BI-Basic_Simple_Monday= \u4e00 +BI-Multi_Date_Year_End= \u5e74\u672b +BI-Time_Interval_Error_Text= \u8bf7\u4fdd\u8bc1\u5f00\u59cb\u65f6\u95f4\u65e9\u4e8e\u2f\u7b49\u4e8e\u7ed3\u675f\u65f6\u95f4 +BI-Basic_Time= \u65f6\u95f4 +BI-Basic_OK= \u786e\u5b9a +BI-Basic_Sure= \u786e\u5b9a +BI-Basic_Simple_Thursday= \u56db +BI-Multi_Date_Year_Prev= \u5e74\u524d +BI-Tiao_Data= \u6761\u6570\u636e +BI-Basic_Italic= \u659c\u4f53 +BI-Basic_Dynamic_Title= \u52a8\u6001\u65f6\u95f4 +BI-Basic_Year= \u5e74 +BI-Basic_Single_Quarter= \u5b63 +BI-Basic_Month= \u6708 +BI-Basic_Week= \u5468 +BI-Basic_Day= \u5929 +BI-Basic_Work_Day= \u5de5\u4f5c\u65e5 +BI-Basic_Front= \u524d +BI-Basic_Behind= \u540e +BI-Basic_Empty= \u7a7a +BI-Basic_Month_End= \u6708\u672b +BI-Basic_Month_Begin= \u6708\u521d +BI-Basic_Year_End= \u5e74\u672b +BI-Basic_Year_Begin= \u5e74\u521d +BI-Basic_Quarter_End= \u5b63\u672b +BI-Basic_Quarter_Begin= \u5b63\u521d +BI-Basic_Week_End= \u5468\u672b +BI-Basic_Week_Begin= \u5468\u521d +BI-Basic_Current_Day= \u5f53\u5929 +BI-Basic_Begin_Start= \u521d +BI-Basic_End_Stop= \u672b +BI-Basic_Current_Year= \u4eca\u5e74 +BI-Basic_Year_Fen= \u5e74\u4efd +BI-Basic_Current_Month= \u672c\u6708 +BI-Basic_Current_Quarter= \u672c\u5b63\u5ea6 +BI-Basic_Year_Month= \u5e74\u6708 +BI-Basic_Year_Quarter= \u5e74\u5b63\u5ea6 +BI-Basic_Input_Can_Not_Null= \u8f93\u5165\u6846\u4e0d\u80fd\u4e3a\u7a7a +BI-Basic_Date_Time_Error_Text= \u65e5\u671f\u683c\u5f0f\u793a\u4f8b\u3a\u32\u30\u31\u35\u2d\u33\u2d\u31\u31\u20\u30\u30\u3a\u30\u30\u3a\u30\u30 +BI-Basic_Input_From_To_Number= \u8bf7\u8f93\u5165\u7b\u52\u31\u7d\u7684\u6570\u503c +BI-Basic_Or= \u6216 +BI-Basic_And= \u4e14 +BI-Conf_Add_Formula= \u6dfb\u52a0\u516c\u5f0f +BI-Conf_Add_Condition= \u6dfb\u52a0\u6761\u4ef6 +BI-Conf_Formula_And= \u4e14\u516c\u5f0f\u6761\u4ef6 +BI-Conf_Formula_Or= \u6216\u516c\u5f0f\u6761\u4ef6 +BI-Conf_Condition_And= \u4e14\u6761\u4ef6 +BI-Conf_Condition_Or= \u6216\u6761\u4ef6 +BI-Microsoft_YaHei= \u5fae\u8f6f\u96c5\u9ed1 +BI-Apple_Light= \u82f9\u65b9\u2d\u6c\u69\u67\u68\u74 +BI-Font_Family= \u5b57\u4f53 +BI-Basic_Please_Input_Content= \u8bf7\u8f93\u5165\u5185\u5bb9 +BI-Word_Align_Center= \u6587\u5b57\u5c45\u4e2d +BI-Basic_Please_Enter_Number_Between= \u8bf7\u8f93\u5165\u7b\u52\u31\u7d\u2d\u7b\u52\u32\u7d\u7684\u503c +BI-More_Than= \u5927\u4e8e +BI-More_And_Equal= \u5927\u4e8e\u7b49\u4e8e +BI-Please_Enter_SQL= \u8bf7\u8f93\u5165\u53\u51\u4c +BI-Basic_Click_To_Add_Text= \u2b\u70b9\u51fb\u65b0\u589e\u5c\u5c\u7b\u52\u31\u7d\u5c\u5c +BI-Basic_Please_Select= \u8bf7\u9009\u62e9 +BI-Basic_Font_Color= \u6587\u5b57\u989c\u8272 +BI-Basic_Background_Color= \u80cc\u666f\u8272 +BI-Basic_Underline= \u4e0b\u5212\u7ebf +BI-Basic_Param_Month= \u7b\u52\u31\u7d\u6708 +BI-Basic_Param_Day= \u7b\u52\u31\u7d\u65e5 +BI-Basic_Param_Quarter= \u7b\u52\u31\u7d\u5b63\u5ea6 +BI-Basic_Param_Week_Count= \u7b2c\u7b\u52\u31\u7d\u5468 +BI-Basic_Param_Hour= \u7b\u52\u31\u7d\u65f6 +BI-Basic_Param_Minute= \u7b\u52\u31\u7d\u5206 +BI-Basic_Param_Second= \u7b\u52\u31\u7d\u79d2 +BI-Basic_Param_Year= \u7b\u52\u31\u7d\u5e74 +BI-Basic_Date_Day= \u65e5 +BI-Basic_Hour_Sin= \u65f6 +BI-Basic_Seconds= \u79d2 +BI-Basic_Minute= \u5206 +BI-Basic_Wan= \u4e07 +BI-Basic_Million= \u767e\u4e07 +BI-Basic_Billion= \u4ebf +BI-Basic_Quarter= \u5b63\u5ea6 +BI-Basic_No_Select= \u4e0d\u9009 +BI-Basic_Now= \u6b64\u523b diff --git a/lib/transform-i18n/transform-i18n-unicode.js b/lib/transform-i18n/transform-i18n-unicode.js new file mode 100644 index 0000000..998ad3d --- /dev/null +++ b/lib/transform-i18n/transform-i18n-unicode.js @@ -0,0 +1,21 @@ +const { resolve } = require('path'); +const { writeFileSync } = require('fs'); +const propertiesReader = require('properties-reader'); + +let content = ''; + +const properties = propertiesReader(resolve(__dirname, '../../i18n/zh_cn.properties')); +function toUnicodeFun(data) { + if (data === '' || typeof data === 'undefined') return ''; + let str = ''; + for (let i = 0; i < data.length; i++) { + str += `\\u${data.charCodeAt(i).toString(16)}`; + } + + return str; +} +properties.each((key, value) => { + content += `${key}= ${toUnicodeFun(value)}\n`; +}); + +writeFileSync(resolve(__dirname, '../../i18n/zh_cn_unicode.properties'), `${content}`); diff --git a/package.json b/package.json index 3c1bd3b..c5b870b 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,7 @@ "eslint-fix": "eslint './*.js' './**/*.js' './**/*.ts' --fix", "const": "javac -encoding UTF-8 -d constants/classes constants/*.java && java -cp constants/classes FRConstantsWriter", "i18n": "node ./lib/transform-i18n/transform-i18n.js", + "unicode": "node ./lib/transform-i18n/transform-i18n-unicode.js", "test": "jest --passWithNoTests", "upgrade": "node lib/upgrade" },