Skip to content

Commit

Permalink
feat: sync and save by one step
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Feb 25, 2023
1 parent 5357d6d commit 70a01fa
Show file tree
Hide file tree
Showing 10 changed files with 129 additions and 203 deletions.
84 changes: 31 additions & 53 deletions src/workbench/browser/locale/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
<source>Extensions Hub</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/layouts/navbar/navbar.component.ts</context>
<context context-type="linenumber">44</context>
<context context-type="linenumber">43</context>
</context-group>
</trans-unit>
<trans-unit id="4797570585745389881" datatype="html">
Expand Down Expand Up @@ -594,7 +594,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">237</context>
<context context-type="linenumber">235</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/websocket/websocket.component.ts</context>
Expand Down Expand Up @@ -973,11 +973,11 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">51</context>
<context context-type="linenumber">50</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">73</context>
<context context-type="linenumber">72</context>
</context-group>
</trans-unit>
<trans-unit id="7022070615528435141" datatype="html">
Expand All @@ -1004,7 +1004,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">59</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/history/eo-history.component.html</context>
Expand Down Expand Up @@ -1038,7 +1038,7 @@
<source>Please import the file first</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/modules/extension-select/import-api/import-api.component.ts</context>
<context context-type="linenumber">103</context>
<context context-type="linenumber">106</context>
</context-group>
</trans-unit>
<trans-unit id="746377231893378783" datatype="html">
Expand Down Expand Up @@ -1108,11 +1108,11 @@
<context context-type="linenumber">40</context>
</context-group>
</trans-unit>
<trans-unit id="2687863258883412268" datatype="html">
<source>Sync API from URL Successfully</source>
<trans-unit id="3484555119042207702" datatype="html">
<source>Sync API from URL error: <x id="PH" equiv-text="err"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/modules/extension-select/sync-api/sync-api.component.ts</context>
<context context-type="linenumber">157</context>
<context context-type="linenumber">152</context>
</context-group>
</trans-unit>
<trans-unit id="1638393750541359885" datatype="html">
Expand Down Expand Up @@ -2273,54 +2273,54 @@
<source>Copy</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">54</context>
</context-group>
<note priority="1" from="description">@Copy</note>
</trans-unit>
<trans-unit id="3619082859728934968" datatype="html">
<source>Add API</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">65</context>
<context context-type="linenumber">64</context>
</context-group>
</trans-unit>
<trans-unit id="6661660398413994526" datatype="html">
<source>Add Subgroup</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">69</context>
<context context-type="linenumber">68</context>
</context-group>
</trans-unit>
<trans-unit id="Delete" datatype="html">
<source>Delete</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">77</context>
<context context-type="linenumber">76</context>
</context-group>
</trans-unit>
<trans-unit id="ImportAPI" datatype="html">
<source>Import API</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">84</context>
<context context-type="linenumber">83</context>
</context-group>
</trans-unit>
<trans-unit id="8020216200574091380" datatype="html">
<source>Import from file</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">85</context>
<context context-type="linenumber">84</context>
</context-group>
</trans-unit>
<trans-unit id="392331585970686754" datatype="html">
<source>Sync API from URL</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">90</context>
<context context-type="linenumber">89</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">91</context>
<context context-type="linenumber">90</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
Expand All @@ -2335,68 +2335,57 @@
<source>Edit Group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">180</context>
<context context-type="linenumber">178</context>
</context-group>
</trans-unit>
<trans-unit id="3596210590059423029" datatype="html">
<source>Delete Group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">189</context>
<context context-type="linenumber">187</context>
</context-group>
</trans-unit>
<trans-unit id="1623775429516238560" datatype="html">
<source>Deletion Confirmation?</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">202</context>
<context context-type="linenumber">200</context>
</context-group>
</trans-unit>
<trans-unit id="9142685431369791033" datatype="html">
<source>Are you sure you want to delete the data &lt;strong title=&quot;<x id="PH" equiv-text="apiInfo.name"/>&quot;&gt;<x id="PH_1" equiv-text="apiInfo.name.length &gt; 50 ? `${apiInfo.name.slice(0, 50)}...` : apiInfo.name"/>&lt;/strong&gt; ? You cannot restore it once deleted!</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">203,205</context>
<context context-type="linenumber">201,203</context>
</context-group>
</trans-unit>
<trans-unit id="9124347207158517893" datatype="html">
<source>Add Group</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">221</context>
<context context-type="linenumber">219</context>
</context-group>
</trans-unit>
<trans-unit id="9096218784475179702" datatype="html">
<source>Sync Now</source>
<trans-unit id="1900195777841406997" datatype="html">
<source>Save and Sync</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">241</context>
<context context-type="linenumber">239</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">181</context>
</context-group>
</trans-unit>
<trans-unit id="893849531698108683" datatype="html">
<source>Save Config</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">250</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">190</context>
</context-group>
</trans-unit>
<trans-unit id="9178182467454450952" datatype="html">
<source>Confirm</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">250</context>
<context context-type="linenumber">239</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">190</context>
<context context-type="linenumber">181</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/shared/services/modal.service.ts</context>
Expand All @@ -2407,33 +2396,22 @@
<source>Failed to <x id="PH" equiv-text="title"/>,Please upgrade extension or try again later</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">257</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">214</context>
</context-group>
</trans-unit>
<trans-unit id="6127314973714811954" datatype="html">
<source> Save sync API config successfully</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">265</context>
<context context-type="linenumber">246</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">202</context>
<context context-type="linenumber">188</context>
</context-group>
</trans-unit>
<trans-unit id="4119063233600427742" datatype="html">
<source><x id="PH" equiv-text="title"/> successfully</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/api/components/group/tree/api-group-tree.component.ts</context>
<context context-type="linenumber">270</context>
<context context-type="linenumber">254</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/workspace/project/setting/project-setting.component.ts</context>
<context context-type="linenumber">207</context>
<context context-type="linenumber">194</context>
</context-group>
</trans-unit>
<trans-unit id="8193912662253833654" datatype="html">
Expand Down
Loading

0 comments on commit 70a01fa

Please sign in to comment.