mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 23:25:24 +00:00
chore: move plugins to their own repos and drop the plugins folder
This commit is contained in:
1 parent
29a946d02e
commit
e02b5fe6e4
3167 files changed
+286
-440749
No files matched your search
@@ -52,12 +52,8 @@ async function resolveProjectId() {
|
||||
return { id: match.id, targetLanguageIds: match.targetLanguageIds || [] };
|
||||
}
|
||||
|
||||
// Core is /en.json and each plugin is /plugins/<id>/locales/en.json.
|
||||
function isSourceFile(file) {
|
||||
return (
|
||||
file.path === `/${SOURCE_FILE}` ||
|
||||
/^\/plugins\/[^/]+\/locales\/en\.json$/.test(file.path || "")
|
||||
);
|
||||
return file.path === `/${SOURCE_FILE}`;
|
||||
}
|
||||
|
||||
async function resolveFileIds(projectId) {
|
||||
|
||||
Reference in new issue
Block a user