@donotdev/core 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions/index.js +2 -2
- package/i18n/locales/eager/dndev_ar.json +9 -0
- package/i18n/locales/eager/dndev_da.json +9 -0
- package/i18n/locales/eager/dndev_de.json +9 -0
- package/i18n/locales/eager/dndev_en.json +9 -0
- package/i18n/locales/eager/dndev_es.json +9 -0
- package/i18n/locales/eager/dndev_fr.json +9 -0
- package/i18n/locales/eager/dndev_it.json +9 -0
- package/i18n/locales/eager/dndev_ja.json +9 -0
- package/i18n/locales/eager/dndev_ko.json +9 -0
- package/i18n/locales/eager/dndev_nl.json +9 -0
- package/i18n/locales/eager/dndev_pl.json +9 -0
- package/i18n/locales/eager/dndev_pt.json +9 -0
- package/i18n/locales/eager/dndev_zh.json +9 -0
- package/i18n/locales/lazy/crud_ar.json +51 -2
- package/i18n/locales/lazy/crud_da.json +50 -2
- package/i18n/locales/lazy/crud_de.json +51 -2
- package/i18n/locales/lazy/crud_en.json +50 -2
- package/i18n/locales/lazy/crud_es.json +53 -3
- package/i18n/locales/lazy/crud_fr.json +53 -3
- package/i18n/locales/lazy/crud_it.json +53 -3
- package/i18n/locales/lazy/crud_ja.json +51 -2
- package/i18n/locales/lazy/crud_ko.json +51 -2
- package/i18n/locales/lazy/crud_nl.json +50 -2
- package/i18n/locales/lazy/crud_pl.json +52 -2
- package/i18n/locales/lazy/crud_pt.json +52 -3
- package/i18n/locales/lazy/crud_zh.json +50 -2
- package/index.d.ts +4823 -2947
- package/index.js +5 -5
- package/next/index.d.ts +10 -0
- package/next/index.js +138 -131
- package/package.json +2 -2
- package/server.d.ts +4659 -2895
- package/server.js +1 -1
- package/symbol-index.json +1 -1
- package/vite/index.d.ts +10 -0
- package/vite/index.js +44 -43
package/functions/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import D from"node:fs";import P from"node:path";import{fileURLToPath as oe}from"node:url";var ne=oe(import.meta.url),Pe=P.dirname(ne);function T(){let i=process.cwd(),e=10;for(let t=0;t<e;t++){let o=P.join(i,"package.json");if(D.existsSync(o))try{let s=JSON.parse(D.readFileSync(o,"utf8")),r=s.workspaces&&Array.isArray(s.workspaces);if(r&&s.workspaces.some(c=>c==="packages/**"||c.startsWith("packages/"))&&(D.existsSync(P.join(i,"packages","core"))||D.existsSync(P.join(i,"packages","functions"))))return{type:"dndev",root:i};if(r&&s.workspaces.some(c=>c.includes("dndev/packages"))){let u=s.workspaces.find(m=>m.includes("dndev/packages")).replace(/\/packages.*$/,""),d=P.resolve(i,u);if(D.existsSync(P.join(d,"packages","core")))return{type:"dndev",root:d}}}catch{}let n=P.dirname(i);if(n===i)break;i=n}return{type:"npm",root:process.cwd()}}function ie(i){return i.type==="dndev"?i.root:null}function G(i){let e={};if(i.type==="dndev"){let t=ie(i);t&&(e["@donotdev/types"]=P.join(t,"packages","core","types","src"),e["@donotdev/functions"]=P.join(t,"packages","functions","src"),e["@donotdev/utils"]=P.join(t,"packages","core","utils","src"),e["@donotdev/schemas"]=P.join(t,"packages","core","schemas","src"),e["@donotdev/core"]=P.join(t,"packages","core"))}return e}import*as h from"node:fs";import"node:fs";import{createRequire as ce}from"node:module";import{resolve as I,join as _,dirname as A,relative as J,normalize as le,sep as K,extname as ue}from"node:path";import{fileURLToPath as pe}from"node:url";import fe from"fast-glob";var C={SOURCE_ROOT:"packages/core/i18n",SOURCE_LOCALES:"packages/core/i18n/locales",SOURCE_EAGER:"packages/core/i18n/locales/eager",SOURCE_LAZY:"packages/core/i18n/locales/lazy",PUBLISHED_ROOT:"i18n",PUBLISHED_LOCALES:"i18n/locales",PUBLISHED_EAGER:"i18n/locales/eager",PUBLISHED_LAZY:"i18n/locales/lazy"},F={routes:{consumer:["src/**/*Page.tsx","src/pages/**/*Page.tsx"],exclude:["**/node_modules/**","**/dist/**","**/build/**","**/*.test.tsx","**/*.stories.tsx"],extensions:[".tsx"]},css:{consumer:["src/**/*.css"],themes:["src/**/*.css"],extensions:[".css",".scss",".sass"],framework:["packages/ui/src/**/*.css","packages/core/components/src/**/*.css","packages/core/templates/src/**/*.css"]},i18n:{eager:["src/locales/*_*.json"],lazy:["src/**/locales/*_*.json","!src/locales/*_*.json","../../entities/locales/*_*.json"],additional:[],framework:{eager:[`${C.SOURCE_EAGER}/*_*.json`],lazy:[`${C.SOURCE_LAZY}/*_*.json`]},extensions:[".json"]},assets:{consumer:["public/**/*"],fallback:["manifest.json"],modern:["logo.svg","favicon.svg","apple-touch-icon.png","android-chrome-192x192.png","android-chrome-512x512.png"],patterns:["favicon.svg","favicon.ico","favicon-*.png","logo.svg","logo.png","logo.webp","logo.avif","apple-touch-icon*.png","android-chrome-*.png","manifest.json"],fonts:["fonts/**/*.woff2","fonts/**/*.woff","fonts/**/*.ttf"],framework:["packages/ui/assets/**/*"]},pwa:{consumer:["public/manifest.json","public/service-worker.js","public/sw.js","public/icon-192x192.png","public/icon-512x512.png","public/favicon.ico","public/favicon.svg","public/apple-touch-icon.png","public/logo.svg"],exclude:["**/node_modules/**","**/dist/**","**/build/**"],extensions:[".json",".js",".png",".svg",".ico"],framework:["packages/ui/assets/**/*"]},globalIgnore:["**/node_modules/**","**/dist/**","**/build/**","**/.git/**","**/coverage/**","**/test/**"]};var H={base:{absolute:!0,onlyFiles:!0,ignore:F.globalIgnore},css:{absolute:!0,onlyFiles:!0,ignore:[...F.globalIgnore,"**/*.test.css"]},routes:{absolute:!0,onlyFiles:!0,ignore:[...F.globalIgnore,"**/*.test.tsx","**/*.stories.tsx"]},i18n:{absolute:!0,onlyFiles:!0,ignore:F.globalIgnore},assets:{absolute:!0,onlyFiles:!0,ignore:F.globalIgnore}};function Y(i,e=null){let t=F[i];if(!t)throw new Error(`Unknown pattern type: ${i}`);return e&&t.framework?{...t,framework:t.framework.map(o=>`${e}/${o}`)}:t}function V(i){return H[i]||H.base}var $={getGlobOptionsFor:V||void 0,SCAN_PATTERNS:F||void 0,getPatternsFor:Y||void 0,I18N_PATHS:C||void 0},v={error:(i,e)=>{},warn:(i,e)=>{},info:i=>{}};function z(i){return typeof i=="object"&&i!==null&&"code"in i&&i.code==="EEXIST"}function q(i,e){return i().catch(t=>{throw new Error(`${e}: ${t instanceof Error?t.message:String(t)}`)})}var Z={CLI:"packages/cli",COMPONENTS:"packages/core/components",CONFIG:"packages/core/config",CORE:"packages/core",CRUD:"packages/core/crud",FEATURES:"packages/features",HOOKS:"packages/core/hooks",I18N:"packages/core/i18n",SCHEMAS:"packages/core/schemas",STORES:"packages/core/stores",TEMPLATES:"packages/templates",TOOLING:"packages/tooling",TYPES:"packages/core/types",UI:"packages/ui",UTILS:"packages/core/utils",AUTH:"packages/features/auth",BILLING:"packages/features/billing",OAUTH:"packages/features/oauth",FIREBASE:"packages/providers/firebase",FUNCTIONS:"packages/functions"},S=class i{static _instance=null;options;_repoRoot;_appRoot=null;_writtenPaths=null;static getInstance(e={}){return i._instance||(i._instance=new i(e)),i._instance}static _reset(){i._instance=null}constructor(e={}){if(i._instance)return i._instance;this.options={maxLevels:e.maxLevels??10,customMarkers:e.customMarkers||[],cache:e.cache??!1,debug:e.debug??!1};try{let t=process.cwd();if(!t)throw new Error("PathResolver: process.cwd() returned undefined. This should never happen.");this._repoRoot=this._findRepoRoot(t)}catch(t){throw new Error(`PathResolver constructor failed: ${t instanceof Error?t.message:String(t)}. cwd: ${process.cwd()}`)}this._appRoot=null,i._instance=this}normalizePath(e){if(!e)return"";try{return le(e).split(K).join("/")}catch{return String(e).split(K).join("/")}}getRelativePath(e){let t=this.getAppRoot(),o=J(t,e);return this.normalizePath(o)}getBasename(e){if(!e)return"";let o=this.normalizePath(e).split("/");return o[o.length-1]||""}getDirname(e){return e?this.normalizePath(A(e)):""}resolvePackage(e,t=null){try{let o=t||this.getAppRoot(),s=ce(_(o,"package.json")).resolve(e);return this.normalizePath(s)}catch{return null}}resolveFrameworkPackage(e,t=null){let o=this.resolvePackage(`${e}/package.json`,t);if(o)return this.getDirname(o);if(this.isMonorepo()&&e.startsWith("@donotdev/")){let r=e.replace("@donotdev/",""),a=this.resolveRepoPath(`packages/${r}`);if(this.pathExists(a))return a;if(["auth","billing","crud","oauth"].includes(r)){let l=this.resolveRepoPath(`packages/features/${r}`);if(this.pathExists(l))return l}if(r==="firebase"){let l=this.resolveRepoPath(`packages/providers/${r}`);if(this.pathExists(l))return l}}let n=this.resolveAppPath(`node_modules/${e}`);if(this.pathExists(n))return n;let s=this.resolveRepoPath(`node_modules/${e}`);return this.pathExists(s)?s:null}resolvePackageAsset(e,t=null){return this.resolvePackage(e,t)}resolveAppPath(e){let t=this.getAppRoot(),o=I(t,e);return this.normalizePath(o)}resolveRepoPath(e){let t=this.getRepoRoot(),o=this.normalizePath(e),n=I(t,o);return this.normalizePath(n)}resolvePath(e,t){let o=this.normalizePath(t),n=this.normalizePath(e),s=I(o,n);return this.normalizePath(s)}createImportPath(e){return"./"+this.getRelativePath(e)}getFileInfo(e){try{let t=h.statSync(e);return{absolutePath:this.normalizePath(e),relativePath:this.getRelativePath(e),importPath:this.createImportPath(e),size:t.size,isFile:t.isFile(),isDirectory:t.isDirectory()}}catch{return null}}_detectFormat(e,t){return t&&t!=="auto"?t:ue(e).toLowerCase()===".json"?"json":"text"}async read(e,t={}){let{format:o="auto",encoding:n="utf8"}=t,s=this._detectFormat(e,o);try{if(s==="buffer")return await h.promises.readFile(e);let r=await h.promises.readFile(e,n),a=this.stripBom(r);return s==="json"?JSON.parse(a):a}catch(r){return this.options.debug&&v.warn(`Failed to read file: ${e}`,r),null}}readSync(e,t={}){let{format:o="auto",encoding:n="utf8"}=t,s=this._detectFormat(e,o);try{if(s==="buffer")return h.readFileSync(e);let r=h.readFileSync(e,n),a=this.stripBom(r);return s==="json"?JSON.parse(a):a}catch(r){return this.options.debug&&v.warn(`Failed to read file: ${e}`,r),null}}async write(e,t,o={}){let{format:n="auto",overwrite:s=!1,dryRun:r=!1,verbose:a=!1}=o,l=this.normalizePath(e),f=this.normalizePath(A(l)),c=this.pathExists(l);if(c&&!s)return a&&v.info(`Skipping existing file: ${l}`),!1;if(r)return v.info(`[DRY RUN] Would write file: ${l}`),!0;try{await h.promises.mkdir(f,{recursive:!0})}catch(m){if(!z(m))throw m}let u=this._detectFormat(e,n),d;Buffer.isBuffer(t)?d=t:u==="json"&&typeof t=="object"?d=`${JSON.stringify(t,null,2)}
|
|
2
2
|
`:d=String(t);try{return await q(async()=>(Buffer.isBuffer(d)?await h.promises.writeFile(l,d):await h.promises.writeFile(l,d,"utf8"),a&&v.info(`${c?"Updated":"Created"} file: ${l}`),!0),`Failed to write file: ${l}`)}catch{return!1}}writeSync(e,t,o={}){let{format:n="auto",overwrite:s=!1,dryRun:r=!1,verbose:a=!1}=o,l=this.normalizePath(e),f=this.normalizePath(A(l)),c=this.pathExists(l);if(c&&!s)return a&&v.info(`Skipping existing file: ${l}`),!1;if(r)return v.info(`[DRY RUN] Would write file: ${l}`),!0;try{h.mkdirSync(f,{recursive:!0})}catch(m){if(!z(m))throw m}let u=this._detectFormat(e,n),d;Buffer.isBuffer(t)?d=t:u==="json"&&typeof t=="object"?d=`${JSON.stringify(t,null,2)}
|
|
3
|
-
`:d=String(t);try{return Buffer.isBuffer(d)?h.writeFileSync(l,d):h.writeFileSync(l,d,"utf8"),this._writtenPaths?.add(l),a&&v.info(`${c?"Updated":"Created"} file: ${l}`),!0}catch(m){throw new Error(`Failed to write file: ${l}: ${m instanceof Error?m.message:String(m)}`)}}async copy(e,t,o={}){let{overwrite:n=!1,dryRun:s=!1,verbose:r=!1}=o,a=this.normalizePath(t),l=this.pathExists(a);if(l&&!n)return r&&v.info(`Skipping existing file: ${a}`),!1;if(s)return v.info(`[DRY RUN] Would copy file: ${a}`),!0;let f=this.normalizePath(A(a));try{await h.promises.mkdir(f,{recursive:!0})}catch(c){if(!z(c))throw c}try{return await q(async()=>(await h.promises.copyFile(e,a),r&&v.info(`${l?"Updated":"Created"} file: ${a}`),!0),`Failed to copy file from ${e} to ${a}`)}catch{return!1}}copySync(e,t,o={}){let{overwrite:n=!1,dryRun:s=!1,verbose:r=!1}=o,a=this.normalizePath(t),l=this.pathExists(a);if(l&&!n)return r&&v.info(`Skipping existing file: ${a}`),!1;if(s)return v.info(`[DRY RUN] Would copy file: ${a}`),!0;let f=this.normalizePath(A(a));try{h.mkdirSync(f,{recursive:!0})}catch(c){if(!z(c))throw c}try{return h.copyFileSync(e,a),this._writtenPaths?.add(a),r&&v.info(`${l?"Updated":"Created"} file: ${a}`),!0}catch{return!1}}pathExists(e,t=!1){try{return h.existsSync(e)}catch(o){return t||v.error(`Error checking path existence: ${e}`,o),!1}}mkdir(e){try{let t=e.startsWith("/")||e.match(/^[A-Z]:/)?this.normalizePath(e):this.resolveAppPath(e);return h.existsSync(t)||h.mkdirSync(t,{recursive:!0}),!0}catch{return!1}}readdirSync(e,t){try{return h.readdirSync(e,t)}catch(o){return this.options.debug&&v.warn(`Failed to read directory: ${e}`,o),t&&typeof t=="object"&&"withFileTypes"in t&&t.withFileTypes?[]:[]}}statSync(e){try{return h.statSync(e)}catch(t){return this.options.debug&&v.warn(`Failed to stat file: ${e}`,t),null}}realpathSync(e){return h.realpathSync(e)}watch(e,t,o){return h.watch(e,t,o)}lstatSync(e){try{return h.lstatSync(e)}catch(t){return this.options.debug&&v.warn(`Failed to lstat file: ${e}`,t),null}}async ensureDir(e){try{await h.promises.mkdir(e,{recursive:!0})}catch(t){if(!z(t))throw t}}ensureDirSync(e){try{h.mkdirSync(e,{recursive:!0})}catch(t){if(!z(t))throw t}}async remove(e){await h.promises.rm(e,{recursive:!0,force:!0})}removeSync(e){h.rmSync(e,{recursive:!0,force:!0})}async readdir(e,t){return h.promises.readdir(e,t)}stripBom(e){return e.charCodeAt(0)===65279?e.slice(1):e}getRepoRoot(){return this._repoRoot||process.cwd()}startWriteRecording(){this._writtenPaths=new Set}stopWriteRecording(){if(!this._writtenPaths)throw new Error("stopWriteRecording() called without startWriteRecording()");let e=this._writtenPaths;return this._writtenPaths=null,e}getAppRoot(){return this._appRoot?this._appRoot:this._repoRoot}setAppRoot(e){if(!e)throw new Error("PathResolver.setAppRoot: root cannot be undefined or null");this._appRoot=this.normalizePath(e)}isMonorepo(){let e=_(this._repoRoot,"packages");return this.pathExists(e)}isWithinApp(e){let t=this.normalizePath(I(e)),o=this.getAppRoot(),n=J(o,t),s=this.normalizePath(n);return!s.startsWith("../")&&!s.startsWith("/")}async findFiles(e,t,o={}){let n=this.normalizePath(_(e,t)),s=this.getAppRoot(),r=this.normalizePath(s),a=n.startsWith(r)?n.slice(r.length+1):n,l={absolute:!0,onlyFiles:!0,braceExpansion:!0,extglob:!0,globstar:!0,cwd:s,ignore:$.SCAN_PATTERNS?.globalIgnore||["**/node_modules/**","**/dist/**","**/build/**","**/.git/**"]};return await this._globWithNormalization([a],{...l,...o})}clearCache(){}async _resolveFrameworkI18nPattern(e){let t=$.I18N_PATHS;if(!t)return null;let o=e.replace(t.SOURCE_ROOT+"/",""),n=this.resolveFrameworkPackage("@donotdev/core");if(!n)return null;let s=this.normalizePath(_(n,t.PUBLISHED_ROOT,o)),r=s.replace(/\/[^/]*\*.*$/,"");return this.pathExists(r),s}async _globWithNormalization(e,t){return(await fe(e,t)).map(n=>{let s=typeof n=="string"?n:n.path;return this.normalizePath(s)})}async resolveFiles(e,t="css"){if(!e||typeof e!="object")return{frameworkFiles:[],consumerFiles:[]};if(t==="i18n")return{frameworkFiles:[],consumerFiles:[]};if(Array.isArray(e.framework)||(e.framework=[]),!Array.isArray(e.consumer))return{frameworkFiles:[],consumerFiles:[]};let o=[...e.framework,...e.consumer];for(let c of o)if(typeof c!="string"||c.trim()==="")return{frameworkFiles:[],consumerFiles:[]};let n=this.getAppRoot(),s=$.getGlobOptionsFor?$.getGlobOptionsFor(t):{ignore:["**/node_modules/**","**/dist/**","**/build/**"]},r=this.normalizePath(n),a=e.framework.map(c=>{let u=this.normalizePath(c);return u.startsWith(r)?u.slice(r.length+1):u}),l=e.consumer.map(c=>{let u=this.normalizePath(c);return u.startsWith(r)?u.slice(r.length+1):u}),f={...s,onlyFiles:!0,absolute:!0,braceExpansion:!0,extglob:!0,globstar:!0,cwd:n};try{let c=a.length>0?await this._globWithNormalization(a,f):[],u=await this._globWithNormalization(l,f);return{frameworkFiles:c,consumerFiles:u}}catch{return this.options.debug,{frameworkFiles:[],consumerFiles:[]}}}async resolvePatterns(e){if(!$.getPatternsFor)return{framework:[],consumer:[],all:[]};let t=this.getAppRoot(),o=this.getRepoRoot();if(e==="i18n"&&(!t||t===o))throw new Error(`Cannot resolve i18n patterns: appRoot not set (appRoot: ${t}, repoRoot: ${o}). Ensure configResolved hook has run before discovery.`);let n=$.getPatternsFor(e),s=this.isMonorepo();if(e==="i18n"){let l=n,f={eager:l.eager.map(c=>c.startsWith("!")?"!"+this.resolveAppPath(c.slice(1)):this.resolveAppPath(c)),lazy:l.lazy.map(c=>c.startsWith("!")?"!"+this.resolveAppPath(c.slice(1)):this.resolveAppPath(c)),framework:{eager:s?(l.framework?.eager||[]).map(c=>this.resolveRepoPath(c)).filter(Boolean):await Promise.all((l.framework?.eager||[]).map(c=>this._resolveFrameworkI18nPattern(c))).then(c=>c.filter(Boolean)),lazy:s?(l.framework?.lazy||[]).map(c=>this.resolveRepoPath(c)).filter(Boolean):await Promise.all((l.framework?.lazy||[]).map(c=>this._resolveFrameworkI18nPattern(c))).then(c=>c.filter(Boolean))},all:[]};return f.all=[...f.eager,...f.lazy,...f.framework.eager,...f.framework.lazy],f}let r=n,a={framework:s?(r.framework||[]).map(l=>this.resolveRepoPath(l)).filter(Boolean):[],consumer:(r.consumer||[]).map(l=>this.resolveAppPath(l)),all:[]};return a.all=[...a.consumer,...a.framework],a}getEmptyModulePath(){return this.getEmptyCjsModulePath().replace(/\.cjs$/,".js")}getEmptyFlagModulePath(){let e=A(pe(import.meta.url));return this.normalizePath(I(e,"emptyFlag.js"))}getEmptyCjsModulePath(){let e=this.resolvePackage("@donotdev/core/empty");if(!e)throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");return e}_findRepoRoot(e){let t=this.normalizePath(e),o=0,n=this.options.maxLevels;for(;o<n;){let s=this.normalizePath(_(t,Z.TOOLING)),r=this.normalizePath(_(t,Z.CORE));if(this.pathExists(s)&&this.pathExists(r))return t;let a=_(t,"apps");if(this.pathExists(a)&&this.statSync(a)?.isDirectory())return this.normalizePath(t);let l=this.normalizePath(_(t,"package.json"));if(this.pathExists(l)&&this.normalizePath(A(t))===t)return t;let f=this.normalizePath(A(t));if(f===t)break;t=f,o++}return this.normalizePath(e)}};function L(i={}){let{entry:e="src/index.ts",outDir:t="lib",minify:o=!1,sourcemap:n=!0,platform:s="firebase",workspace:r,bundleWorkspaceDeps:a=!1,importFramework:l=!1,external:f=!1,...c}=i,u=S.getInstance(),d=G(r),m={entryPoints:[e],bundle:!0,platform:"node",target:"node20",format:"esm",outdir:t,outExtension:{".js":".js"},minify:o,sourcemap:n,metafile:!0,logLevel:"info",loader:{".ts":"ts",".tsx":"tsx",".css":"empty"},keepNames:!0,treeShaking:!0,...c};a&&Object.keys(d).length>0&&(m.alias=Object.fromEntries(Object.entries(d).map(([y,p])=>[y,u.normalizePath(p)]))),m.mainFields=["module","main"],m.conditions=["react-server","import","module","node"];let R=["fs","path","crypto","util","stream","events","buffer","url","querystring","http","https","zlib","os","child_process","assert","constants","domain","punycode","string_decoder","timers","tty","vm","worker_threads","perf_hooks","async_hooks"],j=[];if(a)try{let y=r?.root||process.cwd(),p=process.cwd(),g=10;for(let k=0;k<g;k++){let x=u.normalizePath(`${p}/package.json`);if(u.pathExists(x)){let w=u.readSync(x,{format:"json"});if(w&&Array.isArray(w.workspaces)){y=u.normalizePath(p);for(let O of w.workspaces)O==="apps/*"||O==="functions"||!O.includes("*")&&!O.includes("/")&&j.push(O);break}}let E=u.getDirname(p);if(E===p)break;p=E}}catch{}let M={name:"external-node-modules",setup(y){y.onResolve({filter:/^firebase($|\/)/},p=>{if(p.path==="firebase-admin"||p.path.startsWith("firebase-admin/")||p.path==="firebase-functions"||p.path.startsWith("firebase-functions/"))return null;let g;if(r?.type==="dndev"&&r.root)g=u.normalizePath(`${r.root}/packages/core/config/functions/firebase-stub.js`);else{let k=import.meta.url,E=new URL(k).pathname.replace(/^\/([A-Z]:)/i,"$1"),w=u.getDirname(E);g=u.normalizePath(`${w}/firebase-stub.js`)}return{path:g}}),y.onResolve({filter:/.*/},p=>{if(p.kind==="entry-point")return null;if(p.path.match(/@donotdev\/functions\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/functions/","");return{path:u.normalizePath(`${r.root}/packages/functions/src/${g}/index.ts`)}}if(p.path==="@donotdev/utils")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/core/utils/src/server/index.ts`)}:y.resolve("@donotdev/utils/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path.match(/@donotdev\/utils\/.+/)&&r?.type==="dndev"){let g=p.path.replace("@donotdev/utils/","");return{path:u.normalizePath(`${r.root}/packages/core/utils/src/${g}/index.ts`)}}if(p.path==="@donotdev/supabase")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/providers/supabase/src/server/index.ts`)}:y.resolve("@donotdev/supabase/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path==="@donotdev/core")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/core/server.ts`)}:y.resolve("@donotdev/core/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path.match(/@donotdev\/core\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/core/","");return{path:u.normalizePath(`${r.root}/packages/core/${g}.ts`)}}if(p.path==="firebase-admin"||p.path.startsWith("firebase-admin/")||p.path==="firebase-functions"||p.path.startsWith("firebase-functions/"))return{path:p.path,external:!0};if(p.path.match(/@donotdev\/core\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/core/","");return{path:u.normalizePath(`${r.root}/packages/core/${g}.ts`)}}if(p.path.startsWith("@donotdev/")||p.path==="valibot"||p.path.startsWith("valibot/"))return null;if(j.length>0){let g=p.path.split("/")[0];if(j.includes(g))return null}return p.path.startsWith(".")||p.path.startsWith("/")?null:{path:p.path,external:!0}})}};if(m.external=[...R,"firebase-admin","firebase-functions"],m.plugins=[M,...m.plugins||[]],m.define={"process.env.NODE_ENV":JSON.stringify(process.env.NODE_ENV||"production"),...m.define||{}},l&&r.type==="dndev"){let y=r.root,p=u.normalizePath(`${y}/functions/lib`);m.alias={...m.alias,"@donotdev/functions":p}}if(s==="framework"){let y=S.getInstance(),p=r?.root?y.normalizePath(`${r.root}/packages/functions`):process.cwd(),g=y.normalizePath(`${p}/package.json`),k=y.readSync(g,{format:"json"});if(k?.exports){let x={};for(let[,E]of Object.entries(k.exports)){let w=E?.import||E?.default||(typeof E=="string"?E:null);if(!w||!w.endsWith(".ts"))continue;let O=w.replace(/^\.\/src\//,"").replace(/\.ts$/,"");x[O]=w}Object.keys(x).length>0&&(m.entryPoints=x,m.splitting=!0,m.chunkNames="chunks/[name]-[hash]")}}return m}var b=S.getInstance(),W=["create","get","list","listCard","update","delete","bulk"];function X(i,e=0){let t=" ".repeat(e),o="";for(let[n,s]of Object.entries(i))if(s!=null)if(typeof s=="object"&&!Array.isArray(s))Object.keys(s).length===0?o+=`${t}${n}: {}
|
|
3
|
+
`:d=String(t);try{return Buffer.isBuffer(d)?h.writeFileSync(l,d):h.writeFileSync(l,d,"utf8"),this._writtenPaths?.add(l),a&&v.info(`${c?"Updated":"Created"} file: ${l}`),!0}catch(m){throw new Error(`Failed to write file: ${l}: ${m instanceof Error?m.message:String(m)}`)}}async copy(e,t,o={}){let{overwrite:n=!1,dryRun:s=!1,verbose:r=!1}=o,a=this.normalizePath(t),l=this.pathExists(a);if(l&&!n)return r&&v.info(`Skipping existing file: ${a}`),!1;if(s)return v.info(`[DRY RUN] Would copy file: ${a}`),!0;let f=this.normalizePath(A(a));try{await h.promises.mkdir(f,{recursive:!0})}catch(c){if(!z(c))throw c}try{return await q(async()=>(await h.promises.copyFile(e,a),r&&v.info(`${l?"Updated":"Created"} file: ${a}`),!0),`Failed to copy file from ${e} to ${a}`)}catch{return!1}}copySync(e,t,o={}){let{overwrite:n=!1,dryRun:s=!1,verbose:r=!1}=o,a=this.normalizePath(t),l=this.pathExists(a);if(l&&!n)return r&&v.info(`Skipping existing file: ${a}`),!1;if(s)return v.info(`[DRY RUN] Would copy file: ${a}`),!0;let f=this.normalizePath(A(a));try{h.mkdirSync(f,{recursive:!0})}catch(c){if(!z(c))throw c}try{return h.copyFileSync(e,a),this._writtenPaths?.add(a),r&&v.info(`${l?"Updated":"Created"} file: ${a}`),!0}catch{return!1}}pathExists(e,t=!1){try{return h.existsSync(e)}catch(o){return t||v.error(`Error checking path existence: ${e}`,o),!1}}mkdir(e){try{let t=e.startsWith("/")||e.match(/^[A-Z]:/)?this.normalizePath(e):this.resolveAppPath(e);return h.existsSync(t)||h.mkdirSync(t,{recursive:!0}),!0}catch{return!1}}readdirSync(e,t){try{return h.readdirSync(e,t)}catch(o){return this.options.debug&&v.warn(`Failed to read directory: ${e}`,o),t&&typeof t=="object"&&"withFileTypes"in t&&t.withFileTypes?[]:[]}}statSync(e){try{return h.statSync(e)}catch(t){return this.options.debug&&v.warn(`Failed to stat file: ${e}`,t),null}}realpathSync(e){return h.realpathSync(e)}watch(e,t,o){return h.watch(e,t,o)}lstatSync(e){try{return h.lstatSync(e)}catch(t){return this.options.debug&&v.warn(`Failed to lstat file: ${e}`,t),null}}async ensureDir(e){try{await h.promises.mkdir(e,{recursive:!0})}catch(t){if(!z(t))throw t}}ensureDirSync(e){try{h.mkdirSync(e,{recursive:!0})}catch(t){if(!z(t))throw t}}async remove(e){await h.promises.rm(e,{recursive:!0,force:!0})}removeSync(e){h.rmSync(e,{recursive:!0,force:!0})}async readdir(e,t){return h.promises.readdir(e,t)}stripBom(e){return e.charCodeAt(0)===65279?e.slice(1):e}getRepoRoot(){return this._repoRoot||process.cwd()}startWriteRecording(){this._writtenPaths=new Set}stopWriteRecording(){if(!this._writtenPaths)throw new Error("stopWriteRecording() called without startWriteRecording()");let e=this._writtenPaths;return this._writtenPaths=null,e}getAppRoot(){return this._appRoot?this._appRoot:this._repoRoot}setAppRoot(e){if(!e)throw new Error("PathResolver.setAppRoot: root cannot be undefined or null");this._appRoot=this.normalizePath(e)}isMonorepo(){let e=_(this._repoRoot,"packages");return this.pathExists(e)}isWithinApp(e){let t=this.normalizePath(I(e)),o=this.getAppRoot(),n=J(o,t),s=this.normalizePath(n);return!s.startsWith("../")&&!s.startsWith("/")}async findFiles(e,t,o={}){let n=this.normalizePath(_(e,t)),s=this.getAppRoot(),r=this.normalizePath(s),a=n.startsWith(r)?n.slice(r.length+1):n,l={absolute:!0,onlyFiles:!0,braceExpansion:!0,extglob:!0,globstar:!0,cwd:s,ignore:$.SCAN_PATTERNS?.globalIgnore||["**/node_modules/**","**/dist/**","**/build/**","**/.git/**"]};return await this._globWithNormalization([a],{...l,...o})}clearCache(){}async _resolveFrameworkI18nPattern(e){let t=$.I18N_PATHS;if(!t)return null;let o=e.replace(t.SOURCE_ROOT+"/",""),n=this.resolveFrameworkPackage("@donotdev/core");if(!n)return null;let s=this.normalizePath(_(n,t.PUBLISHED_ROOT,o)),r=s.replace(/\/[^/]*\*.*$/,"");return this.pathExists(r),s}async _globWithNormalization(e,t){return(await fe(e,t)).map(n=>{let s=typeof n=="string"?n:n.path;return this.normalizePath(s)})}async resolveFiles(e,t="css"){if(!e||typeof e!="object")return{frameworkFiles:[],consumerFiles:[]};if(t==="i18n")return{frameworkFiles:[],consumerFiles:[]};if(Array.isArray(e.framework)||(e.framework=[]),!Array.isArray(e.consumer))return{frameworkFiles:[],consumerFiles:[]};let o=[...e.framework,...e.consumer];for(let c of o)if(typeof c!="string"||c.trim()==="")return{frameworkFiles:[],consumerFiles:[]};let n=this.getAppRoot(),s=$.getGlobOptionsFor?$.getGlobOptionsFor(t):{ignore:["**/node_modules/**","**/dist/**","**/build/**"]},r=this.normalizePath(n),a=e.framework.map(c=>{let u=this.normalizePath(c);return u.startsWith(r)?u.slice(r.length+1):u}),l=e.consumer.map(c=>{let u=this.normalizePath(c);return u.startsWith(r)?u.slice(r.length+1):u}),f={...s,onlyFiles:!0,absolute:!0,braceExpansion:!0,extglob:!0,globstar:!0,cwd:n};try{let c=a.length>0?await this._globWithNormalization(a,f):[],u=await this._globWithNormalization(l,f);return{frameworkFiles:c,consumerFiles:u}}catch{return this.options.debug,{frameworkFiles:[],consumerFiles:[]}}}async resolvePatterns(e){if(!$.getPatternsFor)return{framework:[],consumer:[],all:[]};let t=this.getAppRoot(),o=this.getRepoRoot();if(e==="i18n"&&(!t||t===o))throw new Error(`Cannot resolve i18n patterns: appRoot not set (appRoot: ${t}, repoRoot: ${o}). Ensure configResolved hook has run before discovery.`);let n=$.getPatternsFor(e),s=this.isMonorepo();if(e==="i18n"){let l=n,f={eager:l.eager.map(c=>c.startsWith("!")?"!"+this.resolveAppPath(c.slice(1)):this.resolveAppPath(c)),lazy:l.lazy.map(c=>c.startsWith("!")?"!"+this.resolveAppPath(c.slice(1)):this.resolveAppPath(c)),framework:{eager:s?(l.framework?.eager||[]).map(c=>this.resolveRepoPath(c)).filter(Boolean):await Promise.all((l.framework?.eager||[]).map(c=>this._resolveFrameworkI18nPattern(c))).then(c=>c.filter(Boolean)),lazy:s?(l.framework?.lazy||[]).map(c=>this.resolveRepoPath(c)).filter(Boolean):await Promise.all((l.framework?.lazy||[]).map(c=>this._resolveFrameworkI18nPattern(c))).then(c=>c.filter(Boolean))},all:[]};return f.all=[...f.eager,...f.lazy,...f.framework.eager,...f.framework.lazy],f}let r=n,a={framework:s?(r.framework||[]).map(l=>this.resolveRepoPath(l)).filter(Boolean):[],consumer:(r.consumer||[]).map(l=>this.resolveAppPath(l)),all:[]};return a.all=[...a.consumer,...a.framework],a}getEmptyModulePath(){return this.getEmptyCjsModulePath().replace(/\.cjs$/,".js")}getEmptyFlagModulePath(){let e=A(pe(import.meta.url));return this.normalizePath(I(e,"emptyFlag.js"))}getEmptyCjsModulePath(){let e=this.resolvePackage("@donotdev/core/empty");if(!e)throw new Error("Cannot resolve @donotdev/core/empty \u2014 package setup is broken");return e}_findRepoRoot(e){let t=this.normalizePath(e),o=0,n=this.options.maxLevels;for(;o<n;){let s=this.normalizePath(_(t,Z.TOOLING)),r=this.normalizePath(_(t,Z.CORE));if(this.pathExists(s)&&this.pathExists(r))return t;let a=_(t,"apps");if(this.pathExists(a)&&this.statSync(a)?.isDirectory())return this.normalizePath(t);let l=this.normalizePath(_(t,"package.json"));if(this.pathExists(l)&&this.normalizePath(A(t))===t)return t;let f=this.normalizePath(A(t));if(f===t)break;t=f,o++}return this.normalizePath(e)}};function L(i={}){let{entry:e="src/index.ts",outDir:t="lib",minify:o=!1,sourcemap:n=!0,platform:s="firebase",workspace:r,bundleWorkspaceDeps:a=!1,importFramework:l=!1,external:f=!1,...c}=i,u=S.getInstance(),d=G(r),m={entryPoints:[e],bundle:!0,platform:"node",target:"node20",format:"esm",outdir:t,outExtension:{".js":".js"},minify:o,sourcemap:n,metafile:!0,logLevel:"info",loader:{".ts":"ts",".tsx":"tsx",".css":"empty"},keepNames:!0,treeShaking:!0,...c};a&&Object.keys(d).length>0&&(m.alias=Object.fromEntries(Object.entries(d).map(([y,p])=>[y,u.normalizePath(p)]))),m.mainFields=["module","main"],m.conditions=["react-server","import","module","node"];let R=["fs","path","crypto","util","stream","events","buffer","url","querystring","http","https","zlib","os","child_process","assert","constants","domain","punycode","string_decoder","timers","tty","vm","worker_threads","perf_hooks","async_hooks"],j=[];if(a)try{let y=r?.root||process.cwd(),p=process.cwd(),g=10;for(let k=0;k<g;k++){let w=u.normalizePath(`${p}/package.json`);if(u.pathExists(w)){let E=u.readSync(w,{format:"json"});if(E&&Array.isArray(E.workspaces)){y=u.normalizePath(p);for(let O of E.workspaces)O==="apps/*"||O==="functions"||!O.includes("*")&&!O.includes("/")&&j.push(O);break}}let x=u.getDirname(p);if(x===p)break;p=x}}catch{}let M={name:"external-node-modules",setup(y){y.onResolve({filter:/^firebase($|\/)/},p=>{if(p.path==="firebase-admin"||p.path.startsWith("firebase-admin/")||p.path==="firebase-functions"||p.path.startsWith("firebase-functions/"))return null;let g;if(r?.type==="dndev"&&r.root)g=u.normalizePath(`${r.root}/packages/core/config/functions/firebase-stub.js`);else{let k=import.meta.url,x=new URL(k).pathname.replace(/^\/([A-Z]:)/i,"$1"),E=u.getDirname(x);g=u.normalizePath(`${E}/firebase-stub.js`)}return{path:g}}),y.onResolve({filter:/.*/},p=>{if(p.kind==="entry-point")return null;if(p.path.match(/@donotdev\/functions\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/functions/","");return{path:u.normalizePath(`${r.root}/packages/functions/src/${g}/index.ts`)}}if(p.path==="@donotdev/utils")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/core/utils/src/server/index.ts`)}:y.resolve("@donotdev/utils/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path.match(/@donotdev\/utils\/.+/)&&r?.type==="dndev"){let g=p.path.replace("@donotdev/utils/","");return{path:u.normalizePath(`${r.root}/packages/core/utils/src/${g}/index.ts`)}}if(p.path==="@donotdev/supabase")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/providers/supabase/src/server/index.ts`)}:y.resolve("@donotdev/supabase/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path==="@donotdev/core")return r?.type==="dndev"?{path:u.normalizePath(`${r.root}/packages/core/server.ts`)}:y.resolve("@donotdev/core/server",{kind:p.kind,resolveDir:p.resolveDir});if(p.path.match(/@donotdev\/core\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/core/","");return{path:u.normalizePath(`${r.root}/packages/core/${g}.ts`)}}if(p.path==="firebase-admin"||p.path.startsWith("firebase-admin/")||p.path==="firebase-functions"||p.path.startsWith("firebase-functions/"))return{path:p.path,external:!0};if(p.path.match(/@donotdev\/core\/.+/)&&a&&r?.type==="dndev"){let g=p.path.replace("@donotdev/core/","");return{path:u.normalizePath(`${r.root}/packages/core/${g}.ts`)}}if(p.path.startsWith("@donotdev/")||p.path==="valibot"||p.path.startsWith("valibot/"))return null;if(j.length>0){let g=p.path.split("/")[0];if(j.includes(g))return null}return p.path.startsWith(".")||p.path.startsWith("/")?null:{path:p.path,external:!0}})}};if(m.external=[...R,"firebase-admin","firebase-functions"],m.plugins=[M,...m.plugins||[]],m.define={"process.env.NODE_ENV":JSON.stringify(process.env.NODE_ENV||"production"),...m.define||{}},l&&r.type==="dndev"){let y=r.root,p=u.normalizePath(`${y}/functions/lib`);m.alias={...m.alias,"@donotdev/functions":p}}if(s==="framework"){let y=S.getInstance(),p=r?.root?y.normalizePath(`${r.root}/packages/functions`):process.cwd(),g=y.normalizePath(`${p}/package.json`),k=y.readSync(g,{format:"json"});if(k?.exports){let w={};for(let[,x]of Object.entries(k.exports)){let E=x?.import||x?.default||(typeof x=="string"?x:null);if(!E||!E.endsWith(".ts"))continue;let O=E.replace(/^\.\/src\//,"").replace(/\.ts$/,"");w[O]=E}Object.keys(w).length>0&&(m.entryPoints=w,m.splitting=!0,m.chunkNames="chunks/[name]-[hash]")}}return m}var b=S.getInstance(),W=["create","get","list","listCard","update","delete","bulk"];function X(i,e=0){let t=" ".repeat(e),o="";for(let[n,s]of Object.entries(i))if(s!=null)if(typeof s=="object"&&!Array.isArray(s))Object.keys(s).length===0?o+=`${t}${n}: {}
|
|
4
4
|
`:o+=`${t}${n}:
|
|
5
5
|
${X(s,e+1)}`;else if(Array.isArray(s))if(s.length===0)o+=`${t}${n}: []
|
|
6
6
|
`;else{o+=`${t}${n}:
|
|
@@ -29,4 +29,4 @@ const crud = createCrudFunctions(entities);
|
|
|
29
29
|
`)+`
|
|
30
30
|
`)}else b.writeSync(".env.local",a+r.join(`
|
|
31
31
|
`)+`
|
|
32
|
-
`);return{stripped:r.map(f=>f.split("=")[0].trim()),kept:s.length}}function me(i={}){let e=T();return L({...i,platform:"firebase",bundleWorkspaceDeps:!0,importFramework:!0,workspace:e})}async function ge(i,e={}){let{entry:t="src/index.ts",outDir:o="lib",minify:n=process.env.NODE_ENV==="production",sourcemap:s=!0,analyze:r=!1,entryFile:a="src/index.ts",envPath:l=".env",...f}=e;try{let c=S.getInstance(),u=re(i);c.writeSync("src/.generated/crud-exports.ts",u,{overwrite:!0});let{build:d}=await import("esbuild"),m=me({entry:t,outDir:o,minify:n,sourcemap:s,...f}),R=await d(m);R.errors.length>0&&process.exit(1),R.warnings.length>0;let{yaml:j,staticFunctions:M,crudFunctions:y,autoDetected:p,autoSecrets:g}=U(i,{entryFile:a,envPath:l});c.writeSync("functions.yaml",j,{overwrite:!0}),p.length>0,g.length>0;let{stripped:k}=B(i);if(k.length>0,r&&R.metafile){let{analyzeMetafile:
|
|
32
|
+
`);return{stripped:r.map(f=>f.split("=")[0].trim()),kept:s.length}}function me(i={}){let e=T();return L({...i,platform:"firebase",bundleWorkspaceDeps:!0,importFramework:!0,workspace:e})}async function ge(i,e={}){let{entry:t="src/index.ts",outDir:o="lib",minify:n=process.env.NODE_ENV==="production",sourcemap:s=!0,analyze:r=!1,entryFile:a="src/index.ts",envPath:l=".env",...f}=e;try{let c=S.getInstance(),u=re(i);c.writeSync("src/.generated/crud-exports.ts",u,{overwrite:!0});let{build:d}=await import("esbuild"),m=me({entry:t,outDir:o,minify:n,sourcemap:s,...f}),R=await d(m);R.errors.length>0&&process.exit(1),R.warnings.length>0;let{yaml:j,staticFunctions:M,crudFunctions:y,autoDetected:p,autoSecrets:g}=U(i,{entryFile:a,envPath:l});c.writeSync("functions.yaml",j,{overwrite:!0}),p.length>0,g.length>0;let{stripped:k}=B(i);if(k.length>0,r&&R.metafile){let{analyzeMetafile:w}=await import("esbuild"),x=await w(R.metafile)}}catch{process.exit(1)}}function se(i={}){let{entry:e="src/index.ts",outDir:t="lib",minify:o=!1,sourcemap:n=!0,platform:s="firebase",...r}=i,a=T();return L({entry:e,outDir:t,minify:o,sourcemap:n,platform:s,workspace:a,...r})}function Be(i={}){return se({...i,platform:"framework",bundleWorkspaceDeps:!0})}function Me(i={}){return se({...i,platform:"firebase",bundleWorkspaceDeps:!0,importFramework:!0})}export{ge as buildFunctions,Me as createAppFunctionsConfig,se as createFunctionsEsbuildConfig,Be as createRootFunctionsConfig,B as filterEnvSecrets,te as generateFunctionsYaml,U as generateFunctionsYamlWithInfo};
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "فشل في إرسال بريد التحقق. يرجى المحاولة مرة أخرى."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "تم إغلاق نافذة تسجيل الدخول قبل الإكمال.",
|
|
44
52
|
"auth/cancelled-popup-request": "تم إلغاء نافذة تسجيل الدخول.",
|
|
45
53
|
"auth/popup-blocked": "تم حظر نافذة تسجيل الدخول بواسطة المتصفح.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "الوصول محظور",
|
|
148
156
|
"serverError": "حدث خطأ في الخادم",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "الانتقال إلى {{label}}",
|
|
150
159
|
"title": "الصفحة غير موجودة",
|
|
151
160
|
"description": "الصفحة التي تبحث عنها غير موجودة أو تم نقلها.",
|
|
152
161
|
"suggestions": "قد تبحث عن:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Kunne ikke sende bekræftelsesmail. Prøv igen."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "Login-vinduet blev lukket før du var færdig.",
|
|
44
52
|
"auth/cancelled-popup-request": "Login blev annulleret.",
|
|
45
53
|
"auth/popup-blocked": "Browseren blokerede login-vinduet.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Adgang nægtet",
|
|
148
156
|
"serverError": "Serverfejl",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Gå til {{label}}",
|
|
150
159
|
"title": "Siden findes ikke",
|
|
151
160
|
"description": "Siden du leder efter findes ikke eller er flyttet.",
|
|
152
161
|
"suggestions": "Måske leder du efter:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Bestätigungs-E-Mail konnte nicht gesendet werden. Bitte versuchen Sie es erneut."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "Das Anmeldefenster wurde vor Abschluss geschlossen.",
|
|
44
52
|
"auth/cancelled-popup-request": "Die Anmeldeanfrage wurde abgebrochen.",
|
|
45
53
|
"auth/popup-blocked": "Das Anmeldefenster wurde vom Browser blockiert.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Zugriff verboten",
|
|
148
156
|
"serverError": "Serverfehler aufgetreten",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Zu {{label}} navigieren",
|
|
150
159
|
"title": "Seite nicht gefunden",
|
|
151
160
|
"description": "Die gesuchte Seite existiert nicht oder wurde verschoben.",
|
|
152
161
|
"suggestions": "Sie suchen möglicherweise nach:",
|
|
@@ -48,6 +48,14 @@
|
|
|
48
48
|
"error": "Failed to send verification email. Please try again."
|
|
49
49
|
},
|
|
50
50
|
"errors": {
|
|
51
|
+
"notFound": {
|
|
52
|
+
"title": "$t(messages.notFound.title)",
|
|
53
|
+
"description": "$t(messages.notFound.description)",
|
|
54
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
55
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
56
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
57
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
58
|
+
},
|
|
51
59
|
"auth/popup-closed-by-user": "The sign in popup was closed before completion.",
|
|
52
60
|
"auth/cancelled-popup-request": "The sign in popup was cancelled.",
|
|
53
61
|
"auth/popup-blocked": "The sign in popup was blocked by the browser.",
|
|
@@ -155,6 +163,7 @@
|
|
|
155
163
|
"forbidden": "Access forbidden",
|
|
156
164
|
"serverError": "Server error occurred",
|
|
157
165
|
"notFound": {
|
|
166
|
+
"navigateTo": "Navigate to {{label}}",
|
|
158
167
|
"title": "Page Not Found",
|
|
159
168
|
"description": "The page you're looking for doesn't exist or has been moved.",
|
|
160
169
|
"suggestions": "You might be looking for:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Error al enviar el correo de verificación. Inténtelo de nuevo."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "La ventana de inicio de sesión se cerró antes de completarse.",
|
|
44
52
|
"auth/cancelled-popup-request": "La solicitud de inicio de sesión fue cancelada.",
|
|
45
53
|
"auth/popup-blocked": "La ventana de inicio de sesión fue bloqueada por el navegador.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Acceso prohibido",
|
|
148
156
|
"serverError": "Error del servidor",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Ir a {{label}}",
|
|
150
159
|
"title": "Página no encontrada",
|
|
151
160
|
"description": "La página que buscas no existe o ha sido movida.",
|
|
152
161
|
"suggestions": "Podrías estar buscando:",
|
|
@@ -48,6 +48,14 @@
|
|
|
48
48
|
"error": "Échec de l'envoi de l'email de vérification. Veuillez réessayer."
|
|
49
49
|
},
|
|
50
50
|
"errors": {
|
|
51
|
+
"notFound": {
|
|
52
|
+
"title": "$t(messages.notFound.title)",
|
|
53
|
+
"description": "$t(messages.notFound.description)",
|
|
54
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
55
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
56
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
57
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
58
|
+
},
|
|
51
59
|
"auth/popup-closed-by-user": "La fenêtre de connexion a été fermée avant la fin.",
|
|
52
60
|
"auth/cancelled-popup-request": "La demande de fenêtre de connexion a été annulée.",
|
|
53
61
|
"auth/popup-blocked": "La fenêtre de connexion a été bloquée par le navigateur.",
|
|
@@ -155,6 +163,7 @@
|
|
|
155
163
|
"forbidden": "Accès interdit",
|
|
156
164
|
"serverError": "Erreur serveur",
|
|
157
165
|
"notFound": {
|
|
166
|
+
"navigateTo": "Aller à {{label}}",
|
|
158
167
|
"title": "Page non trouvée",
|
|
159
168
|
"description": "La page que vous recherchez n'existe pas ou a été déplacée.",
|
|
160
169
|
"suggestions": "Vous cherchez peut-être :",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Invio email di verifica fallito. Riprova."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "Il popup di accesso è stato chiuso prima del completamento.",
|
|
44
52
|
"auth/cancelled-popup-request": "La richiesta di accesso è stata annullata.",
|
|
45
53
|
"auth/popup-blocked": "Il popup di accesso è stato bloccato dal browser.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Accesso proibito",
|
|
148
156
|
"serverError": "Errore del server",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Vai a {{label}}",
|
|
150
159
|
"title": "Pagina Non Trovata",
|
|
151
160
|
"description": "La pagina che stai cercando non esiste o è stata spostata.",
|
|
152
161
|
"suggestions": "Potresti cercare:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "確認メールの送信に失敗しました。もう一度お試しください。"
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "ログインポップアップが完了前に閉じられました。",
|
|
44
52
|
"auth/cancelled-popup-request": "ログインリクエストがキャンセルされました。",
|
|
45
53
|
"auth/popup-blocked": "ログインポップアップがブラウザによってブロックされました。",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "アクセスが禁止されています",
|
|
148
156
|
"serverError": "サーバーエラーが発生しました",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "{{label}}へ移動",
|
|
150
159
|
"title": "ページが見つかりません",
|
|
151
160
|
"description": "お探しのページは存在しないか、移動されました。",
|
|
152
161
|
"suggestions": "以下をお探しかもしれません:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "확인 이메일 전송에 실패했습니다. 다시 시도해 주세요."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "로그인 팝업이 완료 전에 닫혔습니다.",
|
|
44
52
|
"auth/cancelled-popup-request": "로그인 팝업 요청이 취소되었습니다.",
|
|
45
53
|
"auth/popup-blocked": "로그인 팝업이 브라우저에 의해 차단되었습니다.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "접근이 금지되었습니다",
|
|
148
156
|
"serverError": "서버 오류가 발생했습니다",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "{{label}}(으)로 이동",
|
|
150
159
|
"title": "페이지를 찾을 수 없습니다",
|
|
151
160
|
"description": "찾고 있는 페이지가 존재하지 않거나 이동되었습니다.",
|
|
152
161
|
"suggestions": "다음을 찾고 계실 수 있습니다:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Verificatiemail kon niet worden verstuurd. Probeer het opnieuw."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "Het inlogvenster is gesloten voordat je klaar was.",
|
|
44
52
|
"auth/cancelled-popup-request": "Inloggen geannuleerd.",
|
|
45
53
|
"auth/popup-blocked": "De browser blokkeert het inlogvenster.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Toegang geweigerd",
|
|
148
156
|
"serverError": "Serverfout",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Ga naar {{label}}",
|
|
150
159
|
"title": "Pagina niet gevonden",
|
|
151
160
|
"description": "Deze pagina bestaat niet of is verplaatst.",
|
|
152
161
|
"suggestions": "Misschien bedoel je:",
|
|
@@ -48,6 +48,14 @@
|
|
|
48
48
|
"error": "Nie udało się wysłać e-maila weryfikacyjnego. Spróbuj ponownie."
|
|
49
49
|
},
|
|
50
50
|
"errors": {
|
|
51
|
+
"notFound": {
|
|
52
|
+
"title": "$t(messages.notFound.title)",
|
|
53
|
+
"description": "$t(messages.notFound.description)",
|
|
54
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
55
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
56
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
57
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
58
|
+
},
|
|
51
59
|
"auth/popup-closed-by-user": "Okno logowania zostało zamknięte przed zakończeniem.",
|
|
52
60
|
"auth/cancelled-popup-request": "Okno logowania zostało anulowane.",
|
|
53
61
|
"auth/popup-blocked": "Okno logowania zostało zablokowane przez przeglądarkę.",
|
|
@@ -155,6 +163,7 @@
|
|
|
155
163
|
"forbidden": "Dostęp zabroniony",
|
|
156
164
|
"serverError": "Wystąpił błąd serwera",
|
|
157
165
|
"notFound": {
|
|
166
|
+
"navigateTo": "Przejdź do {{label}}",
|
|
158
167
|
"title": "Nie znaleziono strony",
|
|
159
168
|
"description": "Strona, której szukasz, nie istnieje lub została przeniesiona.",
|
|
160
169
|
"suggestions": "Być może szukasz:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "Não foi possível enviar o e-mail de verificação. Tente novamente."
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "A janela de login foi fechada antes de concluir.",
|
|
44
52
|
"auth/cancelled-popup-request": "A janela de login foi cancelada.",
|
|
45
53
|
"auth/popup-blocked": "A janela de login foi bloqueada pelo navegador.",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "Acesso negado",
|
|
148
156
|
"serverError": "Erro no servidor",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "Ir para {{label}}",
|
|
150
159
|
"title": "Página Não Encontrada",
|
|
151
160
|
"description": "A página que você está procurando não existe ou foi movida.",
|
|
152
161
|
"suggestions": "Talvez você esteja procurando por:",
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"error": "发送验证邮件失败,请重试。"
|
|
41
41
|
},
|
|
42
42
|
"errors": {
|
|
43
|
+
"notFound": {
|
|
44
|
+
"title": "$t(messages.notFound.title)",
|
|
45
|
+
"description": "$t(messages.notFound.description)",
|
|
46
|
+
"suggestions": "$t(messages.notFound.suggestions)",
|
|
47
|
+
"navigateTo": "$t(messages.notFound.navigateTo)",
|
|
48
|
+
"goHome": "$t(messages.notFound.goHome)",
|
|
49
|
+
"goBack": "$t(messages.notFound.goBack)"
|
|
50
|
+
},
|
|
43
51
|
"auth/popup-closed-by-user": "登录窗口已被关闭。",
|
|
44
52
|
"auth/cancelled-popup-request": "登录请求已取消。",
|
|
45
53
|
"auth/popup-blocked": "登录弹窗被浏览器拦截。",
|
|
@@ -147,6 +155,7 @@
|
|
|
147
155
|
"forbidden": "访问被禁止",
|
|
148
156
|
"serverError": "服务器错误",
|
|
149
157
|
"notFound": {
|
|
158
|
+
"navigateTo": "前往{{label}}",
|
|
150
159
|
"title": "页面未找到",
|
|
151
160
|
"description": "您访问的页面不存在或已被移动。",
|
|
152
161
|
"suggestions": "您可能在寻找:",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"noResults": "لم يتم العثور على عناوين"
|
|
40
40
|
},
|
|
41
41
|
"export": "تصدير",
|
|
42
|
+
"copyToClipboard": "نسخ إلى الحافظة",
|
|
42
43
|
"noInquiries": "لم يتم العثور على استفسارات.",
|
|
43
44
|
"customer": "العميل",
|
|
44
45
|
"noCustomer": "لا يوجد عميل مرتبط",
|
|
@@ -119,6 +120,11 @@
|
|
|
119
120
|
"boolean": {
|
|
120
121
|
"required": "{{field}} يجب أن يكون محدداً"
|
|
121
122
|
},
|
|
123
|
+
"fieldArray": {
|
|
124
|
+
"addRow": "إضافة صف إلى {{field}}",
|
|
125
|
+
"removeRow": "حذف الصف {{index}} من {{field}}",
|
|
126
|
+
"noSubFields": "{{field}}: لم يتم إعداد حقول فرعية."
|
|
127
|
+
},
|
|
122
128
|
"array": {
|
|
123
129
|
"required": "{{field}} واحد على الأقل مطلوب",
|
|
124
130
|
"minItems": "يرجى اختيار {{min}} {{field}} على الأقل",
|
|
@@ -263,7 +269,15 @@
|
|
|
263
269
|
"forbidden": "الوصول محظور",
|
|
264
270
|
"serverError": "حدث خطأ في الخادم",
|
|
265
271
|
"bulkPartialError_one": "تعذّر حفظ {{count}} صف",
|
|
266
|
-
"bulkPartialError_other": "تعذّر حفظ {{count}} صفوف"
|
|
272
|
+
"bulkPartialError_other": "تعذّر حفظ {{count}} صفوف",
|
|
273
|
+
"unknownFields": "تم الحفظ، لكن هذه الحقول غير موجودة ولم يتم حفظها: {{fields}}. تواصل مع الدعم."
|
|
274
|
+
},
|
|
275
|
+
"draft": {
|
|
276
|
+
"restored": "تمت استعادة المسودة",
|
|
277
|
+
"restoredDescription": "تم استرداد تغييراتك غير المحفوظة",
|
|
278
|
+
"discard": "تجاهل",
|
|
279
|
+
"conflict": "مسودة مبنية على نسخة أقدم",
|
|
280
|
+
"conflictDescription": "تغيّر هذا السجل منذ تعديلاتك غير المحفوظة. قد يُرفض الحفظ: تجاهل المسودة لتعديل النسخة الحالية."
|
|
267
281
|
},
|
|
268
282
|
"form": {
|
|
269
283
|
"submit": "إرسال",
|
|
@@ -277,9 +291,14 @@
|
|
|
277
291
|
"uploading": "جاري الرفع {{progress}}%...",
|
|
278
292
|
"processing": "جاري المعالجة...",
|
|
279
293
|
"validating": "جاري التحقق...",
|
|
294
|
+
"validationFailed": "بعض الحقول تحتاج إلى تصحيح",
|
|
295
|
+
"fixFields": "تحقق من: {{fields}}",
|
|
280
296
|
"saving": "جاري الحفظ...",
|
|
281
297
|
"saved": "تم الحفظ",
|
|
282
|
-
"error": "خطأ — حاول مرة أخرى"
|
|
298
|
+
"error": "خطأ — حاول مرة أخرى",
|
|
299
|
+
"saveFailed": "تعذّر الحفظ. حاول مرة أخرى.",
|
|
300
|
+
"uploadFailed": "فشل رفع الملف. حاول مرة أخرى.",
|
|
301
|
+
"reuploadFiles": "لم يتم رفع بعض الملفات. ارفعها مرة أخرى ثم احفظ."
|
|
283
302
|
},
|
|
284
303
|
"gdprConsent": {
|
|
285
304
|
"consent": "أوافق على",
|
|
@@ -369,8 +388,16 @@
|
|
|
369
388
|
},
|
|
370
389
|
"price": {
|
|
371
390
|
"vatIncluded": "شامل الضريبة",
|
|
391
|
+
"currency": "العملة",
|
|
392
|
+
"discountLabel": "الخصم (%)",
|
|
372
393
|
"discountPercent": "-{{percent}}%"
|
|
373
394
|
},
|
|
395
|
+
"workflow": {
|
|
396
|
+
"submit": "إرسال",
|
|
397
|
+
"next": "التالي",
|
|
398
|
+
"previous": "السابق",
|
|
399
|
+
"skip": "تخطي هذه الخطوة"
|
|
400
|
+
},
|
|
374
401
|
"recommendations": {
|
|
375
402
|
"title": "قد يعجبك أيضاً"
|
|
376
403
|
},
|
|
@@ -403,5 +430,27 @@
|
|
|
403
430
|
"deleteSelected": "حذف المحدد ({{count}})",
|
|
404
431
|
"failed_one": "لم يُحفظ {{count}} صف: يبقى في القائمة، أعد المحاولة",
|
|
405
432
|
"failed_other": "لم تُحفظ {{count}} صفوف: تبقى في القائمة، أعد المحاولة"
|
|
433
|
+
},
|
|
434
|
+
"childRows": {
|
|
435
|
+
"createFirst": "أنشئ المسودة قبل إضافة {{entity}}.",
|
|
436
|
+
"required": "{{field}} مطلوب",
|
|
437
|
+
"invalidValue": "{{field}} غير صالح",
|
|
438
|
+
"invalidRows_one": "صف واحد يحتاج إلى تصحيح قبل الحفظ",
|
|
439
|
+
"invalidRows_other": "{{count}} صفوف تحتاج إلى تصحيح قبل الحفظ",
|
|
440
|
+
"notSaved": "لم تُحفظ الصفوف المعدّلة مع هذا السجل.",
|
|
441
|
+
"pickTitle": "إضافة {{entity}}",
|
|
442
|
+
"pickConfirm": "إضافة المحدد ({{count}})",
|
|
443
|
+
"pickEmpty": "لا يوجد شيء آخر لإضافته."
|
|
444
|
+
},
|
|
445
|
+
"sortable": {
|
|
446
|
+
"drag": "اسحب لإعادة ترتيب {{name}}",
|
|
447
|
+
"moveBefore": "نقل {{name}} إلى الأمام",
|
|
448
|
+
"moveAfter": "نقل {{name}} إلى الخلف",
|
|
449
|
+
"remove": "إزالة {{name}}",
|
|
450
|
+
"instructions": "لالتقاط عنصر، اضغط على المسافة أو Enter. حرّكه بمفاتيح الأسهم، ثم اضغط على المسافة أو Enter مرة أخرى لإفلاته، أو Escape للإلغاء.",
|
|
451
|
+
"picked": "تم التقاط {{name}}، الموضع {{position}} من {{count}}.",
|
|
452
|
+
"moved": "تم نقل {{name}} إلى الموضع {{position}} من {{count}}.",
|
|
453
|
+
"dropped": "تم إفلات {{name}} في الموضع {{position}} من {{count}}.",
|
|
454
|
+
"cancelled": "تم إلغاء نقل {{name}}."
|
|
406
455
|
}
|
|
407
456
|
}
|
|
@@ -75,7 +75,8 @@
|
|
|
75
75
|
"goBack": "Tilbage"
|
|
76
76
|
},
|
|
77
77
|
"bulkPartialError_one": "{{count}} række kunne ikke gemmes",
|
|
78
|
-
"bulkPartialError_other": "{{count}} rækker kunne ikke gemmes"
|
|
78
|
+
"bulkPartialError_other": "{{count}} rækker kunne ikke gemmes",
|
|
79
|
+
"unknownFields": "Gemt, men disse felter findes ikke og blev ikke gemt: {{fields}}. Kontakt support."
|
|
79
80
|
},
|
|
80
81
|
"pagination": {
|
|
81
82
|
"showing": "{{from}}–{{to}} af {{total}}",
|
|
@@ -257,6 +258,13 @@
|
|
|
257
258
|
"noLanguagesFound": "Ingen sprog fundet",
|
|
258
259
|
"changeLanguage": "Skift sprog"
|
|
259
260
|
},
|
|
261
|
+
"draft": {
|
|
262
|
+
"restored": "Kladde gendannet",
|
|
263
|
+
"restoredDescription": "Dine ikke-gemte ændringer blev gendannet",
|
|
264
|
+
"discard": "Kassér",
|
|
265
|
+
"conflict": "Kladde baseret på en ældre version",
|
|
266
|
+
"conflictDescription": "Denne post er ændret siden dine ikke-gemte ændringer. Gemning kan blive afvist: kassér for at redigere den aktuelle version."
|
|
267
|
+
},
|
|
260
268
|
"form": {
|
|
261
269
|
"submit": "Send",
|
|
262
270
|
"cancel": "Annuller",
|
|
@@ -269,9 +277,14 @@
|
|
|
269
277
|
"uploading": "Uploader {{progress}}%...",
|
|
270
278
|
"processing": "Behandler...",
|
|
271
279
|
"validating": "Validerer...",
|
|
280
|
+
"validationFailed": "Nogle felter skal rettes",
|
|
281
|
+
"fixFields": "Tjek: {{fields}}",
|
|
272
282
|
"saving": "Gemmer...",
|
|
273
283
|
"saved": "Gemt",
|
|
274
|
-
"error": "Fejl — prøv igen"
|
|
284
|
+
"error": "Fejl — prøv igen",
|
|
285
|
+
"saveFailed": "Kunne ikke gemme. Prøv igen.",
|
|
286
|
+
"uploadFailed": "Upload af fil mislykkedes. Prøv igen.",
|
|
287
|
+
"reuploadFiles": "Nogle filer blev ikke uploadet. Upload dem igen, og gem derefter."
|
|
275
288
|
},
|
|
276
289
|
"navigation": {
|
|
277
290
|
"more": "Mere",
|
|
@@ -382,6 +395,11 @@
|
|
|
382
395
|
"boolean": {
|
|
383
396
|
"required": "{{field}} skal vælges"
|
|
384
397
|
},
|
|
398
|
+
"fieldArray": {
|
|
399
|
+
"addRow": "Tilføj en række til {{field}}",
|
|
400
|
+
"removeRow": "Fjern række {{index}} fra {{field}}",
|
|
401
|
+
"noSubFields": "{{field}}: ingen underfelter konfigureret."
|
|
402
|
+
},
|
|
385
403
|
"array": {
|
|
386
404
|
"required": "Mindst én {{field}} er påkrævet",
|
|
387
405
|
"minItems": "Vælg mindst {{min}} {{field}}",
|
|
@@ -536,8 +554,16 @@
|
|
|
536
554
|
},
|
|
537
555
|
"price": {
|
|
538
556
|
"vatIncluded": "inkl. moms",
|
|
557
|
+
"currency": "Valuta",
|
|
558
|
+
"discountLabel": "Rabat (%)",
|
|
539
559
|
"discountPercent": "-{{percent}}%"
|
|
540
560
|
},
|
|
561
|
+
"workflow": {
|
|
562
|
+
"submit": "Send",
|
|
563
|
+
"next": "Næste",
|
|
564
|
+
"previous": "Forrige",
|
|
565
|
+
"skip": "Spring dette trin over"
|
|
566
|
+
},
|
|
541
567
|
"recommendations": {
|
|
542
568
|
"title": "Du vil måske også synes om"
|
|
543
569
|
},
|
|
@@ -566,5 +592,27 @@
|
|
|
566
592
|
"deleteSelected": "Slet valgte ({{count}})",
|
|
567
593
|
"failed_one": "{{count}} række ikke gemt: den bliver i listen, prøv igen",
|
|
568
594
|
"failed_other": "{{count}} rækker ikke gemt: de bliver i listen, prøv igen"
|
|
595
|
+
},
|
|
596
|
+
"childRows": {
|
|
597
|
+
"createFirst": "Opret kladden, før du tilføjer {{entity}}.",
|
|
598
|
+
"required": "{{field}} er påkrævet",
|
|
599
|
+
"invalidValue": "{{field}} er ugyldig",
|
|
600
|
+
"invalidRows_one": "{{count}} række skal rettes før gemning",
|
|
601
|
+
"invalidRows_other": "{{count}} rækker skal rettes før gemning",
|
|
602
|
+
"notSaved": "De redigerede rækker blev ikke gemt med denne post.",
|
|
603
|
+
"pickTitle": "Tilføj {{entity}}",
|
|
604
|
+
"pickConfirm": "Tilføj valgte ({{count}})",
|
|
605
|
+
"pickEmpty": "Intet tilbage at tilføje."
|
|
606
|
+
},
|
|
607
|
+
"sortable": {
|
|
608
|
+
"drag": "Træk for at flytte {{name}}",
|
|
609
|
+
"moveBefore": "Flyt {{name}} før",
|
|
610
|
+
"moveAfter": "Flyt {{name}} efter",
|
|
611
|
+
"remove": "Fjern {{name}}",
|
|
612
|
+
"instructions": "Tryk på Mellemrum eller Enter for at tage et element. Flyt det med piletasterne, og tryk på Mellemrum eller Enter igen for at slippe det, eller Escape for at annullere.",
|
|
613
|
+
"picked": "{{name}} taget, position {{position}} af {{count}}.",
|
|
614
|
+
"moved": "{{name}} flyttet til position {{position}} af {{count}}.",
|
|
615
|
+
"dropped": "{{name}} sluppet på position {{position}} af {{count}}.",
|
|
616
|
+
"cancelled": "Flytning af {{name}} annulleret."
|
|
569
617
|
}
|
|
570
618
|
}
|