)]}'
{
  "commit": "64569e6c9a4926d48a43c2117f9bc82fd23fabf4",
  "tree": "67f746fa9fa9e307612b09c78ae6150dee34fd41",
  "parents": [
    "864b4d7cdaaf71189e8f76809e4f47ce6adb0972"
  ],
  "author": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Thu May 30 12:42:33 2024 +0200"
  },
  "committer": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Thu May 30 12:43:04 2024 +0200"
  },
  "message": "Implement localization framework\n\nA comprehensive localization framework is introduced to the project,\ntransitioning from the use of hardcoded language constants in the\nSettings class to a dynamic, locale-specific ResourceBundle approach.\nThe changes include:\n\n- Creation of the Localizer class that is now injected through Guice to\nprovide dynamic language support based on user locale. This approach\nleverages the ResourceBundle mechanism for localization.\n- Addition of ResourceBundle property files for English (default),\norganized by specific namespaces to facilitate easy expansion and\nmaintenance.\n- Refactoring throughout the application to replace direct usage of\nlanguage-specific constants from the Settings class with calls to the\nLocalizer class. This shift enhances maintainability and flexibility in\nlanguage support.\n\nChange-Id: Ibe343fe6d2fee8cd799ab2196df22c6940335cc2\nSigned-off-by: Patrizio \u003cpatrizio.gelosi@amarulasolutions.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "68e02d4e1d08d96c8fbe979d5311a641806922d8",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/PatchSetReviewer.java",
      "new_id": "1a73e46062ab155ec8a0befdb40b9eb2aef599f3",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/PatchSetReviewer.java"
    },
    {
      "type": "modify",
      "old_id": "2b8a5ae9c9a3664faa9a0dc8d1f7fd11f3318315",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/config/Configuration.java",
      "new_id": "f4dbd60990287695edc15384ac9cd4be83b4ec55",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/config/Configuration.java"
    },
    {
      "type": "modify",
      "old_id": "8ae9ac83afc6cc2ff9bfc9c77153cd342949308f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/data/ChangeSetDataHandler.java",
      "new_id": "878202f6574876ed53c5767f53186b8f407c9fcd",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/data/ChangeSetDataHandler.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dcf068bd4b3d26f6ca304df7fdb1d494e9665ad9",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/localization/Localizer.java"
    },
    {
      "type": "modify",
      "old_id": "e67a3d8dd73b8fcea9aec615a98c8905e8188401",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/api/gerrit/GerritClientComments.java",
      "new_id": "f9cc867c4c17ca1ba9b0ef4b9be17558cb9fa8ce",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/api/gerrit/GerritClientComments.java"
    },
    {
      "type": "modify",
      "old_id": "9278064e63706179f7a1df0f017915f25703f110",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/api/gerrit/GerritClientReview.java",
      "new_id": "c9f94702028c5ad320993e5d2a93663ae44057db",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/api/gerrit/GerritClientReview.java"
    },
    {
      "type": "modify",
      "old_id": "e77decde0c2c7d8833d43df26eca52f452881cc0",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/commands/ClientCommands.java",
      "new_id": "adf1f0417b227d5d29b4035eae81c2ffd8c5909a",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/commands/ClientCommands.java"
    },
    {
      "type": "modify",
      "old_id": "749564f86026124b19eff7a1d01a815249b18870",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/messages/ClientMessage.java",
      "new_id": "637078269887e0b5f8a0b2ee4d37d49abb3d96d2",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/messages/ClientMessage.java"
    },
    {
      "type": "modify",
      "old_id": "36253c2e8beccaec8e599e2044230b442e87d2dc",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptComment.java",
      "new_id": "7b9460a44138f91f1064d0990c97e9b538d96067",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptComment.java"
    },
    {
      "type": "modify",
      "old_id": "f0624d55599bd65b209a419fd1f630e2c42acea3",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptHistory.java",
      "new_id": "1eb2771ba346629625263e292844dc2f95aff38f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptHistory.java"
    },
    {
      "type": "modify",
      "old_id": "8b7a78873ccb14477076b8d450b1cdaee1c900c4",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPrompt.java",
      "new_id": "0aa539a48c6f1236f50963c06d1f64b1b1748e03",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPrompt.java"
    },
    {
      "type": "modify",
      "old_id": "bd3b8e25b510089e6ecc3fedd73dcc89535c3c90",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptBase.java",
      "new_id": "1a2c8d53565ed5b35fa9ac31abaab2622a0a94ad",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptBase.java"
    },
    {
      "type": "modify",
      "old_id": "0c23bbd9b745005ec14d33461aa757e845aa211f",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptRequests.java",
      "new_id": "9316bc557ac2d59e9bdf8160b5d919eb1199e3bd",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptRequests.java"
    },
    {
      "type": "modify",
      "old_id": "c65b4a90ac075ba0e3963a13b4b5fd55a8ea7251",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptReview.java",
      "new_id": "006fac9fb36a95e8487b16c8e51059243955dee8",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/common/client/prompt/ChatGptUserPromptReview.java"
    },
    {
      "type": "modify",
      "old_id": "3705e0196ddea78bd1790145c47ea622d17dd52e",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/settings/Settings.java",
      "new_id": "9e74d1018622c324d8faa144bada3830f5a53de4",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/settings/Settings.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "512f858d22fbded0d8940821c2deb3c5050293da",
      "new_mode": 33188,
      "new_path": "src/main/resources/localization/localTexts.properties"
    },
    {
      "type": "modify",
      "old_id": "fb1859fe79ffe48a993a4e3ea45753d6e9eea919",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewTestBase.java",
      "new_id": "fd316e03b1b0bb7c50eb31d0f7b8131c757c09d0",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewTestBase.java"
    },
    {
      "type": "modify",
      "old_id": "e814f644a959643c1394b4083006acdc1c507b45",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/integration/CodeReviewPluginIT.java",
      "new_id": "2f4c4521c9c4c9a261daa460e7a0c8f861ce3805",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/integration/CodeReviewPluginIT.java"
    }
  ]
}
