en.ts 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. export const en = {
  2. meta: {
  3. siteName: "Kanglin Deng - Software Engineer",
  4. description:
  5. "Personal website of Kanglin Deng, a software engineer. Projects, writing, and experiments.",
  6. skip: "Skip to content",
  7. },
  8. common: {
  9. period: ".",
  10. open: "Open ↗",
  11. openLink: (label: string) => `Open ${label} ↗`,
  12. sample: "Illustration with sample data",
  13. email: "Email",
  14. location: "Qingdao, China",
  15. },
  16. nav: {
  17. tabs: { all: "All", about: "About", work: "Work", blog: "Blog" },
  18. sections: "Sections",
  19. search: "Search",
  20. theme: "Toggle dark mode",
  21. lights: "Lights",
  22. // The language button names the language it switches to, in that language.
  23. switchShort: "中",
  24. switchLabel: "阅读中文版",
  25. switchCursor: "中文",
  26. },
  27. palette: {
  28. dialog: "Command palette",
  29. input: "Search commands",
  30. placeholder: "Jump to a project, copy my email, meet Yilu…",
  31. empty: (query: string) => `Nothing matches “${query}”.`,
  32. help: "↑↓ to move · ↵ to open",
  33. groups: {
  34. navigate: "Navigate",
  35. projects: "Projects",
  36. connect: "Connect",
  37. settings: "Settings",
  38. fun: "Fun",
  39. },
  40. noProjects: "No projects yet",
  41. everything: "Everything",
  42. allCards: "All cards",
  43. about: "About me",
  44. work: "Work and projects",
  45. blog: "Read the blog",
  46. copyEmail: "Copy email address",
  47. emailCopied: "Email copied",
  48. copyQq: "Copy QQ number",
  49. qqCopied: "QQ number copied",
  50. lightsOn: "Turn the lights on",
  51. lightsOff: "Turn the lights off",
  52. language: "阅读中文版",
  53. languageHint: "中文",
  54. bert: "Meet Yilu",
  55. bertHint: "the cat",
  56. mini: "Spin up the Mini in 3D",
  57. top: "Back to the top",
  58. },
  59. footer: { explore: "to explore" },
  60. cards: {
  61. hero: "About Kanglin",
  62. sky: "Qingdao sky and theme switch",
  63. globe: "My Footprints",
  64. photos: "Photos",
  65. tech: "Toolbox",
  66. mini: "Mini Cooper",
  67. emoji: "Text to emoji",
  68. writing: "Latest writing",
  69. },
  70. hero: {
  71. lead: "Hey, I'm ",
  72. name: "Kanglin Deng",
  73. bio: "An SDE II at AWS building agentic systems and generative UI. UCLA & Purdue alum. Passionate about crafting AI experiences that make life easier. Outside work, I'm hiking with my cat Yilu and planning to summit Mount Rainier in 2027!",
  74. socials: "Social links",
  75. blog: "Read my blog",
  76. blogCursor: "Writing",
  77. pull: "Pull the period",
  78. },
  79. avatar: {
  80. showEric: "Show Kanglin again",
  81. meetYilu: "Flip to meet Yilu, my cat",
  82. backCursor: "Back to Kanglin",
  83. meetCursor: "Meet Yilu",
  84. eric: "Kanglin Deng",
  85. bert: "Yilu, Kanglin's cat",
  86. },
  87. projects: {
  88. finops: {
  89. kicker: "Shipped at AWS · Public preview",
  90. blurb:
  91. "Always-on cost expertise for every engineer: investigates anomalies, answers cost questions, and files the fix.",
  92. },
  93. artifacts: {
  94. kicker: "Shipped at AWS · Generative UI",
  95. blurb:
  96. "Amazon Q answers with live tables, charts, and dashboards you can sort, filter, and page through.",
  97. },
  98. packbook: {
  99. kicker: "Side project · iOS",
  100. blurb: "Snap your gear, pack it for any trip, and share it as a page.",
  101. },
  102. secondself: {
  103. kicker: "Side project",
  104. blurb: "A social network run by AI agents.",
  105. },
  106. webagent: {
  107. kicker: "Project · SimpleGen",
  108. blurb: "An AI agent that researches and drafts influencer outreach.",
  109. },
  110. chatbot: {
  111. kicker: "Project · SimpleGen",
  112. blurb: "A collection of persona chatbots.",
  113. },
  114. paper: {
  115. kicker: "Research · AAAI 2024",
  116. blurb:
  117. "Cumulative Difference Learning VAE for time series with temporally correlated inflow and outflow.",
  118. },
  119. },
  120. finops: {
  121. eyebrow: "AWS · Public preview",
  122. cta: "See it on AWS",
  123. ctaLabel: "See it on AWS: FinOps Agent",
  124. pitch:
  125. "Always-on cost expertise for every engineer, right where they work.",
  126. replay: "Replay",
  127. chart: "Daily cost over 30 days with a spike on day 23",
  128. notes: [
  129. {
  130. title: "Anomaly detected",
  131. body: "EC2 spend is up 38% today in us-east-1.",
  132. },
  133. {
  134. title: "Root cause found",
  135. body: "CI fleet stuck at max: 24 new g5.2xlarge.",
  136. },
  137. {
  138. title: "Ticket filed",
  139. body: "COST-142 opened and posted to #team-cost.",
  140. },
  141. ],
  142. now: "now",
  143. ago: (minutes: number) => `${minutes}m ago`,
  144. },
  145. artifacts: {
  146. pitch:
  147. "Answers that arrive as live charts and tables you can sort and explore.",
  148. docs: "Docs",
  149. docsLabel: "Docs for Amazon Q chat artifacts",
  150. readDocs: "Read the docs",
  151. readDocsLabel: "Read the docs for Amazon Q chat artifacts",
  152. ask: "Ask Q",
  153. tabs: {
  154. chart: { label: "Chart", prompt: "Chart my costs by region last month" },
  155. table: { label: "Table", prompt: "List my running EC2 instances" },
  156. forecast: { label: "Forecast", prompt: "Forecast my spend for 6 months" },
  157. },
  158. costByRegion: "Cost by region",
  159. instance: "Instance",
  160. type: "Type",
  161. monthly: "Monthly spend",
  162. byMarch: "+29% by March",
  163. forecast: "Spend forecast",
  164. },
  165. sky: {
  166. city: "Qingdao",
  167. // Keyed by the names the sky model computes.
  168. labels: {
  169. "New moon": "New moon",
  170. "Waxing crescent": "Waxing crescent",
  171. "First quarter": "First quarter",
  172. "Waxing gibbous": "Waxing gibbous",
  173. "Full moon": "Full moon",
  174. "Waning gibbous": "Waning gibbous",
  175. "Last quarter": "Last quarter",
  176. "Waning crescent": "Waning crescent",
  177. "First light": "First light",
  178. Sunrise: "Sunrise",
  179. Sunset: "Sunset",
  180. "Blue hour": "Blue hour",
  181. "Golden hour": "Golden hour",
  182. Daylight: "Daylight",
  183. } as Record<string, string>,
  184. sunrise: "Sunrise",
  185. sunset: "Sunset",
  186. /** 12-hour clock with AM/PM (English) or 24-hour (Chinese). */
  187. hour12: true,
  188. },
  189. globe: {
  190. title: "My Footprints",
  191. aria: "A dotted globe centred on Qingdao",
  192. cursor: "Spin the globe",
  193. },
  194. packbook: {
  195. eyebrow: "Side project · iOS",
  196. pitch: "Snap your gear. Pack it. Share it.",
  197. next: "Next PackBook screen",
  198. nextCursor: "Next screen",
  199. show: (label: string) => `Show ${label}`,
  200. screens: [
  201. { label: "Snap", alt: "PackBook gear wall with die-cut gear photos" },
  202. { label: "Identify", alt: "PackBook identifying a Petzl GRIGRI" },
  203. {
  204. label: "Pack",
  205. alt: "PackBook packing list with base weight by category",
  206. },
  207. { label: "Share", alt: "PackBook share card for a trip" },
  208. { label: "Shop", alt: "PackBook gear detail with where-to-buy prices" },
  209. ],
  210. },
  211. photos: {
  212. title: "Field notes",
  213. fling: "Fling or tap",
  214. alt: "A photo from Kanglin's camera roll",
  215. next: "Next photo",
  216. previous: "Previous photo",
  217. count: (current: number, total: number) => `${current} of ${total}`,
  218. },
  219. tech: { title: "Toolbox", drag: "Drag to spin" },
  220. mini: {
  221. title: "My Mini",
  222. aria: "Tap for 3D Mini Cooper model",
  223. cursor: "Start the engine",
  224. alt: "Black Mini Cooper",
  225. tap: "Tap for 3D",
  226. },
  227. emoji: {
  228. title: "Text to emoji",
  229. aria: "Describe a mood",
  230. placeholder: "Summit day!",
  231. retry: "Try again?",
  232. cursor: "Generate",
  233. go: "Go",
  234. wave: "Waving hand",
  235. },
  236. writing: {
  237. title: "Writing",
  238. all: "All posts",
  239. read: "Read",
  240. readBlog: "Read the blog →",
  241. },
  242. blog: {
  243. title: "Blog",
  244. description:
  245. "Read blog posts by Kanglin on software engineering, AI, agentic systems, full stack development, and more.",
  246. eyebrow: (count: number) =>
  247. `Blog · ${count} ${count === 1 ? "post" : "posts"}`,
  248. heading: "Writing",
  249. intro:
  250. "Notes on AI agents, software engineering, and hiking with my cat Yilu.",
  251. read: "Read",
  252. back: "← All posts",
  253. backCursor: "All posts",
  254. fallbackTitle: "Blog Post",
  255. byline: (title: string, author: string) => `${title} - by ${author}`,
  256. /** Shown on a post that has no version in this language yet. */
  257. untranslated: "",
  258. loading: "Loading",
  259. },
  260. error: {
  261. eyebrow: "Something went wrong",
  262. title: "We hit a crevasse.",
  263. retry: "Try again",
  264. },
  265. notFound: {
  266. eyebrow: "Error 404",
  267. title: "Lost",
  268. body: "This trail doesn't exist. Even Yilu couldn't sniff it out.",
  269. home: "Back to basecamp",
  270. },
  271. };
  272. export type Messages = typeof en;