feat: CodeMirror 6 editor with in-editor search/replace

- bundle CodeMirror 6 (+ langs/search) via scripts/build-editor.mjs into a
  generated TS module (inlined into the WebView; no remote code, no asset
  pipeline)
- CodeEditor now renders CodeMirror 6 with line numbers, language modes and a
  search/replace panel exposed from a toolbar button
- npm run build:editor; language mapping by file extension
This commit is contained in:
JustZoe101 committed 2026-10-09 19:08:38 +02:00
1 parent a104d65978
commit 883440b8be
8 files changed
+1148 -94

No files matched your search

+946
View File
File diff suppressed because it is too large. Load diff
+15
View File
@@ -46,9 +46,23 @@
"zustand": "^5.0.15"
},
"devDependencies": {
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-html": "^6.4.12",
"@codemirror/lang-java": "^6.0.2",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-php": "^6.0.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/search": "^6.7.2",
"@testing-library/react-native": "^14.1.0",
"@types/jest": "^29.5.14",
"@types/react": "~19.2.2",
"codemirror": "^6.0.2",
"esbuild": "^0.28.2",
"eslint": "^9.39.5",
"eslint-config-expo": "~57.0.2",
"jest": "~29.7.0",
@@ -64,6 +78,7 @@
"lint": "expo lint",
"typecheck": "tsc --noEmit",
"test": "jest",
"build:editor": "node scripts/build-editor.mjs",
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"*.{md,json,js}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"*.{md,json,js}\"",
"verify": "npm run typecheck && npm run lint && npm test"
+41
View File
@@ -0,0 +1,41 @@
/**
* Bundles the CodeMirror 6 entry (`scripts/codemirror-entry.mjs`) into a single
* IIFE string inside `src/components/git/codemirror-bundle.ts`.
*
* Run with `npm run build:editor`. The generated module is committed so the app
* builds without a JS bundling step at runtime.
*/
import { writeFileSync } from 'node:fs';
import { dirname, resolve } from 'node:path';
import { fileURLToPath } from 'node:url';
import { build } from 'esbuild';
const root = resolve(dirname(fileURLToPath(import.meta.url)), '..');
const entry = resolve(root, 'scripts/codemirror-entry.mjs');
const output = resolve(root, 'src/components/git/codemirror-bundle.ts');
const result = await build({
entryPoints: [entry],
bundle: true,
format: 'iife',
minify: true,
write: false,
platform: 'browser',
target: 'es2020',
legalComments: 'none',
});
const code = result.outputFiles[0].text;
const safe = code.replace(/<\/script/gi, '<\\/script');
const module = `/**
* AUTO-GENERATED by scripts/build-editor.mjs — do not edit by hand.
* Bundled CodeMirror 6 editor (see scripts/codemirror-entry.mjs).
*/
export const CODE_MIRROR_BUNDLE = ${JSON.stringify(safe)};
`;
writeFileSync(output, module);
console.log(`Wrote ${output} (${code.length} bytes)`);
+57
View File
@@ -0,0 +1,57 @@
/**
* CodeMirror 6 entry point bundled by `scripts/build-editor.mjs`.
*
* It exposes `window.createCodeMirror` to the inline WebView HTML. The bundle is
* generated into `src/components/git/codemirror-bundle.ts` so the app carries no
* runtime asset pipeline and never loads remote code.
*/
import { EditorState } from '@codemirror/state';
import { EditorView } from '@codemirror/view';
import { basicSetup } from 'codemirror';
import { openSearchPanel } from '@codemirror/search';
import { javascript } from '@codemirror/lang-javascript';
import { python } from '@codemirror/lang-python';
import { json } from '@codemirror/lang-json';
import { html } from '@codemirror/lang-html';
import { css } from '@codemirror/lang-css';
import { markdown } from '@codemirror/lang-markdown';
import { java } from '@codemirror/lang-java';
import { cpp } from '@codemirror/lang-cpp';
import { rust } from '@codemirror/lang-rust';
import { php } from '@codemirror/lang-php';
import { go } from '@codemirror/lang-go';
const LANGUAGES = { javascript, python, json, html, css, markdown, java, cpp, rust, php, go };
window.createCodeMirror = function createCodeMirror(config) {
const { parent, doc, language, theme, onChange } = config;
const languageExtension = LANGUAGES[language] ? LANGUAGES[language]() : [];
const view = new EditorView({
parent,
state: EditorState.create({
doc,
extensions: [
basicSetup,
languageExtension,
EditorView.theme({
'&': { backgroundColor: theme.bg, color: theme.fg, height: '100%' },
'.cm-content': { fontFamily: 'ui-monospace, Menlo, Consolas, monospace' },
'.cm-gutters': { backgroundColor: theme.bg, color: theme.gutter, border: 'none' },
'.cm-activeLine': { backgroundColor: theme.activeLine },
'.cm-activeLineGutter': { backgroundColor: theme.activeLine },
'&.cm-focused': { outline: 'none' },
}),
EditorView.updateListener.of((update) => {
if (update.docChanged) onChange(update.state.doc.toString());
}),
],
}),
});
return {
openSearch: () => openSearchPanel(view),
focus: () => view.focus(),
};
};
+78 -94
View File
@@ -1,18 +1,12 @@
import { useMemo, useState } from 'react';
import { StyleSheet } from 'react-native';
import { useMemo, useRef } from 'react';
import { StyleSheet, View } from 'react-native';
import { useTranslation } from 'react-i18next';
import { WebView } from 'react-native-webview';
import { IconButton } from '@/components/ui/icon-button';
import { useTheme } from '@/theme/theme-provider';
/** Minimal keyword sets for the languages we highlight in the WebView editor. */
const KEYWORDS: Record<string, string[]> = {
javascript: ['const', 'let', 'var', 'function', 'return', 'if', 'else', 'for', 'while', 'import', 'from', 'export', 'class', 'new', 'await', 'async', 'try', 'catch', 'throw', 'typeof', 'interface', 'type', 'extends', 'implements', 'public', 'private', 'void', 'null', 'true', 'false'],
python: ['def', 'return', 'if', 'elif', 'else', 'for', 'while', 'import', 'from', 'class', 'try', 'except', 'raise', 'with', 'as', 'lambda', 'None', 'True', 'False', 'and', 'or', 'not', 'in', 'is', 'async', 'await'],
go: ['package', 'import', 'func', 'return', 'if', 'else', 'for', 'range', 'var', 'const', 'type', 'struct', 'interface', 'map', 'chan', 'go', 'defer', 'nil', 'true', 'false', 'switch', 'case'],
ruby: ['def', 'end', 'if', 'else', 'elsif', 'unless', 'while', 'do', 'class', 'module', 'require', 'return', 'nil', 'true', 'false', 'yield', 'begin', 'rescue'],
rust: ['fn', 'let', 'mut', 'pub', 'use', 'struct', 'enum', 'impl', 'trait', 'return', 'if', 'else', 'for', 'while', 'match', 'self', 'true', 'false', 'async', 'await'],
java: ['class', 'public', 'private', 'protected', 'static', 'void', 'return', 'if', 'else', 'for', 'while', 'new', 'import', 'package', 'interface', 'extends', 'implements', 'try', 'catch', 'throw', 'null', 'true', 'false'],
};
import { spacing } from '@/theme/tokens';
import { CODE_MIRROR_BUNDLE } from '@/components/git/codemirror-bundle';
const EXT_LANGUAGE: Record<string, string> = {
js: 'javascript',
@@ -21,25 +15,27 @@ const EXT_LANGUAGE: Record<string, string> = {
tsx: 'javascript',
mjs: 'javascript',
cjs: 'javascript',
json: 'json',
py: 'python',
go: 'go',
rb: 'ruby',
rb: 'python',
rs: 'rust',
java: 'java',
kt: 'java',
swift: 'java',
c: 'java',
h: 'java',
cpp: 'java',
hpp: 'java',
c: 'cpp',
h: 'cpp',
cpp: 'cpp',
hpp: 'cpp',
cs: 'java',
php: 'java',
json: 'javascript',
yml: 'python',
yaml: 'python',
toml: 'python',
sh: 'python',
bash: 'python',
php: 'php',
html: 'html',
htm: 'html',
css: 'css',
scss: 'css',
less: 'css',
md: 'markdown',
markdown: 'markdown',
};
export function languageForPath(path: string): string {
@@ -48,104 +44,83 @@ export function languageForPath(path: string): string {
}
export interface CodeEditorProps {
/** Initial content — the WebView owns the text while editing. */
/** Initial content — CodeMirror owns the text while editing. */
value: string;
onChangeText: (value: string) => void;
language?: string;
editable?: boolean;
}
function escapeHtml(value: string): string {
return value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
}
function buildHtml(value: string, language: string, editable: boolean, c: {
interface EditorTheme {
bg: string;
fg: string;
gutter: string;
keyword: string;
string: string;
comment: string;
number: string;
caret: string;
}): string {
const keywords = KEYWORDS[language] ?? [];
activeLine: string;
}
function buildHtml(value: string, language: string, theme: EditorTheme): string {
const doc = JSON.stringify(value);
const lang = JSON.stringify(language);
const themeJson = JSON.stringify(theme);
return `<!DOCTYPE html><html><head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html,body{margin:0;padding:0;height:100%;background:${c.bg};}
#wrap{display:flex;height:100%;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:18px;}
#gutter{padding:8px 8px 8px 10px;color:${c.gutter};text-align:right;user-select:none;white-space:pre;overflow:hidden;background:${c.bg};}
#editor{position:relative;flex:1;overflow:auto;}
#hl,#ta{margin:0;padding:8px 12px;font:inherit;line-height:18px;white-space:pre;tab-size:2;word-wrap:normal;}
#hl{position:absolute;top:0;left:0;pointer-events:none;}
#ta{position:relative;width:100%;height:100%;min-height:300px;border:0;outline:0;resize:none;background:transparent;color:${c.fg};caret-color:${c.caret};}
.kw{color:${c.keyword}} .str{color:${c.string}} .com{color:${c.comment}} .num{color:${c.number}}
</style></head><body>
<div id="wrap">
<div id="gutter"></div>
<div id="editor">
<pre id="hl"></pre>
<textarea id="ta" spellcheck="false" autocapitalize="off" autocomplete="off" autocorrect="off"${editable ? '' : ' readonly'}>${escapeHtml(value)}</textarea>
</div>
</div>
<style>html,body,#app{height:100%;margin:0;padding:0;background:${theme.bg};}
.cm-editor{height:100%}.cm-scroller{overflow:auto}</style>
</head><body>
<div id="app"></div>
<script>${CODE_MIRROR_BUNDLE}</script>
<script>
var ta=document.getElementById('ta'), hl=document.getElementById('hl'), gutter=document.getElementById('gutter');
var KEYWORDS=new Set(${JSON.stringify(keywords)});
function esc(s){return s.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');}
function highlight(line){
var out=esc(line);
out=out.replace(/(\\/\\/[^\\n]*|#[^\\n]*)/g,'<span class="com">$1</span>');
out=out.replace(/('([^'\\\\]|\\\\.)*'|"([^"\\\\]|\\\\.)*")/g,'<span class="str">$1</span>');
out=out.replace(/\\b(\\d+)\\b/g,'<span class="num">$1</span>');
out=out.replace(/\\b([A-Za-z_]\\w*)\\b/g,function(m,k){return KEYWORDS.has(k)?'<span class="kw">'+k+'</span>':m;});
return out;
}
function render(){
var lines=ta.value.split('\\n');
hl.innerHTML=lines.map(highlight).join('\\n');
gutter.textContent=lines.map(function(_,i){return i+1;}).join('\\n');
}
function emit(){ window.ReactNativeWebView.postMessage(JSON.stringify({type:'change',value:ta.value})); }
ta.addEventListener('input',function(){render();emit();});
ta.addEventListener('scroll',function(){gutter.scrollTop=ta.scrollTop;hl.scrollTop=ta.scrollTop;hl.scrollLeft=ta.scrollLeft;});
ta.addEventListener('keydown',function(e){
if(e.key==='Tab'){e.preventDefault();var s=ta.selectionStart,en=ta.selectionEnd;
ta.value=ta.value.slice(0,s)+' '+ta.value.slice(en);ta.selectionStart=ta.selectionEnd=s+2;render();emit();}
var app=document.getElementById('app');
window.__cm=window.createCodeMirror({
parent: app,
doc: ${doc},
language: ${lang},
theme: ${themeJson},
onChange: function(v){ window.ReactNativeWebView.postMessage(JSON.stringify({type:'change', value:v})); }
});
render();
</script></body></html>`;
window.__cmSearch=function(){ try { window.__cm.openSearch(); } catch (e) {} };
</script>
</body></html>`;
}
/**
* A self-contained WebView code editor with line numbers and lightweight syntax
* highlighting. It runs entirely from an inline HTML document (no remote code
* and no bundled editor assets), keeping the security surface minimal.
* CodeMirror 6 editor rendered in a WebView. The CodeMirror bundle is generated
* at build time (`npm run build:editor`) and inlined, so no remote code or
* runtime asset fetch happens. A toolbar exposes the search/replace panel.
*/
export function CodeEditor({ value, onChangeText, language = 'plain', editable = true }: CodeEditorProps) {
export function CodeEditor({ value, onChangeText, language = 'plain' }: CodeEditorProps) {
const { t } = useTranslation();
const { colors } = useTheme();
// The WebView owns the text while editing, so the HTML is built from the
// initial value only; callers remount the component (via `key`) to load a
// different file.
const [initialValue] = useState(value);
// The editor owns the content after mount; remount (via `key`) to load a file.
const html = useMemo(
() =>
buildHtml(initialValue, language, editable, {
buildHtml(value, language, {
bg: colors.codeBackground,
fg: colors.text,
gutter: colors.textTertiary,
keyword: colors.primary,
string: colors.success,
comment: colors.textTertiary,
number: colors.info,
caret: colors.primary,
activeLine: colors.surfaceSecondary,
}),
// eslint-disable-next-line react-hooks/exhaustive-deps
[language, editable, colors.codeBackground, colors.text],
[value, language, colors.codeBackground, colors.text],
);
const webRef = useRef<WebView | null>(null);
return (
<View style={styles.container}>
<View style={[styles.toolbar, { borderBottomColor: colors.border }]}>
<IconButton
name="search"
onPress={() => webRef.current?.injectJavaScript('window.__cmSearch && window.__cmSearch(); true;')}
accessibilityLabel={t('editor.search')}
/>
</View>
<WebView
ref={(instance) => {
webRef.current = instance;
}}
style={styles.webview}
originWhitelist={['*']}
source={{ html }}
@@ -156,16 +131,25 @@ export function CodeEditor({ value, onChangeText, language = 'plain', editable =
onChangeText(payload.value);
}
} catch {
// Ignore malformed messages from the WebView.
// Ignore malformed messages.
}
}}
keyboardDisplayRequiresUserAction={false}
hideKeyboardAccessoryView
setSupportMultipleWindows={false}
/>
</View>
);
}
const styles = StyleSheet.create({
container: { flex: 1, overflow: 'hidden' },
toolbar: {
flexDirection: 'row',
justifyContent: 'flex-end',
alignItems: 'center',
borderBottomWidth: StyleSheet.hairlineWidth,
paddingHorizontal: spacing.xs,
},
webview: { flex: 1, backgroundColor: 'transparent' },
});
+5
View File
@@ -0,0 +1,5 @@
/**
* AUTO-GENERATED by scripts/build-editor.mjs — do not edit by hand.
* Bundled CodeMirror 6 editor (see scripts/codemirror-entry.mjs).
*/
export const CODE_MIRROR_BUNDLE = "\"use strict\";(()=>{var Ys=[],IQ=[];(()=>{let O=\"lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5\".split(\",\").map(e=>e?parseInt(e,36):1);for(let e=0,t=0;e<O.length;e++)(e%2?IQ:Ys).push(t=t+O[e])})();function ym(O){if(O<768)return!1;for(let e=0,t=Ys.length;;){let i=e+t>>1;if(O<Ys[i])t=i;else if(O>=IQ[i])e=i+1;else return!0;if(e==t)return!1}}function EQ(O){return O>=127462&&O<=127487}var AQ=8205;function MQ(O,e,t=!0,i=!0){return(t?DQ:km)(O,e,i)}function DQ(O,e,t){if(e==O.length)return e;e&&BQ(O.charCodeAt(e))&&NQ(O.charCodeAt(e-1))&&e--;let i=vs(O,e);for(e+=LQ(i);e<O.length;){let r=vs(O,e);if(i==AQ||r==AQ||t&&ym(r))e+=LQ(r),i=r;else if(EQ(r)){let n=0,s=e-2;for(;s>=0&&EQ(vs(O,s));)n++,s-=2;if(n%2==0)break;e+=2}else break}return e}function km(O,e,t){for(;e>1;){let i=DQ(O,e-2,t);if(i<e)return i;e--}return 0}function vs(O,e){let t=O.charCodeAt(e);if(!NQ(t)||e+1==O.length)return t;let i=O.charCodeAt(e+1);return BQ(i)?(t-55296<<10)+(i-56320)+65536:t}function BQ(O){return O>=56320&&O<57344}function NQ(O){return O>=55296&&O<56320}function LQ(O){return O<65536?1:2}var C=class O{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=LO(this,e,t);let r=[];return this.decompose(0,e,r,2),i.length&&i.decompose(0,i.length,r,3),this.decompose(t,this.length,r,1),CO.from(r,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=LO(this,e,t);let i=[];return this.decompose(e,t,i,0),CO.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),r=new fO(this),n=new fO(e);for(let s=t,a=t;;){if(r.next(s),n.next(s),s=0,r.lineBreak!=n.lineBreak||r.done!=n.done||r.value!=n.value)return!1;if(a+=r.value.length,r.done||a>=i)return!0}}iter(e=1){return new fO(this,e)}iterRange(e,t=this.length){return new Yr(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;i=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Rr(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError(\"A document must have at least one line\");return e.length==1&&!e[0]?O.empty:e.length<=32?new Ie(e):CO.from(Ie.split(e,[]))}},Ie=class O extends C{constructor(e,t=Zm(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,r){for(let n=0;;n++){let s=this.text[n],a=r+s.length;if((t?i:a)>=e)return new Us(r,a,i,s);r=a+1,i++}}decompose(e,t,i,r){let n=e<=0&&t>=this.length?this:new O(FQ(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(r&1){let s=i.pop(),a=vr(n.text,s.text.slice(),0,n.length);if(a.length<=32)i.push(new O(a,s.length+n.length));else{let o=a.length>>1;i.push(new O(a.slice(0,o)),new O(a.slice(o)))}}else i.push(n)}replace(e,t,i){if(!(i instanceof O))return super.replace(e,t,i);[e,t]=LO(this,e,t);let r=vr(this.text,vr(i.text,FQ(this.text,0,e)),t),n=this.length+i.length-(t-e);return r.length<=32?new O(r,n):CO.from(O.split(r,[]),n)}sliceString(e,t=this.length,i=`\n`){[e,t]=LO(this,e,t);let r=\"\";for(let n=0,s=0;n<=t&&s<this.text.length;s++){let a=this.text[s],o=n+a.length;n>e&&s&&(r+=i),e<o&&t>n&&(r+=a.slice(Math.max(0,e-n),t-n)),n=o+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}stLine truncated
+3
View File
@@ -520,6 +520,9 @@
"location": "Location",
"savedBody": "Your profile was updated."
},
"editor": {
"search": "Search / replace"
},
"packages": {
"title": "Packages",
"empty": "No packages",
+3
View File
@@ -520,6 +520,9 @@
"location": "Locatie",
"savedBody": "Je profiel is bijgewerkt."
},
"editor": {
"search": "Zoeken / vervangen"
},
"packages": {
"title": "Packages",
"empty": "Geen packages",