confused-Techie
e7607d2ee9
Add new package activation hook, and spec
2023-05-10 17:59:53 -07:00
Maurício Szabo
e576d334a7
Merge branch 'master' into remove-cache-of-incompatibilities
2023-04-18 16:00:36 -03:00
Maurício Szabo
00586c3b68
Another "cache" to define if things are compatible...
2023-04-18 14:57:56 -03:00
Maurício Szabo
e74a1de551
Removed nslog and patching of console.log
2023-04-17 23:07:00 -03:00
Maurício Szabo
806191315e
Remove "incompatible native module" cache
2023-04-17 22:58:50 -03:00
Maurício Szabo
4f84c26732
Revert "[skip ci] Create i18n API"
2023-04-06 16:44:38 -03:00
Meadowsys
7590a6b0fd
merge PR #446 : Create i18n API
2023-04-04 18:38:40 -07:00
Meadowsys
694486b216
preload "en", and preload for core too
2023-04-04 15:19:37 -07:00
Meadowsys
0e8e791431
Implement some suggestions
...
Co-authored-by: confused-Techie <dev@lhbasics.com>
2023-04-02 23:20:15 -07:00
Meadowsys
1d55f42324
oops
2023-04-02 22:46:04 -07:00
Meadowsys
d1b24d010d
fix codacy warning
2023-04-01 23:18:21 -07:00
Meadowsys
342a8399ef
do some cleanup
2023-04-01 21:25:26 -07:00
Meadowsys
037e48302d
provide (namespaced) t through package activate()
...
Provided as second argument, so, `activate(_, { t })`
2023-04-01 19:11:32 -07:00
Meadowsys
04b564add3
fix config schema
...
Move them all to the dynamic place, so that its consistently in one place, and remove the last 2 settings that aren't currently in use
2023-04-01 00:14:06 -07:00
Meadowsys
ec53f2d842
this can be moved out
2023-03-31 22:58:58 -07:00
Meadowsys
c7b5d7c84d
cache message formatters
2023-03-31 22:50:07 -07:00
Meadowsys
0030680971
no this is done lol
2023-03-31 16:52:27 -07:00
Meadowsys
5c117abc26
move this down here (because i think it makes more sense)
2023-03-31 16:47:46 -07:00
Meadowsys
af19634773
implement onDidDeactivatePackage
2023-03-31 16:47:07 -07:00
Meadowsys
126d8c1696
remove this todo
...
imagine a scenario, a cache just got loaded, it contains keys for strings that no longer exist, and the app still requests those strings, and then the cache would return it? this would be a bug that's hidden, since we would want to know that the string is missing. Currently we look for the real thing first, so this bug doesn't exist
2023-03-31 16:40:24 -07:00
Meadowsys
38f985945a
lol remove debug logging statement
2023-03-31 16:32:04 -07:00
Meadowsys
fff1bad09d
implement debounced save
2023-03-31 16:26:05 -07:00
Meadowsys
be7e0c036f
implement saving and loading caches
...
loading is done at startup if present, saving not yet implemented
2023-03-31 11:00:13 -07:00
Meadowsys
33748c3947
implement (inmemory) cache cleaning
2023-03-31 01:37:04 -07:00
Meadowsys
76d7964180
h
2023-03-31 01:12:45 -07:00
Meadowsys
67c128b9fc
implement cache (inmemory for now)
2023-03-31 01:11:23 -07:00
Meadowsys
71b428b824
extracted strings out of darwin menu
2023-03-29 17:29:19 -07:00
Meadowsys
5a60fc7637
localise menu item labels before checking item ID
2023-03-29 16:28:39 -07:00
Meadowsys
43b943ebd5
fix version replacer, use this.i18n.t later,
2023-03-29 15:33:08 -07:00
Meadowsys
737b7da597
added ability to localise menus
...
In addition to regular `label` key in a menu item, you can now have a `localisedLabel` key. This can either point to a key, or can point to an object, with properties `key` and `opts` for values to interpolate.
2023-03-29 03:34:40 -07:00
Meadowsys
0e8705f8ca
add a key fallback
2023-03-28 22:45:28 -07:00
Meadowsys
04bb71f8e4
this doesn't need to be an array
2023-03-27 15:10:50 -07:00
Meadowsys
06336e40ec
oops
2023-03-27 01:10:56 -07:00
Meadowsys
c9d51b980c
remove unncessary seperate core strings property
2023-03-27 01:08:18 -07:00
Meadowsys
1fa16d2b5b
remove unused code
...
remnants of before i discovered `PackageManager::getAvailablePackages`
2023-03-26 23:32:00 -07:00
Meadowsys
f1a2104a53
implement package strings fetching
2023-03-26 23:08:44 -07:00
Meadowsys
69722546c8
filter out non .json
files from the i18n dir
2023-03-26 20:07:03 -07:00
Meadowsys
a397b84b9c
few tiny changes
2023-03-26 20:05:41 -07:00
Meadowsys
e4a96c1857
autogenerate schema based on translation files available (in core dir)
2023-03-26 18:20:04 -07:00
Meadowsys
a50717775c
fix some silly bugs
2023-03-26 17:24:15 -07:00
Meadowsys
4334cd6701
minimal working implementation(???)
2023-03-26 17:00:02 -07:00
Maurício Szabo
bae9ed0886
Fixed another case of OnigRegExp API
2023-03-20 19:49:24 -03:00
Maurício Szabo
03057610f6
Removing ALL references of old first-mate
2023-03-20 16:51:42 -03:00
Maurício Szabo
e9b935b10e
Fixed weird bug with another bump
2023-03-20 16:25:42 -03:00
Maurício Szabo
ceec7ea914
Changes so that second-mate can work
2023-03-20 12:03:25 -03:00
confused-Techie
1fab1db8e4
Revert "Bumped color
and updated a function using it"
...
This reverts commit a2c57e6b6f
.
2023-02-05 13:11:43 -08:00
confused-Techie
83519f7609
Revert "Update src/color.js"
...
This reverts commit d098025611
.
2023-02-05 13:11:27 -08:00
confused_techie
d098025611
Update src/color.js
2023-02-01 21:31:31 -08:00
confused-Techie
ffc33af14e
Revert incorrect coffee-script
change
2023-01-29 22:49:07 -08:00
confused-Techie
a2c57e6b6f
Bumped color
and updated a function using it
2023-01-29 20:04:32 -08:00